aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2012-12-02 13:20:44 +0000
committerDimitry Andric <dim@FreeBSD.org>2012-12-02 13:20:44 +0000
commit13cc256e404620c1de0cbcc4e43ce1e2dbbc4898 (patch)
tree2732d02d7d51218d6eed98ac7fcfc5b8794896b5
parent657bc3d9848e3be92029b2416031340988cd0111 (diff)
downloadsrc-13cc256e404620c1de0cbcc4e43ce1e2dbbc4898.tar.gz
src-13cc256e404620c1de0cbcc4e43ce1e2dbbc4898.zip
Vendor import of clang release_32 branch r168974 (effectively, 3.2 RC2):vendor/clang/clang-release_32-r168974
Notes
Notes: svn path=/vendor/clang/dist/; revision=243791 svn path=/vendor/clang/clang-release_32-r168974/; revision=243792; tag=vendor/clang/clang-release_32-r168974
-rw-r--r--.gitignore1
-rw-r--r--CMakeLists.txt30
-rw-r--r--Makefile4
-rw-r--r--NOTES.txt2
-rw-r--r--bindings/python/clang/cindex.py1330
-rw-r--r--bindings/python/tests/cindex/test_code_completion.py75
-rw-r--r--bindings/python/tests/cindex/test_cursor.py9
-rw-r--r--bindings/xml/comment-xml-schema.rng94
-rw-r--r--docs/AddressSanitizer.html49
-rw-r--r--docs/AutomaticReferenceCounting.html43
-rw-r--r--docs/BlockLanguageSpec.txt24
-rw-r--r--docs/ClangTools.html18
-rw-r--r--docs/HowToSetupToolingForLLVM.html34
-rw-r--r--docs/InternalsManual.html4
-rw-r--r--docs/LanguageExtensions.html8
-rw-r--r--docs/LibASTMatchers.html130
-rw-r--r--docs/LibASTMatchersReference.html1938
-rw-r--r--docs/LibTooling.html125
-rw-r--r--docs/ObjectiveCLiterals.html2
-rw-r--r--docs/PCHInternals.html320
-rw-r--r--docs/ReleaseNotes.html10
-rw-r--r--docs/ThreadSanitizer.html15
-rw-r--r--docs/UsersManual.html82
-rw-r--r--docs/analyzer/IPA.txt363
-rw-r--r--docs/analyzer/debug-checks.txt89
-rw-r--r--docs/tools/clang.pod2
-rw-r--r--docs/tools/dump_ast_matchers.py264
-rw-r--r--examples/analyzer-plugin/MainCallChecker.cpp2
-rw-r--r--examples/clang-interpreter/CMakeLists.txt3
-rw-r--r--examples/clang-interpreter/Makefile2
-rw-r--r--examples/clang-interpreter/main.cpp7
-rw-r--r--include/clang-c/Index.h170
-rw-r--r--include/clang/ARCMigrate/ARCMT.h5
-rw-r--r--include/clang/AST/ASTConsumer.h15
-rw-r--r--include/clang/AST/ASTContext.h616
-rw-r--r--include/clang/AST/ASTMutationListener.h2
-rw-r--r--include/clang/AST/Attr.h5
-rw-r--r--include/clang/AST/BuiltinTypes.def2
-rw-r--r--include/clang/AST/CMakeLists.txt12
-rw-r--r--include/clang/AST/CXXInheritance.h17
-rw-r--r--include/clang/AST/CanonicalType.h1
-rw-r--r--include/clang/AST/CharUnits.h4
-rw-r--r--include/clang/AST/Comment.h189
-rw-r--r--include/clang/AST/CommentBriefParser.h3
-rw-r--r--include/clang/AST/CommentCommandTraits.h186
-rw-r--r--include/clang/AST/CommentCommands.td156
-rw-r--r--include/clang/AST/CommentHTMLTags.td54
-rw-r--r--include/clang/AST/CommentLexer.h116
-rw-r--r--include/clang/AST/CommentParser.h4
-rw-r--r--include/clang/AST/CommentSema.h48
-rw-r--r--include/clang/AST/Decl.h52
-rw-r--r--include/clang/AST/DeclBase.h27
-rw-r--r--include/clang/AST/DeclCXX.h46
-rw-r--r--include/clang/AST/DeclFriend.h12
-rw-r--r--include/clang/AST/DeclObjC.h106
-rw-r--r--include/clang/AST/DeclTemplate.h130
-rw-r--r--include/clang/AST/DeclarationName.h4
-rw-r--r--include/clang/AST/Expr.h249
-rw-r--r--include/clang/AST/ExprCXX.h214
-rw-r--r--include/clang/AST/ExprObjC.h33
-rw-r--r--include/clang/AST/ExternalASTSource.h2
-rw-r--r--include/clang/AST/Makefile19
-rw-r--r--include/clang/AST/NSAPI.h6
-rw-r--r--include/clang/AST/NestedNameSpecifier.h3
-rw-r--r--include/clang/AST/OperationKinds.h6
-rw-r--r--include/clang/AST/PrettyPrinter.h12
-rw-r--r--include/clang/AST/RawCommentList.h6
-rw-r--r--include/clang/AST/RecordLayout.h4
-rw-r--r--include/clang/AST/RecursiveASTVisitor.h13
-rw-r--r--include/clang/AST/SelectorLocationsKind.h4
-rw-r--r--include/clang/AST/Stmt.h377
-rw-r--r--include/clang/AST/StmtCXX.h5
-rw-r--r--include/clang/AST/StmtObjC.h7
-rw-r--r--include/clang/AST/TemplateBase.h92
-rw-r--r--include/clang/AST/Type.h163
-rw-r--r--include/clang/AST/TypeLoc.h42
-rw-r--r--include/clang/AST/UnresolvedSet.h2
-rw-r--r--include/clang/AST/VTableBuilder.h5
-rw-r--r--include/clang/ASTMatchers/ASTMatchFinder.h29
-rw-r--r--include/clang/ASTMatchers/ASTMatchers.h1445
-rw-r--r--include/clang/ASTMatchers/ASTMatchersInternal.h621
-rw-r--r--include/clang/ASTMatchers/ASTMatchersMacros.h65
-rw-r--r--include/clang/ASTMatchers/ASTTypeTraits.h209
-rw-r--r--include/clang/Analysis/Analyses/FormatString.h24
-rw-r--r--include/clang/Analysis/Analyses/ThreadSafety.h3
-rw-r--r--include/clang/Analysis/AnalysisContext.h35
-rw-r--r--include/clang/Analysis/CFG.h6
-rw-r--r--include/clang/Analysis/DomainSpecific/ObjCNoReturn.h46
-rw-r--r--include/clang/Analysis/ProgramPoint.h7
-rw-r--r--include/clang/Basic/Attr.td16
-rw-r--r--include/clang/Basic/Builtins.def65
-rw-r--r--include/clang/Basic/BuiltinsMips.def63
-rw-r--r--include/clang/Basic/BuiltinsNVPTX.def246
-rw-r--r--include/clang/Basic/BuiltinsX86.def9
-rw-r--r--include/clang/Basic/ConvertUTF.h12
-rw-r--r--include/clang/Basic/Diagnostic.h27
-rw-r--r--include/clang/Basic/DiagnosticASTKinds.td2
-rw-r--r--include/clang/Basic/DiagnosticCommentKinds.td16
-rw-r--r--include/clang/Basic/DiagnosticCommonKinds.td5
-rw-r--r--include/clang/Basic/DiagnosticDriverKinds.td24
-rw-r--r--include/clang/Basic/DiagnosticFrontendKinds.td7
-rw-r--r--include/clang/Basic/DiagnosticGroups.td83
-rw-r--r--include/clang/Basic/DiagnosticLexKinds.td35
-rw-r--r--include/clang/Basic/DiagnosticOptions.def93
-rw-r--r--include/clang/Basic/DiagnosticOptions.h85
-rw-r--r--include/clang/Basic/DiagnosticParseKinds.td50
-rw-r--r--include/clang/Basic/DiagnosticSemaKinds.td361
-rw-r--r--include/clang/Basic/DiagnosticSerializationKinds.td43
-rw-r--r--include/clang/Basic/FileManager.h4
-rw-r--r--include/clang/Basic/IdentifierTable.h33
-rw-r--r--include/clang/Basic/LangOptions.def22
-rw-r--r--include/clang/Basic/Module.h30
-rw-r--r--include/clang/Basic/ObjCRuntime.h45
-rw-r--r--include/clang/Basic/OnDiskHashTable.h5
-rw-r--r--include/clang/Basic/Sanitizers.def69
-rw-r--r--include/clang/Basic/SourceLocation.h2
-rw-r--r--include/clang/Basic/SourceManager.h21
-rw-r--r--include/clang/Basic/Specifiers.h15
-rw-r--r--include/clang/Basic/StmtNodes.td10
-rw-r--r--include/clang/Basic/TargetInfo.h59
-rw-r--r--include/clang/Basic/TargetOptions.h6
-rw-r--r--include/clang/Basic/TokenKinds.def41
-rw-r--r--include/clang/Basic/TokenKinds.h25
-rw-r--r--include/clang/Basic/TypeTraits.h1
-rw-r--r--include/clang/Basic/arm_neon.td8
-rw-r--r--include/clang/CodeGen/CodeGenAction.h2
-rw-r--r--include/clang/Driver/Action.h15
-rw-r--r--include/clang/Driver/Arg.h26
-rw-r--r--include/clang/Driver/ArgList.h72
-rw-r--r--include/clang/Driver/CC1AsOptions.h4
-rw-r--r--include/clang/Driver/CC1AsOptions.td43
-rw-r--r--include/clang/Driver/CC1Options.td419
-rw-r--r--include/clang/Driver/Compilation.h11
-rw-r--r--include/clang/Driver/Driver.h43
-rw-r--r--include/clang/Driver/Job.h4
-rw-r--r--include/clang/Driver/OptParser.td31
-rw-r--r--include/clang/Driver/OptTable.h61
-rw-r--r--include/clang/Driver/Option.h324
-rw-r--r--include/clang/Driver/Options.h4
-rw-r--r--include/clang/Driver/Options.td1645
-rw-r--r--include/clang/Driver/Tool.h4
-rw-r--r--include/clang/Driver/ToolChain.h40
-rw-r--r--include/clang/Driver/Types.h4
-rw-r--r--include/clang/Frontend/ASTUnit.h86
-rw-r--r--include/clang/Frontend/AnalyzerOptions.h135
-rw-r--r--include/clang/Frontend/CodeGenOptions.def132
-rw-r--r--include/clang/Frontend/CodeGenOptions.h182
-rw-r--r--include/clang/Frontend/CompilerInstance.h44
-rw-r--r--include/clang/Frontend/CompilerInvocation.h79
-rw-r--r--include/clang/Frontend/DiagnosticOptions.h111
-rw-r--r--include/clang/Frontend/DiagnosticRenderer.h8
-rw-r--r--include/clang/Frontend/FrontendAction.h16
-rw-r--r--include/clang/Frontend/FrontendOptions.h34
-rw-r--r--include/clang/Frontend/LangStandard.h18
-rw-r--r--include/clang/Frontend/LangStandards.def58
-rw-r--r--include/clang/Frontend/LogDiagnosticPrinter.h4
-rw-r--r--include/clang/Frontend/MultiplexConsumer.h1
-rw-r--r--include/clang/Frontend/SerializedDiagnosticPrinter.h2
-rw-r--r--include/clang/Frontend/TextDiagnostic.h2
-rw-r--r--include/clang/Frontend/TextDiagnosticPrinter.h5
-rw-r--r--include/clang/Frontend/VerifyDiagnosticConsumer.h86
-rw-r--r--include/clang/Lex/ExternalPreprocessorSource.h3
-rw-r--r--include/clang/Lex/HeaderMap.h5
-rw-r--r--include/clang/Lex/HeaderSearch.h25
-rw-r--r--include/clang/Lex/HeaderSearchOptions.h (renamed from include/clang/Frontend/HeaderSearchOptions.h)11
-rw-r--r--include/clang/Lex/Lexer.h91
-rw-r--r--include/clang/Lex/LiteralSupport.h10
-rw-r--r--include/clang/Lex/MacroInfo.h60
-rw-r--r--include/clang/Lex/ModuleMap.h74
-rw-r--r--include/clang/Lex/PPCallbacks.h53
-rw-r--r--include/clang/Lex/PPMutationListener.h43
-rw-r--r--include/clang/Lex/PTHLexer.h4
-rw-r--r--include/clang/Lex/PTHManager.h5
-rw-r--r--include/clang/Lex/PreprocessingRecord.h84
-rw-r--r--include/clang/Lex/Preprocessor.h128
-rw-r--r--include/clang/Lex/PreprocessorLexer.h4
-rw-r--r--include/clang/Lex/PreprocessorOptions.h (renamed from include/clang/Frontend/PreprocessorOptions.h)13
-rw-r--r--include/clang/Lex/Token.h18
-rw-r--r--include/clang/Lex/TokenLexer.h17
-rw-r--r--include/clang/Parse/Parser.h197
-rw-r--r--include/clang/Rewrite/Core/DeltaTree.h (renamed from include/clang/Rewrite/DeltaTree.h)4
-rw-r--r--include/clang/Rewrite/Core/HTMLRewrite.h (renamed from include/clang/Rewrite/HTMLRewrite.h)0
-rw-r--r--include/clang/Rewrite/Core/RewriteRope.h (renamed from include/clang/Rewrite/RewriteRope.h)26
-rw-r--r--include/clang/Rewrite/Core/Rewriter.h (renamed from include/clang/Rewrite/Rewriter.h)6
-rw-r--r--include/clang/Rewrite/Core/TokenRewriter.h (renamed from include/clang/Rewrite/TokenRewriter.h)4
-rw-r--r--include/clang/Rewrite/Frontend/ASTConsumers.h (renamed from include/clang/Rewrite/ASTConsumers.h)0
-rw-r--r--include/clang/Rewrite/Frontend/FixItRewriter.h (renamed from include/clang/Rewrite/FixItRewriter.h)2
-rw-r--r--include/clang/Rewrite/Frontend/FrontendActions.h (renamed from include/clang/Rewrite/FrontendActions.h)0
-rw-r--r--include/clang/Rewrite/Frontend/Rewriters.h (renamed from include/clang/Rewrite/Rewriters.h)0
-rw-r--r--include/clang/Sema/AttributeList.h8
-rw-r--r--include/clang/Sema/CodeCompleteConsumer.h20
-rw-r--r--include/clang/Sema/DeclSpec.h54
-rw-r--r--include/clang/Sema/DelayedDiagnostic.h11
-rw-r--r--include/clang/Sema/ExternalSemaSource.h1
-rw-r--r--include/clang/Sema/Initialization.h4
-rw-r--r--include/clang/Sema/LocInfoType.h1
-rw-r--r--include/clang/Sema/MultiplexExternalSemaSource.h367
-rw-r--r--include/clang/Sema/Overload.h12
-rw-r--r--include/clang/Sema/Ownership.h216
-rw-r--r--include/clang/Sema/ParsedTemplate.h5
-rw-r--r--include/clang/Sema/Scope.h8
-rw-r--r--include/clang/Sema/ScopeInfo.h226
-rw-r--r--include/clang/Sema/Sema.h249
-rw-r--r--include/clang/Sema/SemaConsumer.h1
-rw-r--r--include/clang/Sema/Template.h5
-rw-r--r--include/clang/Sema/TemplateDeduction.h18
-rw-r--r--include/clang/Sema/TypoCorrection.h12
-rw-r--r--include/clang/Serialization/ASTBitCodes.h234
-rw-r--r--include/clang/Serialization/ASTDeserializationListener.h6
-rw-r--r--include/clang/Serialization/ASTReader.h476
-rw-r--r--include/clang/Serialization/ASTWriter.h72
-rw-r--r--include/clang/Serialization/ContinuousRangeMap.h4
-rw-r--r--include/clang/Serialization/Module.h66
-rw-r--r--include/clang/Serialization/ModuleManager.h9
-rw-r--r--include/clang/StaticAnalyzer/Checkers/DereferenceChecker.h35
-rw-r--r--include/clang/StaticAnalyzer/Core/Analyses.def (renamed from include/clang/Frontend/Analyses.def)2
-rw-r--r--include/clang/StaticAnalyzer/Core/AnalyzerOptions.h308
-rw-r--r--include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h89
-rw-r--r--include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h58
-rw-r--r--include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h129
-rw-r--r--include/clang/StaticAnalyzer/Core/Checker.h17
-rw-r--r--include/clang/StaticAnalyzer/Core/CheckerManager.h12
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h4
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h80
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h5
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h167
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h130
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h111
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h70
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h52
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h11
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h74
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h76
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h43
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h95
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h31
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h57
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h5
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/Store.h45
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h6
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h52
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h2
-rw-r--r--include/clang/Tooling/CommandLineClangTool.h80
-rw-r--r--include/clang/Tooling/CommonOptionsParser.h89
-rw-r--r--include/clang/Tooling/CompilationDatabase.h95
-rw-r--r--include/clang/Tooling/CompilationDatabasePluginRegistry.h27
-rw-r--r--include/clang/Tooling/FileMatchTrie.h90
-rw-r--r--include/clang/Tooling/JSONCompilationDatabase.h107
-rw-r--r--include/clang/Tooling/Refactoring.h1
-rw-r--r--include/clang/Tooling/Tooling.h48
-rw-r--r--lib/ARCMigrate/ARCMT.cpp75
-rw-r--r--lib/ARCMigrate/CMakeLists.txt3
-rw-r--r--lib/ARCMigrate/FileRemapper.cpp2
-rw-r--r--lib/ARCMigrate/Internals.h2
-rw-r--r--lib/ARCMigrate/ObjCMT.cpp2
-rw-r--r--lib/ARCMigrate/Transforms.cpp4
-rw-r--r--lib/AST/ASTConsumer.cpp5
-rw-r--r--lib/AST/ASTContext.cpp325
-rw-r--r--lib/AST/ASTDiagnostic.cpp277
-rw-r--r--lib/AST/ASTImporter.cpp478
-rw-r--r--lib/AST/CMakeLists.txt3
-rw-r--r--lib/AST/CXXInheritance.cpp32
-rw-r--r--lib/AST/Comment.cpp93
-rw-r--r--lib/AST/CommentBriefParser.cpp51
-rw-r--r--lib/AST/CommentCommandTraits.cpp141
-rw-r--r--lib/AST/CommentDumper.cpp48
-rw-r--r--lib/AST/CommentLexer.cpp62
-rw-r--r--lib/AST/CommentParser.cpp72
-rw-r--r--lib/AST/CommentSema.cpp314
-rw-r--r--lib/AST/Decl.cpp88
-rw-r--r--lib/AST/DeclBase.cpp2
-rw-r--r--lib/AST/DeclCXX.cpp30
-rw-r--r--lib/AST/DeclObjC.cpp269
-rw-r--r--lib/AST/DeclPrinter.cpp18
-rw-r--r--lib/AST/DeclTemplate.cpp86
-rw-r--r--lib/AST/DumpXML.cpp23
-rw-r--r--lib/AST/Expr.cpp299
-rw-r--r--lib/AST/ExprCXX.cpp121
-rw-r--r--lib/AST/ExprClassification.cpp1
-rw-r--r--lib/AST/ExprConstant.cpp61
-rw-r--r--lib/AST/ItaniumMangle.cpp133
-rw-r--r--lib/AST/MicrosoftMangle.cpp242
-rw-r--r--lib/AST/NSAPI.cpp1
-rw-r--r--lib/AST/ParentMap.cpp69
-rw-r--r--lib/AST/RawCommentList.cpp69
-rw-r--r--lib/AST/RecordLayoutBuilder.cpp84
-rw-r--r--lib/AST/Stmt.cpp167
-rw-r--r--lib/AST/StmtDumper.cpp115
-rw-r--r--lib/AST/StmtPrinter.cpp68
-rw-r--r--lib/AST/StmtProfile.cpp16
-rw-r--r--lib/AST/TemplateBase.cpp63
-rw-r--r--lib/AST/Type.cpp55
-rw-r--r--lib/AST/TypeLoc.cpp55
-rw-r--r--lib/AST/TypePrinter.cpp14
-rw-r--r--lib/AST/VTableBuilder.cpp3
-rw-r--r--lib/ASTMatchers/ASTMatchFinder.cpp411
-rw-r--r--lib/ASTMatchers/ASTMatchersInternal.cpp66
-rw-r--r--lib/Analysis/AnalysisDeclContext.cpp41
-rw-r--r--lib/Analysis/BodyFarm.cpp374
-rw-r--r--lib/Analysis/BodyFarm.h43
-rw-r--r--lib/Analysis/CFG.cpp83
-rw-r--r--lib/Analysis/CMakeLists.txt4
-rw-r--r--lib/Analysis/FormatString.cpp57
-rw-r--r--lib/Analysis/ObjCNoReturn.cpp67
-rw-r--r--lib/Analysis/PrintfFormatString.cpp43
-rw-r--r--lib/Analysis/ReachableCode.cpp4
-rw-r--r--lib/Analysis/ScanfFormatString.cpp36
-rw-r--r--lib/Analysis/ThreadSafety.cpp340
-rw-r--r--lib/Analysis/UninitializedValues.cpp64
-rw-r--r--lib/Basic/ConvertUTF.c24
-rw-r--r--lib/Basic/ConvertUTFWrapper.cpp18
-rw-r--r--lib/Basic/Diagnostic.cpp25
-rw-r--r--lib/Basic/DiagnosticIDs.cpp5
-rw-r--r--lib/Basic/FileManager.cpp7
-rw-r--r--lib/Basic/IdentifierTable.cpp4
-rw-r--r--lib/Basic/Module.cpp11
-rw-r--r--lib/Basic/SourceLocation.cpp7
-rw-r--r--lib/Basic/SourceManager.cpp133
-rw-r--r--lib/Basic/TargetInfo.cpp8
-rw-r--r--lib/Basic/Targets.cpp406
-rw-r--r--lib/Basic/Version.cpp2
-rw-r--r--lib/CodeGen/ABIInfo.h38
-rw-r--r--lib/CodeGen/BackendUtil.cpp109
-rw-r--r--lib/CodeGen/CGBlocks.cpp138
-rw-r--r--lib/CodeGen/CGBlocks.h26
-rw-r--r--lib/CodeGen/CGBuiltin.cpp430
-rw-r--r--lib/CodeGen/CGCXXABI.cpp2
-rw-r--r--lib/CodeGen/CGCXXABI.h12
-rw-r--r--lib/CodeGen/CGCall.cpp223
-rw-r--r--lib/CodeGen/CGClass.cpp31
-rw-r--r--lib/CodeGen/CGDebugInfo.cpp257
-rw-r--r--lib/CodeGen/CGDebugInfo.h3
-rw-r--r--lib/CodeGen/CGDecl.cpp53
-rw-r--r--lib/CodeGen/CGDeclCXX.cpp77
-rw-r--r--lib/CodeGen/CGException.cpp17
-rw-r--r--lib/CodeGen/CGExpr.cpp568
-rw-r--r--lib/CodeGen/CGExprAgg.cpp32
-rw-r--r--lib/CodeGen/CGExprCXX.cpp71
-rw-r--r--lib/CodeGen/CGExprComplex.cpp5
-rw-r--r--lib/CodeGen/CGExprConstant.cpp41
-rw-r--r--lib/CodeGen/CGExprScalar.cpp482
-rw-r--r--lib/CodeGen/CGObjC.cpp86
-rw-r--r--lib/CodeGen/CGObjCGNU.cpp156
-rw-r--r--lib/CodeGen/CGObjCMac.cpp798
-rw-r--r--lib/CodeGen/CGObjCRuntime.cpp7
-rw-r--r--lib/CodeGen/CGObjCRuntime.h8
-rw-r--r--lib/CodeGen/CGRTTI.cpp17
-rw-r--r--lib/CodeGen/CGRecordLayout.h4
-rw-r--r--lib/CodeGen/CGRecordLayoutBuilder.cpp26
-rw-r--r--lib/CodeGen/CGStmt.cpp128
-rw-r--r--lib/CodeGen/CGVTables.cpp60
-rw-r--r--lib/CodeGen/CodeGenAction.cpp6
-rw-r--r--lib/CodeGen/CodeGenFunction.cpp66
-rw-r--r--lib/CodeGen/CodeGenFunction.h133
-rw-r--r--lib/CodeGen/CodeGenModule.cpp227
-rw-r--r--lib/CodeGen/CodeGenModule.h36
-rw-r--r--lib/CodeGen/CodeGenTBAA.cpp57
-rw-r--r--lib/CodeGen/CodeGenTBAA.h15
-rw-r--r--lib/CodeGen/CodeGenTypes.cpp4
-rw-r--r--lib/CodeGen/CodeGenTypes.h6
-rw-r--r--lib/CodeGen/ItaniumCXXABI.cpp58
-rw-r--r--lib/CodeGen/MicrosoftCXXABI.cpp65
-rw-r--r--lib/CodeGen/ModuleBuilder.cpp6
-rw-r--r--lib/CodeGen/TargetInfo.cpp752
-rw-r--r--lib/Driver/Arg.cpp34
-rw-r--r--lib/Driver/ArgList.cpp41
-rw-r--r--lib/Driver/CC1AsOptions.cpp14
-rw-r--r--lib/Driver/Compilation.cpp100
-rw-r--r--lib/Driver/Driver.cpp248
-rw-r--r--lib/Driver/DriverOptions.cpp14
-rw-r--r--lib/Driver/OptTable.cpp158
-rw-r--r--lib/Driver/Option.cpp333
-rw-r--r--lib/Driver/SanitizerArgs.h106
-rw-r--r--lib/Driver/ToolChain.cpp61
-rw-r--r--lib/Driver/ToolChains.cpp481
-rw-r--r--lib/Driver/ToolChains.h43
-rw-r--r--lib/Driver/Tools.cpp980
-rw-r--r--lib/Driver/Tools.h5
-rw-r--r--lib/Driver/Types.cpp14
-rw-r--r--lib/Driver/WindowsToolChain.cpp14
-rw-r--r--lib/Edit/RewriteObjCFoundationAPI.cpp1
-rw-r--r--lib/Frontend/ASTConsumers.cpp5
-rw-r--r--lib/Frontend/ASTMerge.cpp5
-rw-r--r--lib/Frontend/ASTUnit.cpp306
-rw-r--r--lib/Frontend/ChainedDiagnosticConsumer.cpp2
-rw-r--r--lib/Frontend/ChainedIncludesSource.cpp22
-rw-r--r--lib/Frontend/CompilerInstance.cpp139
-rw-r--r--lib/Frontend/CompilerInvocation.cpp1261
-rw-r--r--lib/Frontend/CreateInvocationFromCommandLine.cpp11
-rw-r--r--lib/Frontend/DependencyFile.cpp10
-rw-r--r--lib/Frontend/DependencyGraph.cpp10
-rw-r--r--lib/Frontend/DiagnosticRenderer.cpp94
-rw-r--r--lib/Frontend/FrontendAction.cpp76
-rw-r--r--lib/Frontend/FrontendActions.cpp133
-rw-r--r--lib/Frontend/InitHeaderSearch.cpp6
-rw-r--r--lib/Frontend/InitPreprocessor.cpp86
-rw-r--r--lib/Frontend/LogDiagnosticPrinter.cpp7
-rw-r--r--lib/Frontend/PrintPreprocessedOutput.cpp8
-rw-r--r--lib/Frontend/SerializedDiagnosticPrinter.cpp232
-rw-r--r--lib/Frontend/TextDiagnostic.cpp203
-rw-r--r--lib/Frontend/TextDiagnosticPrinter.cpp10
-rw-r--r--lib/Frontend/VerifyDiagnosticConsumer.cpp213
-rw-r--r--lib/Frontend/Warnings.cpp5
-rw-r--r--lib/FrontendTool/CMakeLists.txt3
-rw-r--r--lib/FrontendTool/ExecuteCompilerInvocation.cpp9
-rw-r--r--lib/Headers/CMakeLists.txt4
-rw-r--r--lib/Headers/__wmmintrin_aes.h67
-rw-r--r--lib/Headers/__wmmintrin_pclmul.h34
-rw-r--r--lib/Headers/altivec.h26
-rw-r--r--lib/Headers/bmi2intrin.h19
-rw-r--r--lib/Headers/cpuid.h2
-rw-r--r--lib/Headers/f16cintrin.h58
-rw-r--r--lib/Headers/immintrin.h4
-rw-r--r--lib/Headers/module.map37
-rw-r--r--lib/Headers/rtmintrin.h49
-rw-r--r--lib/Headers/unwind.h2
-rw-r--r--lib/Headers/wmmintrin.h41
-rw-r--r--lib/Headers/x86intrin.h4
-rw-r--r--lib/Headers/xmmintrin.h9
-rw-r--r--lib/Lex/HeaderMap.cpp2
-rw-r--r--lib/Lex/HeaderSearch.cpp47
-rw-r--r--lib/Lex/Lexer.cpp75
-rw-r--r--lib/Lex/LiteralSupport.cpp263
-rw-r--r--lib/Lex/MacroArgs.cpp2
-rw-r--r--lib/Lex/MacroInfo.cpp90
-rw-r--r--lib/Lex/ModuleMap.cpp524
-rw-r--r--lib/Lex/PPDirectives.cpp56
-rw-r--r--lib/Lex/PPExpressions.cpp20
-rw-r--r--lib/Lex/PPLexerChange.cpp6
-rw-r--r--lib/Lex/PPMacroExpansion.cpp333
-rw-r--r--lib/Lex/PTHLexer.cpp11
-rw-r--r--lib/Lex/Pragma.cpp22
-rw-r--r--lib/Lex/PreprocessingRecord.cpp56
-rw-r--r--lib/Lex/Preprocessor.cpp66
-rw-r--r--lib/Lex/TokenLexer.cpp88
-rw-r--r--lib/Parse/ParseAST.cpp1
-rw-r--r--lib/Parse/ParseCXXInlineMethods.cpp6
-rw-r--r--lib/Parse/ParseDecl.cpp224
-rw-r--r--lib/Parse/ParseDeclCXX.cpp190
-rw-r--r--lib/Parse/ParseExpr.cpp179
-rw-r--r--lib/Parse/ParseExprCXX.cpp203
-rw-r--r--lib/Parse/ParseInit.cpp11
-rw-r--r--lib/Parse/ParseObjc.cpp67
-rw-r--r--lib/Parse/ParsePragma.cpp248
-rw-r--r--lib/Parse/ParsePragma.h37
-rw-r--r--lib/Parse/ParseStmt.cpp297
-rw-r--r--lib/Parse/ParseTemplate.cpp10
-rw-r--r--lib/Parse/ParseTentative.cpp131
-rw-r--r--lib/Parse/Parser.cpp272
-rw-r--r--lib/Parse/RAIIObjectsForParser.h10
-rw-r--r--lib/Rewrite/CMakeLists.txt35
-rw-r--r--lib/Rewrite/Core/CMakeLists.txt24
-rw-r--r--lib/Rewrite/Core/DeltaTree.cpp (renamed from lib/Rewrite/DeltaTree.cpp)5
-rw-r--r--lib/Rewrite/Core/HTMLRewrite.cpp (renamed from lib/Rewrite/HTMLRewrite.cpp)5
-rw-r--r--lib/Rewrite/Core/Makefile18
-rw-r--r--lib/Rewrite/Core/RewriteRope.cpp (renamed from lib/Rewrite/RewriteRope.cpp)6
-rw-r--r--lib/Rewrite/Core/Rewriter.cpp (renamed from lib/Rewrite/Rewriter.cpp)2
-rw-r--r--lib/Rewrite/Core/TokenRewriter.cpp (renamed from lib/Rewrite/TokenRewriter.cpp)2
-rw-r--r--lib/Rewrite/Frontend/CMakeLists.txt28
-rw-r--r--lib/Rewrite/Frontend/FixItRewriter.cpp (renamed from lib/Rewrite/FixItRewriter.cpp)2
-rw-r--r--lib/Rewrite/Frontend/FrontendActions.cpp (renamed from lib/Rewrite/FrontendActions.cpp)8
-rw-r--r--lib/Rewrite/Frontend/HTMLPrint.cpp (renamed from lib/Rewrite/HTMLPrint.cpp)6
-rw-r--r--lib/Rewrite/Frontend/InclusionRewriter.cpp (renamed from lib/Rewrite/InclusionRewriter.cpp)12
-rw-r--r--lib/Rewrite/Frontend/Makefile18
-rw-r--r--lib/Rewrite/Frontend/RewriteMacros.cpp (renamed from lib/Rewrite/RewriteMacros.cpp)4
-rw-r--r--lib/Rewrite/Frontend/RewriteModernObjC.cpp (renamed from lib/Rewrite/RewriteModernObjC.cpp)156
-rw-r--r--lib/Rewrite/Frontend/RewriteObjC.cpp (renamed from lib/Rewrite/RewriteObjC.cpp)38
-rw-r--r--lib/Rewrite/Frontend/RewriteTest.cpp (renamed from lib/Rewrite/RewriteTest.cpp)4
-rw-r--r--lib/Rewrite/Makefile10
-rw-r--r--lib/Sema/AnalysisBasedWarnings.cpp290
-rw-r--r--lib/Sema/CMakeLists.txt3
-rw-r--r--lib/Sema/CodeCompleteConsumer.cpp7
-rw-r--r--lib/Sema/DeclSpec.cpp38
-rw-r--r--lib/Sema/DelayedDiagnostic.cpp2
-rw-r--r--lib/Sema/IdentifierResolver.cpp10
-rw-r--r--lib/Sema/JumpDiagnostics.cpp138
-rw-r--r--lib/Sema/MultiplexExternalSemaSource.cpp271
-rw-r--r--lib/Sema/ScopeInfo.cpp189
-rw-r--r--lib/Sema/Sema.cpp64
-rw-r--r--lib/Sema/SemaAccess.cpp17
-rw-r--r--lib/Sema/SemaAttr.cpp23
-rw-r--r--lib/Sema/SemaCXXScopeSpec.cpp3
-rw-r--r--lib/Sema/SemaCast.cpp68
-rw-r--r--lib/Sema/SemaChecking.cpp706
-rw-r--r--lib/Sema/SemaCodeComplete.cpp86
-rw-r--r--lib/Sema/SemaDecl.cpp840
-rw-r--r--lib/Sema/SemaDeclAttr.cpp135
-rw-r--r--lib/Sema/SemaDeclCXX.cpp687
-rw-r--r--lib/Sema/SemaDeclObjC.cpp145
-rw-r--r--lib/Sema/SemaExceptionSpec.cpp64
-rw-r--r--lib/Sema/SemaExpr.cpp475
-rw-r--r--lib/Sema/SemaExprCXX.cpp163
-rw-r--r--lib/Sema/SemaExprMember.cpp34
-rw-r--r--lib/Sema/SemaExprObjC.cpp124
-rw-r--r--lib/Sema/SemaInit.cpp120
-rw-r--r--lib/Sema/SemaLambda.cpp31
-rw-r--r--lib/Sema/SemaLookup.cpp43
-rw-r--r--lib/Sema/SemaObjCProperty.cpp227
-rw-r--r--lib/Sema/SemaOverload.cpp430
-rw-r--r--lib/Sema/SemaPseudoObject.cpp87
-rw-r--r--lib/Sema/SemaStmt.cpp930
-rw-r--r--lib/Sema/SemaStmtAsm.cpp661
-rw-r--r--lib/Sema/SemaStmtAttr.cpp9
-rw-r--r--lib/Sema/SemaTemplate.cpp370
-rw-r--r--lib/Sema/SemaTemplateDeduction.cpp160
-rw-r--r--lib/Sema/SemaTemplateInstantiate.cpp126
-rw-r--r--lib/Sema/SemaTemplateInstantiateDecl.cpp172
-rw-r--r--lib/Sema/SemaTemplateVariadic.cpp1
-rw-r--r--lib/Sema/SemaType.cpp176
-rw-r--r--lib/Sema/TreeTransform.h360
-rw-r--r--lib/Serialization/ASTCommon.cpp3
-rw-r--r--lib/Serialization/ASTReader.cpp2323
-rw-r--r--lib/Serialization/ASTReaderDecl.cpp151
-rw-r--r--lib/Serialization/ASTReaderStmt.cpp35
-rw-r--r--lib/Serialization/ASTWriter.cpp781
-rw-r--r--lib/Serialization/ASTWriterDecl.cpp58
-rw-r--r--lib/Serialization/ASTWriterStmt.cpp28
-rw-r--r--lib/Serialization/GeneratePCH.cpp13
-rw-r--r--lib/Serialization/Module.cpp18
-rw-r--r--lib/Serialization/ModuleManager.cpp42
-rw-r--r--lib/StaticAnalyzer/Checkers/AdjustedReturnValueChecker.cpp92
-rw-r--r--lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/AttrNonNullChecker.cpp4
-rw-r--r--lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp109
-rw-r--r--lib/StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/CMakeLists.txt6
-rw-r--r--lib/StaticAnalyzer/Checkers/CStringChecker.cpp77
-rw-r--r--lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp9
-rw-r--r--lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp22
-rw-r--r--lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp1
-rw-r--r--lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp59
-rw-r--r--lib/StaticAnalyzer/Checkers/Checkers.td83
-rw-r--r--lib/StaticAnalyzer/Checkers/ChrootChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp72
-rw-r--r--lib/StaticAnalyzer/Checkers/DebugCheckers.cpp35
-rw-r--r--lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp60
-rw-r--r--lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp180
-rw-r--r--lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp10
-rw-r--r--lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp9
-rw-r--r--lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp4
-rw-r--r--lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp12
-rw-r--r--lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp550
-rw-r--r--lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp41
-rw-r--r--lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp16
-rw-r--r--lib/StaticAnalyzer/Checkers/MallocChecker.cpp259
-rw-r--r--lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp87
-rw-r--r--lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp20
-rw-r--r--lib/StaticAnalyzer/Checkers/OSAtomicChecker.cpp218
-rw-r--r--lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp9
-rw-r--r--lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp21
-rw-r--r--lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp14
-rw-r--r--lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp203
-rw-r--r--lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp94
-rw-r--r--lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp16
-rw-r--r--lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp356
-rw-r--r--lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp19
-rw-r--r--lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp348
-rw-r--r--lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp23
-rw-r--r--lib/StaticAnalyzer/Checkers/StreamChecker.cpp46
-rw-r--r--lib/StaticAnalyzer/Checkers/TaintTesterChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp5
-rw-r--r--lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp7
-rw-r--r--lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp4
-rw-r--r--lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp5
-rw-r--r--lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp18
-rw-r--r--lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp4
-rw-r--r--lib/StaticAnalyzer/Core/AnalysisManager.cpp36
-rw-r--r--lib/StaticAnalyzer/Core/AnalyzerOptions.cpp138
-rw-r--r--lib/StaticAnalyzer/Core/BasicConstraintManager.cpp446
-rw-r--r--lib/StaticAnalyzer/Core/BasicValueFactory.cpp6
-rw-r--r--lib/StaticAnalyzer/Core/BugReporter.cpp517
-rw-r--r--lib/StaticAnalyzer/Core/BugReporterVisitors.cpp602
-rw-r--r--lib/StaticAnalyzer/Core/CMakeLists.txt7
-rw-r--r--lib/StaticAnalyzer/Core/CallEvent.cpp166
-rw-r--r--lib/StaticAnalyzer/Core/CheckerContext.cpp27
-rw-r--r--lib/StaticAnalyzer/Core/CheckerManager.cpp54
-rw-r--r--lib/StaticAnalyzer/Core/ConstraintManager.cpp39
-rw-r--r--lib/StaticAnalyzer/Core/CoreEngine.cpp15
-rw-r--r--lib/StaticAnalyzer/Core/Environment.cpp204
-rw-r--r--lib/StaticAnalyzer/Core/ExplodedGraph.cpp155
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngine.cpp414
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineC.cpp133
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineCXX.cpp79
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp351
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineObjC.cpp82
-rw-r--r--lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp15
-rw-r--r--lib/StaticAnalyzer/Core/MemRegion.cpp34
-rw-r--r--lib/StaticAnalyzer/Core/PathDiagnostic.cpp306
-rw-r--r--lib/StaticAnalyzer/Core/PlistDiagnostics.cpp47
-rw-r--r--lib/StaticAnalyzer/Core/ProgramState.cpp68
-rw-r--r--lib/StaticAnalyzer/Core/RangeConstraintManager.cpp66
-rw-r--r--lib/StaticAnalyzer/Core/RegionStore.cpp308
-rw-r--r--lib/StaticAnalyzer/Core/SValBuilder.cpp37
-rw-r--r--lib/StaticAnalyzer/Core/SVals.cpp3
-rw-r--r--lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp18
-rw-r--r--lib/StaticAnalyzer/Core/SimpleConstraintManager.h4
-rw-r--r--lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp25
-rw-r--r--lib/StaticAnalyzer/Core/Store.cpp86
-rw-r--r--lib/StaticAnalyzer/Core/SymbolManager.cpp109
-rw-r--r--lib/StaticAnalyzer/Core/TextPathDiagnostics.cpp1
-rw-r--r--lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp154
-rw-r--r--lib/StaticAnalyzer/Frontend/AnalysisConsumer.h4
-rw-r--r--lib/StaticAnalyzer/Frontend/CMakeLists.txt3
-rw-r--r--lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp2
-rw-r--r--lib/Tooling/CMakeLists.txt7
-rw-r--r--lib/Tooling/CommonOptionsParser.cpp (renamed from lib/Tooling/CommandLineClangTool.cpp)61
-rw-r--r--lib/Tooling/CompilationDatabase.cpp297
-rw-r--r--lib/Tooling/CustomCompilationDatabase.h42
-rw-r--r--lib/Tooling/FileMatchTrie.cpp188
-rw-r--r--lib/Tooling/JSONCompilationDatabase.cpp303
-rw-r--r--lib/Tooling/Refactoring.cpp11
-rw-r--r--lib/Tooling/Tooling.cpp30
-rw-r--r--runtime/compiler-rt/Makefile61
-rw-r--r--runtime/compiler-rt/clang_linux_test_input.c4
-rw-r--r--test/ARCMT/cxx-checking.mm27
-rw-r--r--test/ARCMT/verify.m5
-rw-r--r--test/ASTMerge/exprs.c1
-rw-r--r--test/Analysis/CFContainers-invalid.c20
-rw-r--r--test/Analysis/CFContainers.mm16
-rw-r--r--test/Analysis/CFDateGC.m1
-rw-r--r--test/Analysis/CFNumber.c1
-rw-r--r--test/Analysis/CFRetainRelease_NSAssertionHandler.m4
-rw-r--r--test/Analysis/CGColorSpace.c1
-rw-r--r--test/Analysis/CheckNSError.m1
-rw-r--r--test/Analysis/Inputs/system-header-simulator-cxx.h57
-rw-r--r--test/Analysis/Inputs/system-header-simulator-for-simple-stream.h11
-rw-r--r--test/Analysis/Inputs/system-header-simulator-objc.h (renamed from test/Analysis/system-header-simulator-objc.h)0
-rw-r--r--test/Analysis/Inputs/system-header-simulator.h (renamed from test/Analysis/system-header-simulator.h)4
-rw-r--r--test/Analysis/MissingDealloc.m3
-rw-r--r--test/Analysis/NSPanel.m4
-rw-r--r--test/Analysis/NSString.m6
-rw-r--r--test/Analysis/NSWindow.m3
-rw-r--r--test/Analysis/NoReturn.m4
-rw-r--r--test/Analysis/OSAtomic_mac.cpp1
-rw-r--r--test/Analysis/ObjCProperties.m4
-rw-r--r--test/Analysis/ObjCRetSigs.m2
-rw-r--r--test/Analysis/PR2599.m2
-rw-r--r--test/Analysis/PR2978.m2
-rw-r--r--test/Analysis/PR3991.m3
-rw-r--r--test/Analysis/PR9741.cpp1
-rw-r--r--test/Analysis/additive-folding.cpp9
-rw-r--r--test/Analysis/analyzer-config.c13
-rw-r--r--test/Analysis/analyzer-config.cpp22
-rw-r--r--test/Analysis/array-struct-region.c110
-rw-r--r--test/Analysis/array-struct-region.cpp176
-rw-r--r--test/Analysis/array-struct.c11
-rw-r--r--test/Analysis/auto-obj-dtors-cfg-output.cpp2
-rw-r--r--test/Analysis/base-init.cpp3
-rw-r--r--test/Analysis/bitwise-ops.c14
-rw-r--r--test/Analysis/blocks.m14
-rw-r--r--test/Analysis/bool-assignment.cpp2
-rw-r--r--test/Analysis/bool-assignment2.c2
-rw-r--r--test/Analysis/bstring.c8
-rw-r--r--test/Analysis/casts.c5
-rw-r--r--test/Analysis/casts.m3
-rw-r--r--test/Analysis/cfref_PR2519.c4
-rw-r--r--test/Analysis/cfref_rdar6080742.c4
-rw-r--r--test/Analysis/chroot.c2
-rw-r--r--test/Analysis/comparison-implicit-casts.cpp2
-rw-r--r--test/Analysis/complex-init-list.cpp7
-rw-r--r--test/Analysis/complex.c1
-rw-r--r--test/Analysis/concrete-address.c3
-rw-r--r--test/Analysis/conditional-operator-path-notes.c1083
-rw-r--r--test/Analysis/coverage.c2
-rw-r--r--test/Analysis/cstring-syntax-cxx.cpp1
-rw-r--r--test/Analysis/ctor-inlining.mm32
-rw-r--r--test/Analysis/cxx-crashes.cpp1
-rw-r--r--test/Analysis/cxx-method-names.cpp3
-rw-r--r--test/Analysis/cxx11-crashes.cpp1
-rw-r--r--test/Analysis/dead-stores.c5
-rw-r--r--test/Analysis/dead-stores.cpp41
-rw-r--r--test/Analysis/dead-stores.m3
-rw-r--r--test/Analysis/delegates.m1
-rw-r--r--test/Analysis/derived-to-base.cpp2
-rw-r--r--test/Analysis/diagnostics/deref-track-symbolic-region.c354
-rw-r--r--test/Analysis/diagnostics/deref-track-symbolic-region.cpp16
-rw-r--r--test/Analysis/diagnostics/undef-value-caller.c379
-rw-r--r--test/Analysis/diagnostics/undef-value-param.c1183
-rw-r--r--test/Analysis/diagnostics/undef-value-param.m476
-rw-r--r--test/Analysis/domtest.c2
-rw-r--r--test/Analysis/dtor.cpp78
-rw-r--r--test/Analysis/dtors-in-dtor-cfg-output.cpp2
-rw-r--r--test/Analysis/elementtype.c2
-rw-r--r--test/Analysis/engine/replay-without-inlining.c1
-rw-r--r--test/Analysis/exceptions.mm38
-rw-r--r--test/Analysis/exercise-ps.c2
-rw-r--r--test/Analysis/fields.c12
-rw-r--r--test/Analysis/free.c2
-rw-r--r--test/Analysis/func.c2
-rw-r--r--test/Analysis/global-region-invalidation.c4
-rw-r--r--test/Analysis/idempotent-operations-limited-loops.c6
-rw-r--r--test/Analysis/idempotent-operations.c10
-rw-r--r--test/Analysis/idempotent-operations.cpp2
-rw-r--r--test/Analysis/idempotent-operations.m3
-rw-r--r--test/Analysis/initializer.cpp22
-rw-r--r--test/Analysis/inline-not-supported.c4
-rw-r--r--test/Analysis/inline-plist.c2988
-rw-r--r--test/Analysis/inline-unique-reports.c2
-rw-r--r--test/Analysis/inline.c2
-rw-r--r--test/Analysis/inline.cpp176
-rw-r--r--test/Analysis/inline2.c3
-rw-r--r--test/Analysis/inline3.c3
-rw-r--r--test/Analysis/inline4.c3
-rw-r--r--test/Analysis/inlining/DynDispatchBifurcate.m12
-rw-r--r--test/Analysis/inlining/InlineObjCInstanceMethod.m66
-rw-r--r--test/Analysis/inlining/RetainCountExamples.m96
-rw-r--r--test/Analysis/inlining/assume-super-init-does-not-return-nil.m41
-rw-r--r--test/Analysis/inlining/dyn-dispatch-bifurcate.cpp16
-rw-r--r--test/Analysis/inlining/eager-reclamation-path-notes.c788
-rw-r--r--test/Analysis/inlining/false-positive-suppression.c184
-rw-r--r--test/Analysis/inlining/path-notes.c4413
-rw-r--r--test/Analysis/inlining/path-notes.m469
-rw-r--r--test/Analysis/inlining/retain-count-self-init.m68
-rw-r--r--test/Analysis/inlining/stl.cpp29
-rw-r--r--test/Analysis/inlining/test-always-inline-size-option.c48
-rw-r--r--test/Analysis/inlining/test_objc_inlining_option.m34
-rw-r--r--test/Analysis/ivars.m8
-rw-r--r--test/Analysis/keychainAPI.m2
-rw-r--r--test/Analysis/logical-ops.c27
-rw-r--r--test/Analysis/lvalue.cpp1
-rw-r--r--test/Analysis/malloc-annotations.c2
-rw-r--r--test/Analysis/malloc-interprocedural.c41
-rw-r--r--test/Analysis/malloc-overflow.c2
-rw-r--r--test/Analysis/malloc-overflow.cpp3
-rw-r--r--test/Analysis/malloc-plist.c8604
-rw-r--r--test/Analysis/malloc-sizeof.c16
-rw-r--r--test/Analysis/malloc.c35
-rw-r--r--test/Analysis/malloc.cpp27
-rw-r--r--test/Analysis/malloc.m2
-rw-r--r--test/Analysis/malloc.mm60
-rw-r--r--test/Analysis/member-expr.cpp23
-rw-r--r--test/Analysis/method-call-intra-p.cpp1
-rw-r--r--test/Analysis/method-call-path-notes.cpp1470
-rw-r--r--test/Analysis/method-call.cpp30
-rw-r--r--test/Analysis/misc-ps-64.m4
-rw-r--r--test/Analysis/misc-ps-arm.m1
-rw-r--r--test/Analysis/misc-ps-eager-assume.m3
-rw-r--r--test/Analysis/misc-ps-ranges.m2
-rw-r--r--test/Analysis/misc-ps-region-store-i386.m3
-rw-r--r--test/Analysis/misc-ps-region-store-x86_64.m3
-rw-r--r--test/Analysis/misc-ps-region-store.cpp10
-rw-r--r--test/Analysis/misc-ps-region-store.m7
-rw-r--r--test/Analysis/misc-ps-region-store.mm5
-rw-r--r--test/Analysis/misc-ps.c18
-rw-r--r--test/Analysis/misc-ps.m10
-rw-r--r--test/Analysis/new-with-exceptions.cpp71
-rw-r--r--test/Analysis/new.cpp12
-rw-r--r--test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m2
-rw-r--r--test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m9
-rw-r--r--test/Analysis/no-exit-cfg.c3
-rw-r--r--test/Analysis/no-outofbounds.c2
-rw-r--r--test/Analysis/null-deref-path-notes.m488
-rw-r--r--test/Analysis/null-deref-ps-region.c3
-rw-r--r--test/Analysis/null-deref-ps.c4
-rw-r--r--test/Analysis/objc-bool.m1
-rw-r--r--test/Analysis/objc-for.m2
-rw-r--r--test/Analysis/objc-method-coverage.m2
-rw-r--r--test/Analysis/objc-properties.m72
-rw-r--r--test/Analysis/objc_invalidation.m153
-rw-r--r--test/Analysis/operator-calls.cpp21
-rw-r--r--test/Analysis/out-of-bounds.c2
-rw-r--r--test/Analysis/outofbound-notwork.c2
-rw-r--r--test/Analysis/outofbound.c2
-rw-r--r--test/Analysis/override-werror.c2
-rw-r--r--test/Analysis/plist-html-macros.c31
-rw-r--r--test/Analysis/plist-output-alternate.m2137
-rw-r--r--test/Analysis/plist-output.m3659
-rw-r--r--test/Analysis/pointer-to-member.cpp44
-rw-r--r--test/Analysis/pr4209.m2
-rw-r--r--test/Analysis/pr_2542_rdar_6793404.m2
-rw-r--r--test/Analysis/pr_4164.c3
-rw-r--r--test/Analysis/pthreadlock.c2
-rw-r--r--test/Analysis/ptr-arith.c4
-rw-r--r--test/Analysis/rdar-6442306-1.m3
-rw-r--r--test/Analysis/rdar-6540084.m2
-rw-r--r--test/Analysis/rdar-6541136-region.c2
-rw-r--r--test/Analysis/rdar-6562655.m3
-rw-r--r--test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m3
-rw-r--r--test/Analysis/rdar-7168531.m2
-rw-r--r--test/Analysis/redefined_system.c3
-rw-r--r--test/Analysis/refcnt_naming.m2
-rw-r--r--test/Analysis/reference.cpp28
-rw-r--r--test/Analysis/region-1.m3
-rw-r--r--test/Analysis/region-store.c1
-rw-r--r--test/Analysis/retain-release-gc-only.m53
-rw-r--r--test/Analysis/retain-release-inline.m18
-rw-r--r--test/Analysis/retain-release-path-notes-gc.m2662
-rw-r--r--test/Analysis/retain-release-path-notes.m8833
-rw-r--r--test/Analysis/retain-release.m22839
-rw-r--r--test/Analysis/retain-release.mm19
-rw-r--r--test/Analysis/security-syntax-checks-no-emit.c1
-rw-r--r--test/Analysis/simple-stream-checks.c78
-rw-r--r--test/Analysis/sizeofpointer.c2
-rw-r--r--test/Analysis/stack-addr-ps.cpp2
-rw-r--r--test/Analysis/static_local.m19
-rw-r--r--test/Analysis/stream.c2
-rw-r--r--test/Analysis/string.c8
-rw-r--r--test/Analysis/svalbuilder-logic.c1
-rw-r--r--test/Analysis/taint-generic.c2
-rw-r--r--test/Analysis/taint-tester.c2
-rw-r--r--test/Analysis/taint-tester.cpp3
-rw-r--r--test/Analysis/taint-tester.m3
-rw-r--r--test/Analysis/temp-obj-dtors-cfg-output.cpp2
-rw-r--r--test/Analysis/templates.cpp8
-rw-r--r--test/Analysis/temporaries.cpp30
-rw-r--r--test/Analysis/test-objc-non-nil-return-value-checker.m50
-rw-r--r--test/Analysis/traversal-path-unification.c28
-rw-r--r--test/Analysis/undef-buffers.c2
-rw-r--r--test/Analysis/uninit-vals-ps-region.m2
-rw-r--r--test/Analysis/uninit-vals-ps.c12
-rw-r--r--test/Analysis/uninit-vals.m1
-rw-r--r--test/Analysis/unions-region.m1
-rw-r--r--test/Analysis/unions.cpp51
-rw-r--r--test/Analysis/unix-fns.c1857
-rw-r--r--test/Analysis/unreachable-code-path.c2
-rw-r--r--test/Analysis/viewcontroller.m135
-rw-r--r--test/Analysis/virtualcall.cpp8
-rw-r--r--test/Analysis/virtualcall.h28
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.argdep/p2-template-id.cpp1
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp24
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.classref/p3.cpp1
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.classref/p4-cxx11.cpp1
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p3.cpp1
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p4.cpp1
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.udir/p1.cpp1
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.unqual/p12.cpp1
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp1
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.unqual/p14.cpp1
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.unqual/p3.cpp1
-rw-r--r--test/CXX/basic/basic.scope/basic.scope.local/p2.cpp37
-rw-r--r--test/CXX/basic/basic.scope/basic.scope.pdecl/p9.cpp1
-rw-r--r--test/CXX/basic/basic.start/basic.start.main/p2a.cpp1
-rw-r--r--test/CXX/basic/basic.start/basic.start.main/p2b.cpp1
-rw-r--r--test/CXX/basic/basic.start/basic.start.main/p2c.cpp1
-rw-r--r--test/CXX/basic/basic.start/basic.start.main/p2g.cpp1
-rw-r--r--test/CXX/basic/basic.stc/basic.stc.dynamic/p2-nodef.cpp1
-rw-r--r--test/CXX/basic/basic.stc/basic.stc.dynamic/p2-noexceptions.cpp1
-rw-r--r--test/CXX/class.access/class.friend/p1.cpp24
-rw-r--r--test/CXX/class.access/class.friend/p3-cxx0x.cpp26
-rw-r--r--test/CXX/class.access/class.protected/p1-cxx11.cpp1
-rw-r--r--test/CXX/class.access/class.protected/p1.cpp2
-rw-r--r--test/CXX/class.derived/class.abstract/p16.cpp16
-rw-r--r--test/CXX/class.derived/p2.cpp1
-rw-r--r--test/CXX/class/class.friend/p1-ambiguous.cpp1
-rw-r--r--test/CXX/class/class.friend/p1-cxx11.cpp1
-rw-r--r--test/CXX/class/class.nest/p3.cpp1
-rw-r--r--test/CXX/class/p1-0x.cpp1
-rw-r--r--test/CXX/class/p2-0x.cpp8
-rw-r--r--test/CXX/class/p6-0x.cpp1
-rw-r--r--test/CXX/conv/conv.prom/p2.cpp5
-rw-r--r--test/CXX/conv/conv.prom/p4.cpp19
-rw-r--r--test/CXX/conv/conv.ptr/p2.cpp1
-rw-r--r--test/CXX/conv/conv.qual/pr6089.cpp1
-rw-r--r--test/CXX/dcl.dcl/basic.namespace/namespace.def/p2.cpp1
-rw-r--r--test/CXX/dcl.dcl/basic.namespace/namespace.def/p7.cpp4
-rw-r--r--test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p10.cpp1
-rw-r--r--test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p13.cpp1
-rw-r--r--test/CXX/dcl.dcl/basic.namespace/namespace.udir/p6.cpp1
-rw-r--r--test/CXX/dcl.dcl/dcl.attr/dcl.attr.grammar/p6.cpp3
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p5.cpp6
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3.cpp3
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.type/p3-0x.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p4.cpp6
-rw-r--r--test/CXX/dcl.decl/dcl.init/dcl.init.ref/basic.cpp1
-rw-r--r--test/CXX/dcl.decl/dcl.init/dcl.init.ref/p1.cpp1
-rw-r--r--test/CXX/dcl.decl/dcl.init/dcl.init.string/p1.cpp1
-rw-r--r--test/CXX/dcl.decl/dcl.init/p7.cpp14
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p2.cpp1
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p3.cpp6
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.fct/p14.cpp1
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.ref/p6-0x.cpp1
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/p1.cpp14
-rw-r--r--test/CXX/dcl.decl/dcl.name/p1.cpp1
-rw-r--r--test/CXX/dcl.decl/p4-0x.cpp1
-rw-r--r--test/CXX/except/except.spec/canonical.cpp1
-rw-r--r--test/CXX/except/except.spec/p11.cpp1
-rw-r--r--test/CXX/except/except.spec/p14.cpp38
-rw-r--r--test/CXX/except/except.spec/p15.cpp14
-rw-r--r--test/CXX/except/except.spec/p4.cpp36
-rw-r--r--test/CXX/expr/expr.cast/p4-0x.cpp1
-rw-r--r--test/CXX/expr/expr.const/p3-0x-nowarn.cpp1
-rw-r--r--test/CXX/expr/expr.const/p5-0x.cpp8
-rw-r--r--test/CXX/expr/expr.post/expr.const.cast/p1-0x.cpp1
-rw-r--r--test/CXX/expr/expr.post/expr.ref/p3.cpp1
-rw-r--r--test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp1
-rw-r--r--test/CXX/expr/expr.post/expr.static.cast/p9-0x.cpp1
-rw-r--r--test/CXX/expr/expr.post/expr.type.conv/p1-0x.cpp1
-rw-r--r--test/CXX/expr/expr.prim/expr.prim.general/p3-0x.cpp4
-rw-r--r--test/CXX/expr/expr.prim/expr.prim.lambda/p14.cpp15
-rw-r--r--test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp1
-rw-r--r--test/CXX/expr/expr.prim/expr.prim.lambda/p18.cpp1
-rw-r--r--test/CXX/expr/expr.prim/expr.prim.lambda/p20.cpp1
-rw-r--r--test/CXX/expr/expr.prim/expr.prim.lambda/p21.cpp1
-rw-r--r--test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp1
-rw-r--r--test/CXX/expr/expr.unary/expr.unary.op/p3.cpp1
-rw-r--r--test/CXX/expr/p8.cpp1
-rw-r--r--test/CXX/expr/p9.cpp1
-rw-r--r--test/CXX/lex/lex.literal/lex.ccon/p1.cpp1
-rw-r--r--test/CXX/lex/lex.trigraph/p3.cpp1
-rw-r--r--test/CXX/over/over.built/p1.cpp16
-rw-r--r--test/CXX/over/over.built/p23.cpp1
-rw-r--r--test/CXX/over/over.built/p25.cpp1
-rw-r--r--test/CXX/over/over.match/over.match.best/over.ics.rank/p3-0x.cpp1
-rw-r--r--test/CXX/over/over.match/over.match.best/p1.cpp1
-rw-r--r--test/CXX/over/over.match/over.match.funcs/over.match.oper/p3.cpp29
-rw-r--r--test/CXX/over/over.match/over.match.funcs/p4-0x.cpp1
-rw-r--r--test/CXX/over/over.oper/over.literal/p7.cpp1
-rw-r--r--test/CXX/over/over.oper/over.literal/p8.cpp5
-rw-r--r--test/CXX/special/class.conv/class.conv.ctor/p1.cpp1
-rw-r--r--test/CXX/special/class.copy/p15-0x.cpp1
-rw-r--r--test/CXX/special/class.copy/p8-cxx11.cpp1
-rw-r--r--test/CXX/special/class.ctor/p1.cpp1
-rw-r--r--test/CXX/special/class.dtor/p2.cpp1
-rw-r--r--test/CXX/special/class.dtor/p3-0x.cpp2
-rw-r--r--test/CXX/special/class.dtor/p3.cpp17
-rw-r--r--test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp104
-rw-r--r--test/CXX/stmt.stmt/stmt.select/stmt.switch/p2-0x.cpp1
-rw-r--r--test/CXX/temp/p3.cpp2
-rw-r--r--test/CXX/temp/temp.arg/temp.arg.type/p2-cxx0x.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.alias/p1.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.class.spec/p9.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.class.spec/temp.class.order/p2.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.class.spec/temp.class.spec.mfunc/p1.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.class/temp.mem.func/p1-retmem.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.class/temp.mem.func/pr5056.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3-0x.cpp28
-rw-r--r--test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp13
-rw-r--r--test/CXX/temp/temp.decls/temp.fct/temp.func.order/p5.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.friend/p5.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.mem/p1.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/deduction.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/example-bind.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/example-function.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/example-tuple.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/injected-class-name.cpp1
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/multi-level-substitution.cpp24
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/partial-ordering.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3-0x.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.arg.explicit/p9-0x.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/cwg1170.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/sfinae-1.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p2.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p4.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p2.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p3.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p12.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p9-0x.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p10-0x.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p2-0x.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p21.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p22.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p5-0x.cpp1
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p8-0x.cpp1
-rw-r--r--test/CXX/temp/temp.names/p2.cpp1
-rw-r--r--test/CXX/temp/temp.names/p4.cpp1
-rw-r--r--test/CXX/temp/temp.param/p10-0x.cpp1
-rw-r--r--test/CXX/temp/temp.param/p10.cpp1
-rw-r--r--test/CXX/temp/temp.param/p13.cpp1
-rw-r--r--test/CXX/temp/temp.param/p15-cxx0x.cpp154
-rw-r--r--test/CXX/temp/temp.param/p2.cpp1
-rw-r--r--test/CXX/temp/temp.param/p5.cpp1
-rw-r--r--test/CXX/temp/temp.param/p8.cpp1
-rw-r--r--test/CXX/temp/temp.res/temp.dep/p3.cpp1
-rw-r--r--test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/p2-0x.cpp1
-rw-r--r--test/CXX/temp/temp.res/temp.local/p1.cpp1
-rw-r--r--test/CXX/temp/temp.res/temp.local/p7.cpp1
-rw-r--r--test/CXX/temp/temp.res/temp.local/p8.cpp1
-rw-r--r--test/CXX/temp/temp.spec/temp.expl.spec/p1.cpp1
-rw-r--r--test/CXX/temp/temp.spec/temp.expl.spec/p11.cpp1
-rw-r--r--test/CXX/temp/temp.spec/temp.expl.spec/p9.cpp1
-rw-r--r--test/CXX/temp/temp.spec/temp.explicit/p11.cpp1
-rw-r--r--test/CXX/temp/temp.spec/temp.explicit/p3-0x.cpp1
-rw-r--r--test/CXX/temp/temp.spec/temp.explicit/p6.cpp1
-rw-r--r--test/CodeCompletion/Inputs/macros.h7
-rw-r--r--test/CodeCompletion/macros.c12
-rw-r--r--test/CodeCompletion/preamble.c2
-rw-r--r--test/CodeGen/2004-03-16-AsmRegisterCrash.c5
-rw-r--r--test/CodeGen/2008-01-25-ByValReadNone.c8
-rw-r--r--test/CodeGen/2008-01-25-ZeroSizedAggregate.c1
-rw-r--r--test/CodeGen/2008-12-23-AsmIntPointerTie.c1
-rw-r--r--test/CodeGen/2009-06-01-addrofknr.c1
-rw-r--r--test/CodeGen/2010-06-17-asmcrash.c5
-rw-r--r--test/CodeGen/PR3589-freestanding-libcalls.c6
-rw-r--r--test/CodeGen/a15.c5
-rw-r--r--test/CodeGen/address-safety-attr.cpp2
-rw-r--r--test/CodeGen/alias.c44
-rw-r--r--test/CodeGen/arm-aapcs-vfp.c6
-rw-r--r--test/CodeGen/arm-aapcs-zerolength-bitfield.c1
-rw-r--r--test/CodeGen/arm-abi-vector.c263
-rw-r--r--test/CodeGen/arm-apcs-zerolength-bitfield.c1
-rw-r--r--test/CodeGen/arm-arguments.c45
-rw-r--r--test/CodeGen/arm-asm-warn.c18
-rw-r--r--test/CodeGen/arm-homogenous.c41
-rw-r--r--test/CodeGen/arm-pnaclcall.c33
-rw-r--r--test/CodeGen/asm.c9
-rw-r--r--test/CodeGen/atomic-ops.c9
-rw-r--r--test/CodeGen/attr-minsize.cpp75
-rw-r--r--test/CodeGen/attr-weakref.c6
-rw-r--r--test/CodeGen/attributes.c2
-rw-r--r--test/CodeGen/bitfield-promote.c10
-rw-r--r--test/CodeGen/bmi2-builtins.c17
-rw-r--r--test/CodeGen/builtin-memfns.c20
-rw-r--r--test/CodeGen/builtin-ms-noop.cpp14
-rw-r--r--test/CodeGen/builtins-mips-args.c23
-rw-r--r--test/CodeGen/builtins-mips.c210
-rw-r--r--test/CodeGen/builtins-nvptx.c74
-rw-r--r--test/CodeGen/builtins.c1
-rw-r--r--test/CodeGen/catch-undef-behavior.c241
-rw-r--r--test/CodeGen/const-init.c15
-rw-r--r--test/CodeGen/const-label-addr.c15
-rw-r--r--test/CodeGen/debug-info-iv.c2
-rw-r--r--test/CodeGen/debug-info-line3.c4
-rw-r--r--test/CodeGen/debug-info-line4.c11
-rw-r--r--test/CodeGen/debug-info.c5
-rw-r--r--test/CodeGen/debug-line-1.c2
-rw-r--r--test/CodeGen/decl-in-prototype.c2
-rw-r--r--test/CodeGen/dostmt.c10
-rw-r--r--test/CodeGen/exprs.c10
-rw-r--r--test/CodeGen/extern-inline.c4
-rw-r--r--test/CodeGen/f16c-builtins.c26
-rw-r--r--test/CodeGen/ffp-contract-option.c (renamed from test/CodeGen/fp-contract.c)0
-rw-r--r--test/CodeGen/fold-const-declref.c4
-rw-r--r--test/CodeGen/fp-contract-pragma.cpp64
-rw-r--r--test/CodeGen/func-ptr-cast-decl.c1
-rw-r--r--test/CodeGen/init.c2
-rw-r--r--test/CodeGen/inline.c6
-rw-r--r--test/CodeGen/integer-overflow.c9
-rw-r--r--test/CodeGen/le32-arguments.c61
-rw-r--r--test/CodeGen/le32-regparm.c41
-rw-r--r--test/CodeGen/libcall-declarations.c191
-rw-r--r--test/CodeGen/libcalls-fno-builtin.c97
-rw-r--r--test/CodeGen/long-double-x86-nacl.c7
-rw-r--r--test/CodeGen/microsoft-call-conv-x64.c39
-rw-r--r--test/CodeGen/microsoft-call-conv.c2
-rw-r--r--test/CodeGen/mips-byval-arg.c4
-rw-r--r--test/CodeGen/mips-clobber-reg.c2
-rw-r--r--test/CodeGen/mips-constraint-regs.c7
-rw-r--r--test/CodeGen/mips-vector-arg.c4
-rw-r--r--test/CodeGen/mips-vector-return.c4
-rw-r--r--test/CodeGen/mips64-class-return.cpp2
-rw-r--r--test/CodeGen/mips64-f128-literal.c2
-rw-r--r--test/CodeGen/mips64-nontrivial-return.cpp2
-rw-r--r--test/CodeGen/mips64-padding-arg.c2
-rw-r--r--test/CodeGen/ms-inline-asm-64.c16
-rw-r--r--test/CodeGen/ms-inline-asm.c170
-rw-r--r--test/CodeGen/ppc-atomics.c35
-rw-r--r--test/CodeGen/ppc64-align-long-double.c18
-rw-r--r--test/CodeGen/ppc64-extend.c15
-rw-r--r--test/CodeGen/ppc64-struct-onefloat.c49
-rw-r--r--test/CodeGen/ppc64-varargs-struct.c30
-rw-r--r--test/CodeGen/pragma-weak.c9
-rw-r--r--test/CodeGen/rtm-builtins.c23
-rw-r--r--test/CodeGen/sse-builtins.c31
-rw-r--r--test/CodeGen/statements.c1
-rw-r--r--test/CodeGen/stdcall-fastcall.c98
-rw-r--r--test/CodeGen/tbaa-for-vptr.cpp10
-rw-r--r--test/CodeGen/tbaa-struct.cpp17
-rw-r--r--test/CodeGen/trapv.c18
-rw-r--r--test/CodeGen/unwind-attr.c4
-rw-r--r--test/CodeGen/x86_64-arguments-nacl.c120
-rw-r--r--test/CodeGenCUDA/address-spaces.cu12
-rw-r--r--test/CodeGenCXX/2005-01-03-StaticInitializers.cpp1
-rw-r--r--test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp2
-rw-r--r--test/CodeGenCXX/assign-construct-memcpy.cpp89
-rw-r--r--test/CodeGenCXX/attr.cpp10
-rw-r--r--test/CodeGenCXX/builtins.cpp12
-rw-r--r--test/CodeGenCXX/catch-undef-behavior.cpp134
-rw-r--r--test/CodeGenCXX/compound-literals.cpp6
-rw-r--r--test/CodeGenCXX/const-global-linkage.cpp4
-rw-r--r--test/CodeGenCXX/const-init-cxx11.cpp6
-rw-r--r--test/CodeGenCXX/conversion-operator-base.cpp1
-rw-r--r--test/CodeGenCXX/copy-assign-synthesis-3.cpp1
-rw-r--r--test/CodeGenCXX/copy-constructor-elim-2.cpp4
-rw-r--r--test/CodeGenCXX/cxx0x-delegating-ctors.cpp2
-rw-r--r--test/CodeGenCXX/cxx0x-initializer-array.cpp2
-rw-r--r--test/CodeGenCXX/cxx0x-initializer-constructors.cpp2
-rw-r--r--test/CodeGenCXX/cxx0x-initializer-references.cpp6
-rw-r--r--test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp2
-rw-r--r--test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp2
-rw-r--r--test/CodeGenCXX/cxx11-special-members.cpp32
-rw-r--r--test/CodeGenCXX/debug-info-artificial-arg.cpp2
-rw-r--r--test/CodeGenCXX/debug-info-blocks.cpp14
-rw-r--r--test/CodeGenCXX/debug-info-class.cpp18
-rw-r--r--test/CodeGenCXX/debug-info-enum-class.cpp16
-rw-r--r--test/CodeGenCXX/debug-info-fwd-ref.cpp11
-rw-r--r--test/CodeGenCXX/debug-info-global-ctor-dtor.cpp27
-rw-r--r--test/CodeGenCXX/debug-info-globalinit.cpp2
-rw-r--r--test/CodeGenCXX/debug-info-pubtypes.cpp2
-rw-r--r--test/CodeGenCXX/debug-info-template-member.cpp2
-rw-r--r--test/CodeGenCXX/debug-info-template-quals.cpp2
-rw-r--r--test/CodeGenCXX/debug-info-thunk.cpp17
-rw-r--r--test/CodeGenCXX/debug-info-user-def.cpp14
-rw-r--r--test/CodeGenCXX/debug-lambda-expressions.cpp18
-rw-r--r--test/CodeGenCXX/debug-lambda-this.cpp15
-rw-r--r--test/CodeGenCXX/delete.cpp23
-rw-r--r--test/CodeGenCXX/dependent-type-member-pointer.cpp1
-rw-r--r--test/CodeGenCXX/destructor-debug-info.cpp2
-rw-r--r--test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp5
-rw-r--r--test/CodeGenCXX/devirtualize-virtual-function-calls.cpp4
-rw-r--r--test/CodeGenCXX/enum.cpp1
-rw-r--r--test/CodeGenCXX/exceptions.cpp1
-rw-r--r--test/CodeGenCXX/fastcall.cpp20
-rw-r--r--test/CodeGenCXX/for-range.cpp12
-rw-r--r--test/CodeGenCXX/implicit-copy-constructor.cpp28
-rw-r--r--test/CodeGenCXX/incomplete-types.cpp1
-rw-r--r--test/CodeGenCXX/init-priority-attr.cpp46
-rw-r--r--test/CodeGenCXX/instantiate-init-list.cpp1
-rw-r--r--test/CodeGenCXX/lambda-expressions.cpp9
-rw-r--r--test/CodeGenCXX/mangle-exprs.cpp7
-rw-r--r--test/CodeGenCXX/mangle-extern-local.cpp2
-rw-r--r--test/CodeGenCXX/mangle-lambdas.cpp27
-rw-r--r--test/CodeGenCXX/mangle-ms-arg-qualifiers.cpp78
-rw-r--r--test/CodeGenCXX/mangle-ms-return-qualifiers.cpp5
-rw-r--r--test/CodeGenCXX/mangle-ms-template-callback.cpp72
-rw-r--r--test/CodeGenCXX/mangle-ms-templates.cpp12
-rw-r--r--test/CodeGenCXX/mangle-ms.cpp39
-rw-r--r--test/CodeGenCXX/mangle-nullptr-arg.cpp3
-rw-r--r--test/CodeGenCXX/mangle-template.cpp16
-rw-r--r--test/CodeGenCXX/mangle-valist.cpp44
-rw-r--r--test/CodeGenCXX/member-alignment.cpp1
-rw-r--r--test/CodeGenCXX/member-call-parens.cpp1
-rw-r--r--test/CodeGenCXX/member-functions.cpp3
-rw-r--r--test/CodeGenCXX/member-init-assignment.cpp2
-rw-r--r--test/CodeGenCXX/member-init-struct.cpp1
-rw-r--r--test/CodeGenCXX/member-init-union.cpp1
-rw-r--r--test/CodeGenCXX/microsoft-abi-constructors.cpp11
-rw-r--r--test/CodeGenCXX/microsoft-abi-default-cc.cpp47
-rw-r--r--test/CodeGenCXX/microsoft-abi-methods.cpp6
-rw-r--r--test/CodeGenCXX/microsoft-abi-static-initializers.cpp6
-rw-r--r--test/CodeGenCXX/microsoft-interface.cpp43
-rw-r--r--test/CodeGenCXX/microsoft-uuidof-unsupported-target.cpp13
-rw-r--r--test/CodeGenCXX/microsoft-uuidof.cpp72
-rw-r--r--test/CodeGenCXX/new-operator-phi.cpp1
-rw-r--r--test/CodeGenCXX/new.cpp10
-rw-r--r--test/CodeGenCXX/nrvo.cpp4
-rw-r--r--test/CodeGenCXX/override-layout.cpp15
-rw-r--r--test/CodeGenCXX/pr12251.cpp4
-rw-r--r--test/CodeGenCXX/pragma-visibility.cpp2
-rw-r--r--test/CodeGenCXX/reference-bind-default-argument.cpp1
-rw-r--r--test/CodeGenCXX/reference-init.cpp1
-rw-r--r--test/CodeGenCXX/regparm.cpp32
-rw-r--r--test/CodeGenCXX/reinterpret-cast.cpp2
-rw-r--r--test/CodeGenCXX/return.cpp12
-rw-r--r--test/CodeGenCXX/static-assert.cpp1
-rw-r--r--test/CodeGenCXX/static-init-2.cpp1
-rw-r--r--test/CodeGenCXX/switch-case-folding-2.cpp2
-rw-r--r--test/CodeGenCXX/throw-expression-cleanup.cpp2
-rw-r--r--test/CodeGenCXX/throw-expression-dtor.cpp1
-rw-r--r--test/CodeGenCXX/throw-expressions.cpp1
-rw-r--r--test/CodeGenCXX/thunk-linkonce-odr.cpp2
-rw-r--r--test/CodeGenCXX/thunks.cpp45
-rw-r--r--test/CodeGenCXX/typeid-cxx11.cpp8
-rw-r--r--test/CodeGenCXX/unary-type-trait.cpp1
-rw-r--r--test/CodeGenCXX/virtual-operator-call.cpp2
-rw-r--r--test/CodeGenCXX/visibility-inlines-hidden.cpp11
-rw-r--r--test/CodeGenCXX/vtable-layout.cpp21
-rw-r--r--test/CodeGenCXX/vtt-layout.cpp24
-rw-r--r--test/CodeGenObjC/2008-10-3-EhValue.m2
-rw-r--r--test/CodeGenObjC/arc-arm.m20
-rw-r--r--test/CodeGenObjC/arc-block-ivar-layout.m60
-rw-r--r--test/CodeGenObjC/arc-blocks.m133
-rw-r--r--test/CodeGenObjC/arc-captured-32bit-block-var-layout.m425
-rw-r--r--test/CodeGenObjC/arc-captured-block-var-inlined-layout.m112
-rw-r--r--test/CodeGenObjC/arc-captured-block-var-layout.m425
-rw-r--r--test/CodeGenObjC/arc-exceptions.m5
-rw-r--r--test/CodeGenObjC/arc-foreach.m8
-rw-r--r--test/CodeGenObjC/arc-ivar-layout.m1
-rw-r--r--test/CodeGenObjC/arc-no-runtime.m4
-rw-r--r--test/CodeGenObjC/arc-property.m76
-rw-r--r--test/CodeGenObjC/arc-related-result-type.m10
-rw-r--r--test/CodeGenObjC/arc.m9
-rw-r--r--test/CodeGenObjC/atomic-aggregate-property.m11
-rw-r--r--test/CodeGenObjC/attr-minsize.m12
-rw-r--r--test/CodeGenObjC/block-var-layout.m6
-rw-r--r--test/CodeGenObjC/builtin-memfns.m10
-rw-r--r--test/CodeGenObjC/category-super-class-meth.m32
-rw-r--r--test/CodeGenObjC/debug-info-crash-2.m2
-rw-r--r--test/CodeGenObjC/debug-info-fwddecl.m2
-rw-r--r--test/CodeGenObjC/debug-info-impl.m2
-rw-r--r--test/CodeGenObjC/debug-info-ivars.m24
-rw-r--r--test/CodeGenObjC/debug-info-pubtypes.m4
-rw-r--r--test/CodeGenObjC/debug-info-self.m8
-rw-r--r--test/CodeGenObjC/exceptions.m4
-rw-r--r--test/CodeGenObjC/gnu-exceptions.m2
-rw-r--r--test/CodeGenObjC/ivar-layout-64.m52
-rw-r--r--test/CodeGenObjC/mrr-captured-block-var-inlined-layout.m65
-rw-r--r--test/CodeGenObjC/newproperty-nested-synthesis-1.m1
-rw-r--r--test/CodeGenObjC/objc-arc-container-subscripting.m5
-rw-r--r--test/CodeGenObjC/objc2-ivar-assign.m3
-rw-r--r--test/CodeGenObjC/optimized-setter-ios-device.m33
-rw-r--r--test/CodeGenObjC/optimized-setter.m3
-rw-r--r--test/CodeGenObjC/prop-metadata-gnu.m15
-rw-r--r--test/CodeGenObjC/property.m5
-rw-r--r--test/CodeGenObjC/synchronized.m8
-rw-r--r--test/CodeGenObjC/synthesize_ivar-cont-class.m3
-rw-r--r--test/CodeGenObjC/synthesize_ivar.m3
-rw-r--r--test/CodeGenObjC/undefined-protocol.m3
-rw-r--r--test/CodeGenObjC/unoptimized-setter.m32
-rw-r--r--test/CodeGenObjCXX/address-safety-attr.mm2
-rw-r--r--test/CodeGenObjCXX/arc-exceptions.mm10
-rw-r--r--test/CodeGenObjCXX/arc-new-delete.mm5
-rw-r--r--test/CodeGenObjCXX/arc-references.mm2
-rw-r--r--test/CodeGenObjCXX/arc-special-member-functions.mm7
-rw-r--r--test/CodeGenObjCXX/block-var-layout.mm6
-rw-r--r--test/CodeGenObjCXX/implementation-in-extern-c.mm17
-rw-r--r--test/CodeGenObjCXX/implicit-copy-assign-operator.mm95
-rw-r--r--test/CodeGenObjCXX/property-objects.mm22
-rw-r--r--test/CodeGenOpenCL/single-precision-constant.cl3
-rw-r--r--test/Coverage/targets.c1
-rw-r--r--test/Driver/B-opt.c22
-rwxr-xr-x[-rw-r--r--]test/Driver/Inputs/B_opt_tree/dir1/i386-unknown-linux-ld (renamed from test/Driver/Inputs/basic_android_tree/usr/lib/crtbegin_dynamic.o)0
-rwxr-xr-x[-rw-r--r--]test/Driver/Inputs/B_opt_tree/dir1/ld (renamed from test/Driver/Inputs/basic_android_tree/usr/lib/crtbegin_so.o)0
-rwxr-xr-x[-rw-r--r--]test/Driver/Inputs/B_opt_tree/dir2/ld (renamed from test/Driver/Inputs/basic_android_tree/usr/lib/crtbegin_static.o)0
-rwxr-xr-x[-rw-r--r--]test/Driver/Inputs/B_opt_tree/dir3/prefix-ld (renamed from test/Driver/Inputs/basic_android_tree/usr/lib/crtend_android.o)0
-rw-r--r--test/Driver/Inputs/basic_android_tree/arm-linux-androideabi/bin/.keep (renamed from test/PCH/badpch-dir.h.gch/.keep)0
-rw-r--r--test/Driver/Inputs/basic_android_tree/arm-linux-androideabi/include/c++/4.4.3/.keep (renamed from test/Driver/Inputs/basic_android_tree/usr/lib/crtend_so.o)0
-rw-r--r--test/Driver/Inputs/basic_android_tree/arm-linux-androideabi/lib/.keep (renamed from test/PCH/badpch-empty.h.gch)0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/arm-linux-androideabi/4.4.3/crtbegin.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/arm-linux-androideabi/4.4.3/crtbeginS.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/arm-linux-androideabi/4.4.3/crtbeginT.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/arm-linux-androideabi/4.4.3/crtend.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/arm-linux-androideabi/4.4.3/crtendS.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-android/4.4.3/crtbegin.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-android/4.4.3/crtbeginS.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-android/4.4.3/crtbeginT.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-android/4.4.3/crtend.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-android/4.4.3/crtendS.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-android/4.4.3/mips-r2/crtbegin.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-android/4.4.3/mips-r2/crtbeginS.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-android/4.4.3/mips-r2/crtbeginT.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-android/4.4.3/mips-r2/crtend.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-android/4.4.3/mips-r2/crtendS.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/mipsel-linux-android/bin/.keep0
-rw-r--r--test/Driver/Inputs/basic_android_tree/mipsel-linux-android/include/c++/4.4.3/.keep0
-rw-r--r--test/Driver/Inputs/basic_android_tree/mipsel-linux-android/lib/.keep0
-rw-r--r--test/Driver/Inputs/basic_android_tree/sysroot/usr/lib/crtbegin_dynamic.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/sysroot/usr/lib/crtbegin_so.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/sysroot/usr/lib/crtbegin_static.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/sysroot/usr/lib/crtend_android.o0
-rw-r--r--test/Driver/Inputs/basic_android_tree/sysroot/usr/lib/crtend_so.o0
-rw-r--r--test/Driver/Inputs/basic_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/crtfastmath.o0
-rw-r--r--test/Driver/Inputs/debian_6_mips_tree/lib/.keep0
-rw-r--r--test/Driver/Inputs/debian_6_mips_tree/lib32/.keep0
-rw-r--r--test/Driver/Inputs/debian_6_mips_tree/lib64/.keep0
-rw-r--r--test/Driver/Inputs/debian_6_mips_tree/usr/lib/crt1.o0
-rw-r--r--test/Driver/Inputs/debian_6_mips_tree/usr/lib/crti.o0
-rw-r--r--test/Driver/Inputs/debian_6_mips_tree/usr/lib/gcc/mipsel-linux-gnu/4.4/64/crtbegin.o0
-rw-r--r--test/Driver/Inputs/debian_6_mips_tree/usr/lib/gcc/mipsel-linux-gnu/4.4/crtbegin.o0
-rw-r--r--test/Driver/Inputs/debian_6_mips_tree/usr/lib/gcc/mipsel-linux-gnu/4.4/n32/crtbegin.o0
-rw-r--r--test/Driver/Inputs/debian_6_mips_tree/usr/lib32/crt1.o0
-rw-r--r--test/Driver/Inputs/debian_6_mips_tree/usr/lib32/crti.o0
-rw-r--r--test/Driver/Inputs/debian_6_mips_tree/usr/lib64/crt1.o0
-rw-r--r--test/Driver/Inputs/debian_6_mips_tree/usr/lib64/crti.o0
-rw-r--r--test/Driver/Inputs/freescale_ppc64_tree/lib64/.keep0
-rw-r--r--test/Driver/Inputs/freescale_ppc64_tree/usr/lib64/crt1.o0
-rw-r--r--test/Driver/Inputs/freescale_ppc64_tree/usr/lib64/crti.o0
-rw-r--r--test/Driver/Inputs/freescale_ppc64_tree/usr/lib64/crtn.o0
-rw-r--r--test/Driver/Inputs/freescale_ppc64_tree/usr/lib64/powerpc64-fsl-linux/4.6.2/crtbegin.o0
-rw-r--r--test/Driver/Inputs/freescale_ppc64_tree/usr/lib64/powerpc64-fsl-linux/4.6.2/crtend.o0
-rw-r--r--test/Driver/Inputs/freescale_ppc_tree/lib/.keep0
-rw-r--r--test/Driver/Inputs/freescale_ppc_tree/usr/lib/crt1.o0
-rw-r--r--test/Driver/Inputs/freescale_ppc_tree/usr/lib/crti.o0
-rw-r--r--test/Driver/Inputs/freescale_ppc_tree/usr/lib/crtn.o0
-rw-r--r--test/Driver/Inputs/freescale_ppc_tree/usr/lib/powerpc-fsl-linux/4.6.2/crtbegin.o0
-rw-r--r--test/Driver/Inputs/freescale_ppc_tree/usr/lib/powerpc-fsl-linux/4.6.2/crtend.o0
-rw-r--r--test/Driver/Wp-args.c8
-rw-r--r--test/Driver/altivec.cpp12
-rw-r--r--test/Driver/android-standalone.cpp65
-rw-r--r--test/Driver/apple-kext-i386.cpp55
-rw-r--r--test/Driver/arc.c6
-rw-r--r--test/Driver/arm-darwin-builtin.c2
-rw-r--r--test/Driver/asan-ld.c31
-rw-r--r--test/Driver/asan.c1
-rw-r--r--test/Driver/bindings.c58
-rw-r--r--test/Driver/bitrig.c29
-rw-r--r--test/Driver/clang-translation.c107
-rw-r--r--test/Driver/cpath.c4
-rw-r--r--test/Driver/crash-report.c3
-rw-r--r--test/Driver/darwin-arch-default.c7
-rw-r--r--test/Driver/darwin-asan-nofortify.c6
-rw-r--r--test/Driver/darwin-cc.c4
-rw-r--r--test/Driver/darwin-ld.c6
-rw-r--r--test/Driver/darwin-sdkroot.c22
-rw-r--r--test/Driver/fast-math.c49
-rw-r--r--test/Driver/freebsd-mips-as.c81
-rw-r--r--test/Driver/freebsd.c58
-rw-r--r--test/Driver/fsanitize.c23
-rw-r--r--test/Driver/gcc_forward.c2
-rw-r--r--test/Driver/hello.c18
-rw-r--r--test/Driver/immediate-options.c6
-rw-r--r--test/Driver/ios-simulator-arcruntime.c8
-rw-r--r--test/Driver/le32-unknown-nacl.cpp6
-rw-r--r--test/Driver/linker-opts.c2
-rw-r--r--test/Driver/linux-header-search.cpp4
-rw-r--r--test/Driver/linux-ld.c210
-rw-r--r--test/Driver/mips-as.c27
-rw-r--r--test/Driver/mips-features.c6
-rw-r--r--test/Driver/mips-float.c12
-rw-r--r--test/Driver/no-objc-arr.m1
-rw-r--r--test/Driver/objc++-cpp-output.mm3
-rw-r--r--test/Driver/objc-cpp-output.m3
-rw-r--r--test/Driver/openbsd.c12
-rw-r--r--test/Driver/pic.c162
-rw-r--r--test/Driver/retain-comments-from-system-headers.c9
-rw-r--r--test/Driver/rewrite-legacy-objc.m10
-rw-r--r--test/Driver/rewrite-objc.m11
-rw-r--r--test/Driver/stack-protector.c11
-rw-r--r--test/Driver/std.cpp8
-rw-r--r--test/Driver/tsan.c11
-rw-r--r--test/Driver/ubsan-ld.c10
-rw-r--r--test/Driver/warning-options.cpp5
-rw-r--r--test/Driver/working-directory-and-abs.c1
-rw-r--r--test/Driver/x86_64-nacl-defines.cpp45
-rw-r--r--test/Driver/x86_64-nacl-types.cpp37
-rw-r--r--test/FixIt/fixit-cxx0x.cpp2
-rw-r--r--test/FixIt/fixit-include.c2
-rw-r--r--test/FixIt/fixit-missing-self-in-block.m20
-rw-r--r--test/FixIt/fixit-objc.m2
-rw-r--r--test/FixIt/fixit.c7
-rw-r--r--test/FixIt/fixit.cpp9
-rw-r--r--test/FixIt/format-darwin.m198
-rw-r--r--test/FixIt/no-fixit.cpp6
-rw-r--r--test/FixIt/typo.cpp42
-rw-r--r--test/Frontend/ast-codegen.c4
-rw-r--r--test/Frontend/iframework.c3
-rw-r--r--test/Frontend/macros.c9
-rw-r--r--test/Frontend/unknown-pragmas.c1
-rw-r--r--test/Frontend/verify.c7
-rw-r--r--test/Frontend/verify2.c7
-rw-r--r--test/Frontend/verify3.c41
-rw-r--r--test/Frontend/warning-mapping-1.c1
-rw-r--r--test/Frontend/warning-mapping-4.c1
-rw-r--r--test/Headers/Inputs/include/stdint.h18
-rw-r--r--test/Headers/altivec-header.c12
-rw-r--r--test/Headers/c89.c1
-rw-r--r--test/Headers/int64-type.c1
-rw-r--r--test/Headers/typedef_guards.c1
-rw-r--r--test/Headers/unwind.c19
-rw-r--r--test/Headers/wchar_limits.cpp1
-rw-r--r--test/Headers/wmmintrin.c1
-rw-r--r--test/Index/Inputs/CommentXML/valid-availability-attr-01.xml11
-rw-r--r--test/Index/Inputs/CommentXML/valid-availability-attr-02.xml11
-rw-r--r--test/Index/Inputs/CommentXML/valid-deprecated-attr.xml6
-rw-r--r--test/Index/Inputs/CommentXML/valid-unavailable-attr.xml7
-rw-r--r--test/Index/Inputs/Frameworks/module.map1
-rw-r--r--test/Index/Inputs/retain-comments-from-system-headers.h8
-rw-r--r--test/Index/annotate-comments-availability-attrs.cpp44
-rw-r--r--test/Index/annotate-comments.cpp177
-rw-r--r--test/Index/annotate-deep-statements.cpp95
-rw-r--r--test/Index/annotate-macro-args.m4
-rw-r--r--test/Index/annotate-module.m42
-rw-r--r--test/Index/arc-annotate.m21
-rw-r--r--test/Index/c-index-getCursor-pp.c4
-rw-r--r--test/Index/code-completion-skip-bodies.cpp20
-rw-r--r--test/Index/comment-xml-schema.c5
-rw-r--r--test/Index/complete-cxx-inline-methods.cpp4
-rw-r--r--test/Index/complete-documentation-templates.cpp151
-rw-r--r--test/Index/complete-documentation.cpp4
-rw-r--r--test/Index/complete-exprs.cpp6
-rw-r--r--test/Index/complete-lambdas.mm14
-rw-r--r--test/Index/complete-macros.c5
-rw-r--r--test/Index/complete-method-decls.m16
-rw-r--r--test/Index/complete-objc-message.m12
-rw-r--r--test/Index/complete-preamble.cpp2
-rw-r--r--test/Index/complete-preprocessor.m4
-rw-r--r--test/Index/complete-property-flags.m20
-rw-r--r--test/Index/complete-qualified.cpp8
-rw-r--r--test/Index/cursor-dynamic-call.mm8
-rw-r--r--test/Index/get-cursor-macro-args.h4
-rw-r--r--test/Index/get-cursor-macro-args.m8
-rw-r--r--test/Index/get-cursor.m13
-rw-r--r--test/Index/index-decls.m13
-rw-r--r--test/Index/index-file.cpp6
-rw-r--r--test/Index/index-module.m54
-rw-r--r--test/Index/index-pch-with-module.m31
-rw-r--r--test/Index/index-pch.cpp6
-rw-r--r--test/Index/index-with-working-dir.c5
-rw-r--r--test/Index/overrides.cpp3
-rw-r--r--test/Index/overrides.m4
-rw-r--r--test/Index/overriding-ftemplate-comments.cpp79
-rw-r--r--test/Index/overriding-method-comments.mm124
-rw-r--r--test/Index/preamble-reparse-with-BOM.m6
-rw-r--r--test/Index/rdar12316296-codecompletion.m23
-rw-r--r--test/Index/recursive-cxx-member-calls.cpp2
-rw-r--r--test/Index/retain-comments-from-system-headers.c19
-rw-r--r--test/Index/usrs.m2
-rw-r--r--test/Lexer/clang-keywords.cpp1
-rw-r--r--test/Lexer/digraph.c1
-rw-r--r--test/Lexer/dollar-idents.c8
-rw-r--r--test/Lexer/eof-char.c8
-rw-r--r--test/Lexer/eof-file.c8
-rw-r--r--test/Lexer/eof-string.c8
-rw-r--r--test/Lexer/gnu_keywords.c1
-rw-r--r--test/Lexer/has_feature_address_sanitizer.cpp2
-rw-r--r--test/Lexer/long-long.cpp24
-rw-r--r--test/Lexer/msdos-cpm-eof.c1
-rw-r--r--test/Lexer/newline-eof-c++11.cpp1
-rw-r--r--test/Lexer/numeric-literal-trash.c2
-rw-r--r--test/Lexer/pragma-mark.c1
-rw-r--r--test/Lexer/rdr-6096838.c1
-rw-r--r--test/Lexer/string-literal-errors.cpp25
-rw-r--r--test/Misc/ast-dump-stmt.c35
-rw-r--r--test/Misc/ast-dump-stmt.m36
-rw-r--r--test/Misc/caret-diags-macros.c79
-rw-r--r--test/Misc/diag-template-diffing-color.cpp53
-rw-r--r--test/Misc/diag-template-diffing.cpp366
-rw-r--r--test/Misc/predefines.c1
-rw-r--r--test/Misc/unnecessary-elipses.cpp15
-rw-r--r--test/Misc/unprintable.c41
-rw-r--r--test/Misc/warning-flags-enabled.c16
-rw-r--r--test/Misc/warning-flags.c15
-rw-r--r--test/Misc/wrong-encoding.c33
-rw-r--r--test/Misc/wrong-encoding2.c8
-rw-r--r--test/Modules/Inputs/Modified/A.h1
-rw-r--r--test/Modules/Inputs/Modified/B.h2
-rw-r--r--test/Modules/Inputs/Modified/module.map2
-rw-r--r--test/Modules/Inputs/Module.framework/Headers/Module.h2
-rw-r--r--test/Modules/Inputs/NoUmbrella.framework/module.map5
-rw-r--r--test/Modules/Inputs/NotAModule.framework/Headers/NotAModule.h2
-rw-r--r--test/Modules/Inputs/lookup_right.hpp1
-rw-r--r--test/Modules/Inputs/macros.h9
-rw-r--r--test/Modules/Inputs/macros_left.h14
-rw-r--r--test/Modules/Inputs/macros_other.h1
-rw-r--r--test/Modules/Inputs/macros_right.h17
-rw-r--r--test/Modules/Inputs/macros_right_undef.h1
-rw-r--r--test/Modules/Inputs/macros_top.h16
-rw-r--r--test/Modules/Inputs/module.map30
-rw-r--r--test/Modules/Inputs/normal-module-map/nested_umbrella/1.h1
-rw-r--r--test/Modules/Inputs/normal-module-map/nested_umbrella/a-extras.h1
-rw-r--r--test/Modules/Inputs/normal-module-map/nested_umbrella/decltype.h2
-rw-r--r--test/Modules/Inputs/redecl-merge-bottom.h8
-rw-r--r--test/Modules/Inputs/redecl-merge-left.h8
-rw-r--r--test/Modules/Inputs/redecl-merge-right.h9
-rw-r--r--test/Modules/Inputs/redecl-merge-top.h4
-rw-r--r--test/Modules/Inputs/templates-left.h29
-rw-r--r--test/Modules/Inputs/templates-right.h27
-rw-r--r--test/Modules/Inputs/templates-top.h17
-rw-r--r--test/Modules/compiler_builtins.m2
-rw-r--r--test/Modules/direct-module-import.m7
-rw-r--r--test/Modules/header-import.m1
-rw-r--r--test/Modules/import-decl.cpp2
-rw-r--r--test/Modules/inferred-frameworks.m8
-rw-r--r--test/Modules/inferred-submodules.m1
-rw-r--r--test/Modules/macros.c107
-rw-r--r--test/Modules/modify-module.m23
-rw-r--r--test/Modules/module-private.cpp7
-rw-r--r--test/Modules/normal-module-map.cpp10
-rw-r--r--test/Modules/on-demand-macros.m1
-rw-r--r--test/Modules/redecl-merge.m20
-rw-r--r--test/Modules/redeclarations.m1
-rw-r--r--test/Modules/submodules.m1
-rw-r--r--test/Modules/templates.mm36
-rw-r--r--test/PCH/Inputs/badpch-dir.h.gch/.keep0
-rw-r--r--test/PCH/Inputs/badpch-empty.h.gch0
-rw-r--r--test/PCH/Inputs/case-insensitive-include.h5
-rw-r--r--test/PCH/Inputs/chain-macro-override1.h4
-rw-r--r--test/PCH/Inputs/chain-macro-override2.h3
-rw-r--r--test/PCH/Inputs/cxx11-statement-attributes.h14
-rw-r--r--test/PCH/__va_list_tag.c2
-rw-r--r--test/PCH/asm.c1
-rw-r--r--test/PCH/badpch.c6
-rw-r--r--test/PCH/builtins.c2
-rw-r--r--test/PCH/case-insensitive-include.c29
-rw-r--r--test/PCH/chain-categories.m2
-rw-r--r--test/PCH/chain-class-extension.m2
-rw-r--r--test/PCH/chain-cxx.cpp2
-rw-r--r--test/PCH/chain-decls.c2
-rw-r--r--test/PCH/chain-macro-override.c2
-rw-r--r--test/PCH/chain-macro.c1
-rw-r--r--test/PCH/chain-remap-types.m1
-rw-r--r--test/PCH/cmdline-include.c1
-rw-r--r--test/PCH/cxx-exprs.cpp2
-rw-r--r--test/PCH/cxx-for-range.h5
-rw-r--r--test/PCH/cxx-friends.cpp2
-rw-r--r--test/PCH/cxx-functions.cpp2
-rw-r--r--test/PCH/cxx-implicit-moves.cpp1
-rw-r--r--test/PCH/cxx-method.cpp1
-rw-r--r--test/PCH/cxx-ms-function-specialization-class-scope.cpp1
-rw-r--r--test/PCH/cxx-namespaces.cpp2
-rw-r--r--test/PCH/cxx-templates.cpp21
-rw-r--r--test/PCH/cxx-templates.h5
-rw-r--r--test/PCH/cxx-traits.cpp2
-rw-r--r--test/PCH/cxx-typeid.cpp2
-rw-r--r--test/PCH/cxx-variadic-templates.cpp6
-rw-r--r--test/PCH/cxx-variadic-templates.h7
-rw-r--r--test/PCH/cxx11-constexpr.cpp9
-rw-r--r--test/PCH/cxx11-exception-spec.cpp1
-rw-r--r--test/PCH/cxx11-statement-attributes.cpp12
-rw-r--r--test/PCH/cxx_exprs.cpp8
-rw-r--r--test/PCH/cxx_exprs.h5
-rw-r--r--test/PCH/empty-with-headers.c2
-rw-r--r--test/PCH/enum.c2
-rw-r--r--test/PCH/exprs.c6
-rw-r--r--test/PCH/field-designator.c35
-rw-r--r--test/PCH/friend-template.cpp46
-rw-r--r--test/PCH/fuzzy-pch.c16
-rw-r--r--test/PCH/missing-file.cpp17
-rw-r--r--test/PCH/objc_container.m6
-rw-r--r--test/PCH/objc_import.m2
-rw-r--r--test/PCH/objc_literals.m10
-rw-r--r--test/PCH/objc_literals.mm10
-rw-r--r--test/PCH/objc_methods.m2
-rw-r--r--test/PCH/objc_property.m2
-rw-r--r--test/PCH/pch-dir.c28
-rw-r--r--test/PCH/pch-dir.h5
-rw-r--r--test/PCH/pending-ids.m2
-rw-r--r--test/PCH/pragma-diag-section.cpp19
-rw-r--r--test/PCH/pragma-diag.c2
-rw-r--r--test/PCH/rdar8852495.c2
-rw-r--r--test/PCH/reinclude.cpp2
-rw-r--r--test/PCH/single-token-macro.c2
-rw-r--r--test/PCH/target-options.c5
-rw-r--r--test/PCH/target-options.h2
-rw-r--r--test/Parser/MicrosoftExtensions.cpp56
-rw-r--r--test/Parser/block-block-storageclass.c1
-rw-r--r--test/Parser/block-pointer-decl.c1
-rw-r--r--test/Parser/builtin_classify_type.c2
-rw-r--r--test/Parser/check-objc2-syntax-1.m1
-rw-r--r--test/Parser/colon-colon-parentheses.cpp22
-rw-r--r--test/Parser/compound_literal.c1
-rw-r--r--test/Parser/cxx-ambig-decl-expr.cpp3
-rw-r--r--test/Parser/cxx-attributes.cpp1
-rw-r--r--test/Parser/cxx-casting.cpp12
-rw-r--r--test/Parser/cxx-class.cpp14
-rw-r--r--test/Parser/cxx-decl.cpp5
-rw-r--r--test/Parser/cxx-extern-c-array.cpp1
-rw-r--r--test/Parser/cxx-stmt.cpp8
-rw-r--r--test/Parser/cxx-template-argument.cpp17
-rw-r--r--test/Parser/cxx0x-attributes.cpp26
-rw-r--r--test/Parser/cxx0x-condition.cpp9
-rw-r--r--test/Parser/cxx0x-decl.cpp14
-rw-r--r--test/Parser/cxx0x-lambda-expressions.cpp3
-rw-r--r--test/Parser/cxx0x-override-control-keywords.cpp1
-rw-r--r--test/Parser/cxx11-brace-initializers.cpp16
-rw-r--r--test/Parser/cxx11-stmt-attributes.cpp77
-rw-r--r--test/Parser/cxx11-user-defined-literals.cpp3
-rw-r--r--test/Parser/empty-translation-unit.c2
-rw-r--r--test/Parser/encode.m1
-rw-r--r--test/Parser/enhanced-proto-1.m1
-rw-r--r--test/Parser/if-scope-c90.c1
-rw-r--r--test/Parser/knr_parameter_attributes.c1
-rw-r--r--test/Parser/ms-inline-asm.c8
-rw-r--r--test/Parser/namelookup-bug-1.c1
-rw-r--r--test/Parser/namelookup-bug-2.c1
-rw-r--r--test/Parser/namespaces.cpp4
-rw-r--r--test/Parser/objcxx11-attributes.mm18
-rw-r--r--test/Parser/opencl-kernel.cl1
-rw-r--r--test/Parser/parmvardecl_conversion.c1
-rw-r--r--test/Parser/pragma-fp-contract.c12
-rw-r--r--test/Parser/pragma-options.cpp6
-rw-r--r--test/Parser/recovery.cpp7
-rw-r--r--test/Parser/recursion-limits.cpp1
-rw-r--r--test/Parser/selector-1.m1
-rw-r--r--test/Parser/statements.c15
-rw-r--r--test/Parser/top-level-semi-cxx0x.cpp1
-rw-r--r--test/Parser/types.c1
-rw-r--r--test/Preprocessor/comment_save_if.c1
-rw-r--r--test/Preprocessor/cxx_true.cpp2
-rw-r--r--test/Preprocessor/expr_define_expansion.c1
-rw-r--r--test/Preprocessor/expr_multichar.c1
-rw-r--r--test/Preprocessor/has_include.c32
-rw-r--r--test/Preprocessor/import_self.c2
-rw-r--r--test/Preprocessor/init.c293
-rw-r--r--test/Preprocessor/macro_arg_directive.c7
-rw-r--r--test/Preprocessor/macro_fn_comma_swallow2.c64
-rw-r--r--test/Preprocessor/macro_paste_identifier_error.c1
-rw-r--r--test/Preprocessor/microsoft-ext.c24
-rw-r--r--test/Preprocessor/objc-pp.m1
-rw-r--r--test/Preprocessor/optimize.c3
-rw-r--r--test/Preprocessor/pr13851.c11
-rw-r--r--test/Preprocessor/pragma-pushpop-macro.c19
-rw-r--r--test/Preprocessor/pragma_sysheader.c3
-rw-r--r--test/Preprocessor/predefined-arch-macros.c2
-rw-r--r--test/Preprocessor/user_defined_system_framework.c3
-rw-r--r--test/Rewriter/no-integrated-preprocessing-64bit.m26
-rw-r--r--test/Rewriter/no-integrated-preprocessing.m26
-rw-r--r--test/Rewriter/objc-modern-StretAPI-2.mm30
-rw-r--r--test/Rewriter/objc-modern-boxing.mm2
-rw-r--r--test/Rewriter/objc-modern-numeric-literal.mm2
-rw-r--r--test/Sema/MicrosoftCompatibility-x64.c8
-rw-r--r--test/Sema/MicrosoftCompatibility-x86.c6
-rw-r--r--test/Sema/MicrosoftCompatibility.c2
-rw-r--r--test/Sema/PR2727.c1
-rw-r--r--test/Sema/PR2728.c1
-rw-r--r--test/Sema/PR2923.c1
-rw-r--r--test/Sema/address-constant.c1
-rw-r--r--test/Sema/align-arm-apcs.c1
-rw-r--r--test/Sema/align-x86-64.c1
-rw-r--r--test/Sema/align-x86.c1
-rw-r--r--test/Sema/arg-scope-c99.c1
-rw-r--r--test/Sema/arg-scope.c1
-rw-r--r--test/Sema/arm-layout.c1
-rw-r--r--test/Sema/array-init.c2
-rw-r--r--test/Sema/asm.c2
-rw-r--r--test/Sema/assign-null.c1
-rw-r--r--test/Sema/atomic-ops.c7
-rw-r--r--test/Sema/attr-availability-macosx.c6
-rw-r--r--test/Sema/attr-availability.c6
-rw-r--r--test/Sema/attr-minsize.c5
-rw-r--r--test/Sema/attr-used.c2
-rw-r--r--test/Sema/bitfield-layout.c1
-rw-r--r--test/Sema/bitfield-promote.c1
-rw-r--r--test/Sema/block-return.c2
-rw-r--r--test/Sema/block-storageclass.c1
-rw-r--r--test/Sema/builtin_objc_msgSend.c1
-rw-r--r--test/Sema/builtins-arm.c20
-rw-r--r--test/Sema/builtins-decl.c1
-rw-r--r--test/Sema/builtins.c16
-rw-r--r--test/Sema/c89-2.c5
-rw-r--r--test/Sema/c89.c6
-rw-r--r--test/Sema/callingconv.c8
-rw-r--r--test/Sema/cast-to-union.c6
-rw-r--r--test/Sema/cast.c15
-rw-r--r--test/Sema/check-increment.c1
-rw-r--r--test/Sema/compare.c32
-rw-r--r--test/Sema/complex-promotion.c1
-rw-r--r--test/Sema/compound-literal.c19
-rw-r--r--test/Sema/const-eval-64.c1
-rw-r--r--test/Sema/const-ptr-int-ptr-cast.c1
-rw-r--r--test/Sema/constant-builtins-2.c3
-rw-r--r--test/Sema/constant-builtins.c4
-rw-r--r--test/Sema/darwin-align-cast.c1
-rw-r--r--test/Sema/enum-packed.c1
-rw-r--r--test/Sema/expr-comma-c99.c1
-rw-r--r--test/Sema/expr-comma.c1
-rw-r--r--test/Sema/exprs.c2
-rw-r--r--test/Sema/format-string-percentm.c1
-rw-r--r--test/Sema/format-strings-darwin.c64
-rw-r--r--test/Sema/format-strings-gnu.c55
-rw-r--r--test/Sema/format-strings-non-iso.c16
-rw-r--r--test/Sema/format-strings-scanf.c16
-rw-r--r--test/Sema/format-strings.c12
-rw-r--r--test/Sema/function-redecl.c4
-rw-r--r--test/Sema/heinous-extensions-on.c4
-rw-r--r--test/Sema/i-c-e.c2
-rw-r--r--test/Sema/implicit-builtin-freestanding.c1
-rw-r--r--test/Sema/init-struct-qualified.c1
-rw-r--r--test/Sema/init-vector.c1
-rw-r--r--test/Sema/int-arith-convert.c1
-rw-r--r--test/Sema/invalid-decl.c9
-rw-r--r--test/Sema/knr-variadic-def.c1
-rw-r--r--test/Sema/many-logical-ops.c1
-rw-r--r--test/Sema/member-reference.c1
-rw-r--r--test/Sema/mms-bitfields.c13
-rw-r--r--test/Sema/ms-inline-asm.c35
-rw-r--r--test/Sema/ms_wide_predefined_expr.cpp1
-rw-r--r--test/Sema/no-format-y2k-turnsoff-format.c2
-rw-r--r--test/Sema/outof-range-constant-compare.c149
-rw-r--r--test/Sema/overloaded-func-transparent-union.c1
-rw-r--r--test/Sema/parentheses.c6
-rw-r--r--test/Sema/parentheses.cpp12
-rw-r--r--test/Sema/pragma-align-mac68k.c13
-rw-r--r--test/Sema/pragma-align-packed.c1
-rw-r--r--test/Sema/pragma-ms_struct.c6
-rw-r--r--test/Sema/pragma-pack-2.c1
-rw-r--r--test/Sema/pragma-pack-3.c1
-rw-r--r--test/Sema/pragma-pack-4.c1
-rw-r--r--test/Sema/pragma-pack-5.c1
-rw-r--r--test/Sema/pragma-pack-6.c1
-rw-r--r--test/Sema/pragma-pack-and-options-align.c11
-rw-r--r--test/Sema/private-extern.c2
-rw-r--r--test/Sema/return-silent.c1
-rw-r--r--test/Sema/short-enums.c1
-rw-r--r--test/Sema/stdcall-fastcall-x64.c20
-rw-r--r--test/Sema/stdcall-fastcall.c1
-rw-r--r--test/Sema/struct-cast.c1
-rw-r--r--test/Sema/struct-packed-align.c1
-rw-r--r--test/Sema/surpress-deprecated.c1
-rw-r--r--test/Sema/template-specialization.cpp21
-rw-r--r--test/Sema/tentative-decls.c3
-rw-r--r--test/Sema/thread-specifier.c9
-rw-r--r--test/Sema/tls.c3
-rw-r--r--test/Sema/transparent-union-pointer.c1
-rw-r--r--test/Sema/typedef-prototype.c1
-rw-r--r--test/Sema/types.c2
-rw-r--r--test/Sema/uninit-variables.c23
-rw-r--r--test/Sema/unnamed-bitfield-init.c1
-rw-r--r--test/Sema/unused-expr.c11
-rw-r--r--test/Sema/va_arg_x86_64.c1
-rw-r--r--test/Sema/variadic-block.c1
-rw-r--r--test/Sema/vector-cast.c12
-rw-r--r--test/Sema/vfprintf-valid-redecl.c1
-rw-r--r--test/Sema/warn-bad-function-cast.c47
-rw-r--r--test/Sema/warn-documentation-fixits.cpp44
-rw-r--r--test/Sema/warn-documentation.cpp136
-rw-r--r--test/Sema/warn-documentation.m8
-rw-r--r--test/Sema/warn-gnu-designators.c1
-rw-r--r--test/Sema/warn-missing-variable-declarations.c18
-rw-r--r--test/Sema/warn-type-safety-mpi-hdf5.c4
-rw-r--r--test/Sema/warn-type-safety.c8
-rw-r--r--test/Sema/warn-type-safety.cpp4
-rw-r--r--test/Sema/warn-unreachable.c9
-rw-r--r--test/Sema/warn-unused-function.c14
-rw-r--r--test/Sema/wchar.c2
-rw-r--r--test/Sema/weak-import-on-enum.c1
-rw-r--r--test/SemaCXX/2008-01-11-BadWarning.cpp1
-rw-r--r--test/SemaCXX/MicrosoftCompatibilityNoExceptions.cpp1
-rw-r--r--test/SemaCXX/MicrosoftExtensions.cpp7
-rw-r--r--test/SemaCXX/PR10447.cpp1
-rw-r--r--test/SemaCXX/PR5086-ambig-resolution-enum.cpp1
-rw-r--r--test/SemaCXX/PR6562.cpp1
-rw-r--r--test/SemaCXX/PR9884.cpp1
-rw-r--r--test/SemaCXX/PR9902.cpp1
-rw-r--r--test/SemaCXX/PR9908.cpp1
-rw-r--r--test/SemaCXX/__try.cpp1
-rw-r--r--test/SemaCXX/ambiguous-conversion-show-overload.cpp21
-rw-r--r--test/SemaCXX/anonymous-union-cxx11.cpp1
-rw-r--r--test/SemaCXX/ast-print.cpp83
-rw-r--r--test/SemaCXX/attr-format.cpp8
-rw-r--r--test/SemaCXX/attr-nodebug.cpp7
-rw-r--r--test/SemaCXX/attr-noreturn.cpp26
-rw-r--r--test/SemaCXX/attr-unused.cpp9
-rw-r--r--test/SemaCXX/blocks-1.cpp1
-rw-r--r--test/SemaCXX/blocks.cpp1
-rw-r--r--test/SemaCXX/borland-extensions.cpp1
-rw-r--r--test/SemaCXX/builtin-exception-spec.cpp1
-rw-r--r--test/SemaCXX/builtin-ptrtomember-overload.cpp1
-rw-r--r--test/SemaCXX/builtin_objc_msgSend.cpp1
-rw-r--r--test/SemaCXX/builtins-arm.cpp6
-rw-r--r--test/SemaCXX/builtins-va_arg.cpp52
-rw-r--r--test/SemaCXX/builtins.cpp13
-rw-r--r--test/SemaCXX/cast-conversion.cpp22
-rw-r--r--test/SemaCXX/cast-explicit-ctor.cpp1
-rw-r--r--test/SemaCXX/class-layout.cpp1
-rw-r--r--test/SemaCXX/class.cpp2
-rw-r--r--test/SemaCXX/comma.cpp1
-rw-r--r--test/SemaCXX/compare.cpp32
-rw-r--r--test/SemaCXX/complex-init-list.cpp1
-rw-r--r--test/SemaCXX/conditional-expr.cpp13
-rw-r--r--test/SemaCXX/constant-expression-cxx11.cpp83
-rw-r--r--test/SemaCXX/constant-expression.cpp2
-rw-r--r--test/SemaCXX/constexpr-turing.cpp1
-rw-r--r--test/SemaCXX/constructor-initializer.cpp16
-rw-r--r--test/SemaCXX/crashes.cpp35
-rw-r--r--test/SemaCXX/cstyle-cast.cpp1
-rw-r--r--test/SemaCXX/cxx0x-delegating-ctors.cpp4
-rw-r--r--test/SemaCXX/cxx0x-initializer-constructor.cpp16
-rw-r--r--test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp4
-rw-r--r--test/SemaCXX/cxx11-crashes.cpp76
-rw-r--r--test/SemaCXX/cxx98-compat-pedantic.cpp6
-rw-r--r--test/SemaCXX/cxx98-compat.cpp13
-rw-r--r--test/SemaCXX/dcl_ambig_res.cpp3
-rw-r--r--test/SemaCXX/decl-expr-ambiguity.cpp2
-rw-r--r--test/SemaCXX/decltype-98.cpp1
-rw-r--r--test/SemaCXX/decltype-overloaded-functions.cpp25
-rw-r--r--test/SemaCXX/decltype-pr4444.cpp1
-rw-r--r--test/SemaCXX/decltype-pr4448.cpp1
-rw-r--r--test/SemaCXX/decltype-this.cpp1
-rw-r--r--test/SemaCXX/decltype.cpp15
-rw-r--r--test/SemaCXX/default-argument-temporaries.cpp1
-rw-r--r--test/SemaCXX/defaulted-ctor-loop.cpp2
-rw-r--r--test/SemaCXX/do-while-scope.cpp1
-rw-r--r--test/SemaCXX/empty-class-layout.cpp1
-rw-r--r--test/SemaCXX/exception-spec-no-exceptions.cpp1
-rw-r--r--test/SemaCXX/explicit.cpp22
-rw-r--r--test/SemaCXX/for-range-dereference.cpp89
-rw-r--r--test/SemaCXX/for-range-examples.cpp2
-rw-r--r--test/SemaCXX/for-range-no-std.cpp4
-rw-r--r--test/SemaCXX/format-strings.cpp60
-rw-r--r--test/SemaCXX/friend-out-of-line.cpp1
-rw-r--r--test/SemaCXX/function-type-qual.cpp3
-rw-r--r--test/SemaCXX/functional-cast.cpp1
-rw-r--r--test/SemaCXX/gnu-case-ranges.cpp1
-rw-r--r--test/SemaCXX/goto2.cpp1
-rw-r--r--test/SemaCXX/implicit-exception-spec.cpp11
-rw-r--r--test/SemaCXX/indirect-goto.cpp1
-rw-r--r--test/SemaCXX/issue547.cpp1
-rw-r--r--test/SemaCXX/lambda-expressions.cpp29
-rw-r--r--test/SemaCXX/libstdcxx_atomic_ns_hack.cpp35
-rw-r--r--test/SemaCXX/libstdcxx_common_type_hack.cpp33
-rw-r--r--test/SemaCXX/libstdcxx_is_pod_hack.cpp12
-rw-r--r--test/SemaCXX/local-classes.cpp1
-rw-r--r--test/SemaCXX/lookup-member.cpp1
-rw-r--r--test/SemaCXX/member-expr-anonymous-union.cpp1
-rw-r--r--test/SemaCXX/member-expr-static.cpp1
-rw-r--r--test/SemaCXX/member-pointer-size.cpp1
-rw-r--r--test/SemaCXX/missing-header.cpp2
-rw-r--r--test/SemaCXX/ms-exception-spec.cpp1
-rw-r--r--test/SemaCXX/ms-interface.cpp77
-rw-r--r--test/SemaCXX/nested-name-spec.cpp11
-rw-r--r--test/SemaCXX/new-delete-0x.cpp9
-rw-r--r--test/SemaCXX/new-delete-predefined-decl-2.cpp1
-rw-r--r--test/SemaCXX/new-delete-predefined-decl.cpp1
-rw-r--r--test/SemaCXX/no-warn-composite-pointer-type.cpp9
-rw-r--r--test/SemaCXX/no-wchar.cpp9
-rw-r--r--test/SemaCXX/null_in_arithmetic_ops.cpp2
-rw-r--r--test/SemaCXX/nullptr-98.cpp1
-rw-r--r--test/SemaCXX/overload-value-dep-arg.cpp1
-rw-r--r--test/SemaCXX/overloaded-builtin-operators-0x.cpp1
-rw-r--r--test/SemaCXX/overloaded-builtin-operators.cpp2
-rw-r--r--test/SemaCXX/overloaded-operator-decl.cpp10
-rw-r--r--test/SemaCXX/pragma-pack.cpp1
-rw-r--r--test/SemaCXX/pragma-unused.cpp1
-rw-r--r--test/SemaCXX/pragma-visibility.cpp7
-rw-r--r--test/SemaCXX/prefetch-enum.cpp1
-rw-r--r--test/SemaCXX/primary-base.cpp1
-rw-r--r--test/SemaCXX/ptrtomember-overload-resolution.cpp1
-rw-r--r--test/SemaCXX/qualified-member-enum.cpp1
-rw-r--r--test/SemaCXX/references.cpp2
-rw-r--r--test/SemaCXX/scope-check.cpp103
-rw-r--r--test/SemaCXX/short-wchar-sign.cpp1
-rw-r--r--test/SemaCXX/static-initializers.cpp1
-rw-r--r--test/SemaCXX/switch-implicit-fallthrough-cxx98.cpp3
-rw-r--r--test/SemaCXX/switch-implicit-fallthrough-macro.cpp139
-rw-r--r--test/SemaCXX/switch-implicit-fallthrough-per-method.cpp2
-rw-r--r--test/SemaCXX/tag-ambig.cpp1
-rw-r--r--test/SemaCXX/trailing-return-0x.cpp16
-rw-r--r--test/SemaCXX/trivial-constructor.cpp1
-rw-r--r--test/SemaCXX/trivial-destructor.cpp1
-rw-r--r--test/SemaCXX/typo-correction.cpp12
-rw-r--r--test/SemaCXX/uninitialized.cpp151
-rw-r--r--test/SemaCXX/unknown-type-name.cpp23
-rw-r--r--test/SemaCXX/unused-functions.cpp1
-rw-r--r--test/SemaCXX/unused.cpp27
-rw-r--r--test/SemaCXX/using-decl-pr4441.cpp1
-rw-r--r--test/SemaCXX/using-decl-pr4450.cpp1
-rw-r--r--test/SemaCXX/value-dependent-exprs.cpp1
-rw-r--r--test/SemaCXX/vararg-default-arg.cpp1
-rw-r--r--test/SemaCXX/vararg-non-pod.cpp18
-rw-r--r--test/SemaCXX/vector.cpp11
-rw-r--r--test/SemaCXX/warn-assignment-condition.cpp6
-rw-r--r--test/SemaCXX/warn-c++11-extensions.cpp7
-rw-r--r--test/SemaCXX/warn-enum-compare.cpp4
-rw-r--r--test/SemaCXX/warn-implicit-conversion-floating-point-to-bool.cpp24
-rw-r--r--test/SemaCXX/warn-missing-variable-declarations.cpp43
-rw-r--r--test/SemaCXX/warn-new-overaligned-2.cpp1
-rw-r--r--test/SemaCXX/warn-overloaded-virtual.cpp56
-rw-r--r--test/SemaCXX/warn-self-comparisons.cpp1
-rw-r--r--test/SemaCXX/warn-thread-safety-analysis.cpp669
-rw-r--r--test/SemaCXX/warn-thread-safety-parsing.cpp49
-rw-r--r--test/SemaCXX/warn-unique-enum.cpp27
-rw-r--r--test/SemaCXX/warn-unused-filescoped.cpp16
-rw-r--r--test/SemaCXX/warn-unused-variables.cpp17
-rw-r--r--test/SemaCXX/warn-using-namespace-in-header.cpp96
-rw-r--r--test/SemaCXX/warn-using-namespace-in-header.h50
-rw-r--r--test/SemaCXX/zero-length-arrays.cpp1
-rw-r--r--test/SemaObjC/ClassPropertyNotObject.m1
-rw-r--r--test/SemaObjC/ContClassPropertyLookup.m1
-rw-r--r--test/SemaObjC/arc-decls.m2
-rw-r--r--test/SemaObjC/arc-objc-lifetime.m31
-rw-r--r--test/SemaObjC/arc-property-decl-attrs.m6
-rw-r--r--test/SemaObjC/arc-property-lifetime.m22
-rw-r--r--test/SemaObjC/arc-property.m12
-rw-r--r--test/SemaObjC/arc-readonly-property-ivar-1.m1
-rw-r--r--test/SemaObjC/arc-readonly-property-ivar.m1
-rw-r--r--test/SemaObjC/arc-repeated-weak.mm386
-rw-r--r--test/SemaObjC/arc-setter-property-match.m1
-rw-r--r--test/SemaObjC/arc-system-header.m2
-rw-r--r--test/SemaObjC/arc-unavailable-for-weakref.m2
-rw-r--r--test/SemaObjC/arc-unsafe_unretained.m1
-rw-r--r--test/SemaObjC/attr-availability.m8
-rw-r--r--test/SemaObjC/attr-cleanup.m1
-rw-r--r--test/SemaObjC/attr-deprecated.m3
-rw-r--r--test/SemaObjC/block-as-object.m1
-rw-r--r--test/SemaObjC/block-ivar.m1
-rw-r--r--test/SemaObjC/block-return.m1
-rw-r--r--test/SemaObjC/builtin_objc_assign_ivar.m1
-rw-r--r--test/SemaObjC/builtin_objc_msgSend.m1
-rw-r--r--test/SemaObjC/category-method-lookup-2.m1
-rw-r--r--test/SemaObjC/category-method-lookup.m1
-rw-r--r--test/SemaObjC/class-getter-using-dotsyntax.m1
-rw-r--r--test/SemaObjC/class-property-access.m1
-rw-r--r--test/SemaObjC/class-protocol.m1
-rw-r--r--test/SemaObjC/comptypes-2.m1
-rw-r--r--test/SemaObjC/comptypes-8.m1
-rw-r--r--test/SemaObjC/conditional-expr-5.m1
-rw-r--r--test/SemaObjC/conditional-expr-6.m1
-rw-r--r--test/SemaObjC/conditional-expr-7.m1
-rw-r--r--test/SemaObjC/conditional-expr-8.m1
-rw-r--r--test/SemaObjC/conflict-nonfragile-abi2.m1
-rw-r--r--test/SemaObjC/continuation-class-err.m4
-rw-r--r--test/SemaObjC/crash-on-objc-bool-literal.m12
-rw-r--r--test/SemaObjC/default-synthesize-2.m4
-rw-r--r--test/SemaObjC/delay-parsing-cfunctions.m1
-rw-r--r--test/SemaObjC/direct-synthesized-ivar-access.m1
-rw-r--r--test/SemaObjC/enhanced-proto-2.m1
-rw-r--r--test/SemaObjC/enum-fixed-type.m1
-rw-r--r--test/SemaObjC/error-property-gc-attr.m8
-rw-r--r--test/SemaObjC/getter-setter-defined-in-category-of-parent.m1
-rw-r--r--test/SemaObjC/iboutletcollection-attr.m4
-rw-r--r--test/SemaObjC/id_builtin.m1
-rw-r--r--test/SemaObjC/idiomatic-parentheses.m11
-rw-r--r--test/SemaObjC/ignore-qualifier-on-qualified-id.m1
-rw-r--r--test/SemaObjC/ignore-weakimport-method.m1
-rw-r--r--test/SemaObjC/interface-layout-2.m1
-rw-r--r--test/SemaObjC/interface-layout.m1
-rw-r--r--test/SemaObjC/interface-scope-2.m1
-rw-r--r--test/SemaObjC/interface-scope.m1
-rw-r--r--test/SemaObjC/ivar-access-package.m1
-rw-r--r--test/SemaObjC/ivar-in-class-extension-error.m4
-rw-r--r--test/SemaObjC/ivar-in-class-extension.m2
-rw-r--r--test/SemaObjC/ivar-sem-check-2.m4
-rw-r--r--test/SemaObjC/method-attributes.m29
-rw-r--r--test/SemaObjC/method-conflict-1.m1
-rw-r--r--test/SemaObjC/method-in-class-extension-impl.m1
-rw-r--r--test/SemaObjC/method-lookup-2.m1
-rw-r--r--test/SemaObjC/method-lookup-4.m1
-rw-r--r--test/SemaObjC/method-typecheck-1.m15
-rw-r--r--test/SemaObjC/nested-typedef-decl.m1
-rw-r--r--test/SemaObjC/no-gc-weak-test.m1
-rw-r--r--test/SemaObjC/no-ivar-access-control.m1
-rw-r--r--test/SemaObjC/no-ivar-in-interface-block.m6
-rw-r--r--test/SemaObjC/no-warn-qual-mismatch.m1
-rw-r--r--test/SemaObjC/no-warn-synth-protocol-meth.m1
-rw-r--r--test/SemaObjC/no-warn-unimpl-method.m1
-rw-r--r--test/SemaObjC/no-warning-unavail-unimp.m1
-rw-r--r--test/SemaObjC/nonarc-weak.m16
-rw-r--r--test/SemaObjC/nonnull.m1
-rw-r--r--test/SemaObjC/nowarn-superclass-method-mismatch.m1
-rw-r--r--test/SemaObjC/nsobject-attribute-1.m1
-rw-r--r--test/SemaObjC/nsobject-attribute.m11
-rw-r--r--test/SemaObjC/objc-buffered-methods.m1
-rw-r--r--test/SemaObjC/objc-literal-comparison.m4
-rw-r--r--test/SemaObjC/objc-qualified-property-lookup.m1
-rw-r--r--test/SemaObjC/overriding-property-in-class-extension.m27
-rw-r--r--test/SemaObjC/pedantic-dynamic-test.m1
-rw-r--r--test/SemaObjC/pragma-pack.m1
-rw-r--r--test/SemaObjC/property-11.m1
-rw-r--r--test/SemaObjC/property-13.m1
-rw-r--r--test/SemaObjC/property-2.m1
-rw-r--r--test/SemaObjC/property-6.m1
-rw-r--r--test/SemaObjC/property-7.m1
-rw-r--r--test/SemaObjC/property-8.m1
-rw-r--r--test/SemaObjC/property-9-impl-method.m1
-rw-r--r--test/SemaObjC/property-and-class-extension.m2
-rw-r--r--test/SemaObjC/property-and-ivar-use.m1
-rw-r--r--test/SemaObjC/property-deprecated-warning.m64
-rw-r--r--test/SemaObjC/property-dot-receiver.m1
-rw-r--r--test/SemaObjC/property-impl-misuse.m2
-rw-r--r--test/SemaObjC/property-in-class-extension-1.m59
-rw-r--r--test/SemaObjC/property-ivar-mismatch.m8
-rw-r--r--test/SemaObjC/property-method-lookup-impl.m1
-rw-r--r--test/SemaObjC/property-nonfragile-abi.m1
-rw-r--r--test/SemaObjC/property-noprotocol-warning.m1
-rw-r--r--test/SemaObjC/property-redundant-decl-accessor.m1
-rw-r--r--test/SemaObjC/property-weak.m1
-rw-r--r--test/SemaObjC/property.m4
-rw-r--r--test/SemaObjC/props-on-prots.m1
-rw-r--r--test/SemaObjC/protocol-expr-1.m1
-rw-r--r--test/SemaObjC/protocol-implementation-inherited.m1
-rw-r--r--test/SemaObjC/protocol-lookup-2.m1
-rw-r--r--test/SemaObjC/protocol-lookup.m1
-rw-r--r--test/SemaObjC/protocol-qualified-class-unsupported.m1
-rw-r--r--test/SemaObjC/rdar6248119.m1
-rw-r--r--test/SemaObjC/restrict-id-type.m1
-rw-r--r--test/SemaObjC/selector-1.m1
-rw-r--r--test/SemaObjC/selector-2.m1
-rw-r--r--test/SemaObjC/self-declared-in-block.m1
-rw-r--r--test/SemaObjC/self-in-function.m1
-rw-r--r--test/SemaObjC/setter-dotsyntax.m1
-rw-r--r--test/SemaObjC/super-cat-prot.m1
-rw-r--r--test/SemaObjC/super-dealloc-attribute.m87
-rw-r--r--test/SemaObjC/super-property-message-expr.m1
-rw-r--r--test/SemaObjC/super-property-notation.m1
-rw-r--r--test/SemaObjC/synth-provisional-ivars-1.m1
-rw-r--r--test/SemaObjC/synthesize-setter-contclass.m1
-rw-r--r--test/SemaObjC/transparent-union.m1
-rw-r--r--test/SemaObjC/ucn-objc-string.m1
-rw-r--r--test/SemaObjC/uninit-variables.m29
-rw-r--r--test/SemaObjC/unused.m27
-rw-r--r--test/SemaObjC/va-method-1.m1
-rw-r--r--test/SemaObjC/warn-direct-ivar-access.m2
-rw-r--r--test/SemaObjC/warn-implicit-self-in-block.m18
-rw-r--r--test/SemaObjC/warn-isa-ref.m2
-rw-r--r--test/SemaObjC/warn-retain-cycle.m63
-rw-r--r--test/SemaObjC/warning-missing-selector-name.m32
-rw-r--r--test/SemaObjC/weak-property.m2
-rw-r--r--test/SemaObjC/weak-receiver-warn.m48
-rw-r--r--test/SemaObjC/writable-property-in-superclass.m1
-rw-r--r--test/SemaObjCXX/abstract-class-type-ivar.mm2
-rw-r--r--test/SemaObjCXX/arc-0x.mm12
-rw-r--r--test/SemaObjCXX/arc-bool-conversion.mm1
-rw-r--r--test/SemaObjCXX/arc-libstdcxx.mm1
-rw-r--r--test/SemaObjCXX/arc-memfunc.mm1
-rw-r--r--test/SemaObjCXX/arc-non-pod.mm116
-rw-r--r--test/SemaObjCXX/arc-objc-lifetime.mm68
-rw-r--r--test/SemaObjCXX/arc-object-init-destroy.mm52
-rw-r--r--test/SemaObjCXX/arc-type-traits.mm1
-rw-r--r--test/SemaObjCXX/argument-dependent-lookup.mm1
-rw-r--r--test/SemaObjCXX/category-lookup.mm2
-rw-r--r--test/SemaObjCXX/composite-objc-pointertype.mm1
-rw-r--r--test/SemaObjCXX/conversion-ranking.mm1
-rw-r--r--test/SemaObjCXX/conversion-to-objc-pointer-2.mm1
-rw-r--r--test/SemaObjCXX/conversion-to-objc-pointer.mm1
-rw-r--r--test/SemaObjCXX/debugger-support.mm8
-rw-r--r--test/SemaObjCXX/decltype.mm25
-rw-r--r--test/SemaObjCXX/delay-parsing-cfunctions.mm1
-rw-r--r--test/SemaObjCXX/delay-parsing-cplusfuncs.mm1
-rw-r--r--test/SemaObjCXX/delay-parsing-func-tryblock.mm1
-rw-r--r--test/SemaObjCXX/expr-objcxx.mm1
-rw-r--r--test/SemaObjCXX/format-strings.mm81
-rw-r--r--test/SemaObjCXX/function-pointer-void-star.mm1
-rw-r--r--test/SemaObjCXX/instantiate-method-return.mm1
-rw-r--r--test/SemaObjCXX/ivar-lookup.mm1
-rw-r--r--test/SemaObjCXX/ivar-struct.mm1
-rw-r--r--test/SemaObjCXX/linkage-spec.mm1
-rw-r--r--test/SemaObjCXX/namespace-lookup.mm1
-rw-r--r--test/SemaObjCXX/null_objc_pointer.mm1
-rw-r--r--test/SemaObjCXX/nullptr.mm1
-rw-r--r--test/SemaObjCXX/overload-gc.mm1
-rw-r--r--test/SemaObjCXX/pointer-to-objc-pointer-conv.mm3
-rw-r--r--test/SemaObjCXX/propert-dot-error.mm2
-rw-r--r--test/SemaObjCXX/properties.mm23
-rw-r--r--test/SemaObjCXX/property-synthesis-error.mm23
-rw-r--r--test/SemaObjCXX/property-type-mismatch.mm1
-rw-r--r--test/SemaObjCXX/references.mm1
-rw-r--r--test/SemaObjCXX/reinterpret-cast-objc-pointertype.mm1
-rw-r--r--test/SemaObjCXX/reserved-keyword-methods.mm1
-rw-r--r--test/SemaObjCXX/standard-conversion-to-bool.mm1
-rw-r--r--test/SemaObjCXX/static-cast.mm1
-rw-r--r--test/SemaObjCXX/vla.mm1
-rw-r--r--test/SemaOpenCL/cond.cl1
-rw-r--r--test/SemaOpenCL/init.cl1
-rw-r--r--test/SemaOpenCL/vec_compare.cl1
-rw-r--r--test/SemaOpenCL/vector_literals_const.cl1
-rw-r--r--test/SemaTemplate/ackermann.cpp1
-rw-r--r--test/SemaTemplate/alias-church-numerals.cpp1
-rw-r--r--test/SemaTemplate/alias-template-template-param.cpp1
-rw-r--r--test/SemaTemplate/array-to-pointer-decay.cpp1
-rw-r--r--test/SemaTemplate/atomics.cpp1
-rw-r--r--test/SemaTemplate/class-template-ctor-initializer.cpp17
-rw-r--r--test/SemaTemplate/class-template-id.cpp2
-rw-r--r--test/SemaTemplate/constexpr-instantiate.cpp133
-rw-r--r--test/SemaTemplate/current-instantiation.cpp14
-rw-r--r--test/SemaTemplate/deduction-crash.cpp25
-rw-r--r--test/SemaTemplate/default-arguments-cxx0x.cpp1
-rw-r--r--test/SemaTemplate/dependent-base-member-init.cpp1
-rw-r--r--test/SemaTemplate/dependent-expr.cpp1
-rw-r--r--test/SemaTemplate/dependent-names.cpp26
-rw-r--r--test/SemaTemplate/dependent-sized_array.cpp11
-rw-r--r--test/SemaTemplate/derived.cpp12
-rw-r--r--test/SemaTemplate/enum-argument.cpp1
-rw-r--r--test/SemaTemplate/example-typelist.cpp1
-rw-r--r--test/SemaTemplate/inject-templated-friend-post.cpp8
-rw-r--r--test/SemaTemplate/instantiate-array.cpp1
-rw-r--r--test/SemaTemplate/instantiate-attr.cpp10
-rw-r--r--test/SemaTemplate/instantiate-decl-init.cpp1
-rw-r--r--test/SemaTemplate/instantiate-declref-ice.cpp1
-rw-r--r--test/SemaTemplate/instantiate-deeply.cpp1
-rw-r--r--test/SemaTemplate/instantiate-dependent-nested-name.cpp1
-rw-r--r--test/SemaTemplate/instantiate-elab-type-specifier.cpp1
-rw-r--r--test/SemaTemplate/instantiate-enum-2.cpp1
-rw-r--r--test/SemaTemplate/instantiate-exception-spec-cxx11.cpp12
-rw-r--r--test/SemaTemplate/instantiate-friend-class.cpp1
-rw-r--r--test/SemaTemplate/instantiate-local-class.cpp1
-rw-r--r--test/SemaTemplate/instantiate-member-expr.cpp17
-rw-r--r--test/SemaTemplate/instantiate-non-type-template-parameter.cpp1
-rw-r--r--test/SemaTemplate/instantiate-overload-candidates.cpp30
-rw-r--r--test/SemaTemplate/instantiate-overloaded-arrow.cpp1
-rw-r--r--test/SemaTemplate/instantiate-sizeof.cpp1
-rw-r--r--test/SemaTemplate/instantiation-default-3.cpp1
-rw-r--r--test/SemaTemplate/instantiation-depth-exception-spec.cpp11
-rw-r--r--test/SemaTemplate/instantiation-depth-subst-2.cpp7
-rw-r--r--test/SemaTemplate/instantiation-depth-subst.cpp6
-rw-r--r--test/SemaTemplate/issue150.cpp1
-rw-r--r--test/SemaTemplate/lookup-dependent-bases.cpp1
-rw-r--r--test/SemaTemplate/member-access-ambig.cpp21
-rw-r--r--test/SemaTemplate/member-initializers.cpp1
-rw-r--r--test/SemaTemplate/nested-linkage.cpp1
-rw-r--r--test/SemaTemplate/nested-template.cpp5
-rw-r--r--test/SemaTemplate/operator-function-id-template.cpp1
-rw-r--r--test/SemaTemplate/overload-uneval.cpp1
-rw-r--r--test/SemaTemplate/pragma-ms_struct.cpp1
-rw-r--r--test/SemaTemplate/temp_class_spec_blocks.cpp1
-rw-r--r--test/SemaTemplate/template-class-traits.cpp1
-rw-r--r--test/SemaTemplate/typo-dependent-name.cpp1
-rw-r--r--test/SemaTemplate/unresolved-construct.cpp1
-rw-r--r--test/Tooling/clang-check-ast-dump.cpp9
-rw-r--r--test/lit.cfg29
-rw-r--r--tools/CMakeLists.txt6
-rw-r--r--tools/Makefile5
-rw-r--r--tools/arcmt-test/CMakeLists.txt2
-rw-r--r--tools/arcmt-test/Makefile2
-rw-r--r--tools/arcmt-test/arcmt-test.cpp10
-rw-r--r--tools/c-arcmt-test/Makefile8
-rw-r--r--tools/c-index-test/CMakeLists.txt7
-rw-r--r--tools/c-index-test/Makefile3
-rw-r--r--tools/c-index-test/c-index-test.c173
-rw-r--r--tools/clang-check/CMakeLists.txt1
-rw-r--r--tools/clang-check/ClangCheck.cpp130
-rw-r--r--tools/clang-check/Makefile4
-rw-r--r--tools/diagtool/ShowEnabledWarnings.cpp4
-rw-r--r--tools/diagtool/TreeView.cpp51
-rw-r--r--tools/driver/CMakeLists.txt3
-rw-r--r--tools/driver/Makefile3
-rw-r--r--tools/driver/cc1_main.cpp78
-rw-r--r--tools/driver/cc1as_main.cpp17
-rw-r--r--tools/driver/driver.cpp12
-rw-r--r--tools/libclang/CIndex.cpp202
-rw-r--r--tools/libclang/CIndexCXX.cpp3
-rw-r--r--tools/libclang/CIndexCodeCompletion.cpp8
-rw-r--r--tools/libclang/CIndexDiagnostic.cpp8
-rw-r--r--tools/libclang/CIndexUSRs.cpp44
-rw-r--r--tools/libclang/CMakeLists.txt3
-rw-r--r--tools/libclang/CXComment.cpp197
-rw-r--r--tools/libclang/CXComment.h23
-rw-r--r--tools/libclang/CXCursor.cpp204
-rw-r--r--tools/libclang/CXType.cpp3
-rw-r--r--tools/libclang/CursorVisitor.h20
-rw-r--r--tools/libclang/IndexBody.cpp14
-rw-r--r--tools/libclang/IndexDecl.cpp15
-rw-r--r--tools/libclang/Indexing.cpp104
-rw-r--r--tools/libclang/IndexingContext.cpp68
-rw-r--r--tools/libclang/IndexingContext.h26
-rw-r--r--tools/libclang/Makefile15
-rw-r--r--tools/libclang/RecursiveASTVisitor.h7
-rw-r--r--tools/libclang/libclang.exports7
-rwxr-xr-xtools/scan-build/ccc-analyzer2
-rwxr-xr-xtools/scan-build/scan-build338
-rw-r--r--tools/scan-build/scan-build.115
-rwxr-xr-xtools/scan-build/set-xcode-analyzer22
-rw-r--r--tools/scan-view/ScanView.py5
-rw-r--r--unittests/AST/CMakeLists.txt5
-rw-r--r--unittests/AST/CommentLexer.cpp327
-rw-r--r--unittests/AST/CommentParser.cpp125
-rw-r--r--unittests/AST/DeclPrinterTest.cpp1248
-rw-r--r--unittests/AST/Makefile8
-rw-r--r--unittests/AST/SourceLocationTest.cpp289
-rw-r--r--unittests/AST/StmtPrinterTest.cpp172
-rw-r--r--unittests/ASTMatchers/ASTMatchersTest.cpp1859
-rw-r--r--unittests/ASTMatchers/ASTMatchersTest.h20
-rw-r--r--unittests/ASTMatchers/Makefile3
-rw-r--r--unittests/Basic/SourceManagerTest.cpp32
-rw-r--r--unittests/Frontend/Makefile3
-rw-r--r--unittests/Lex/CMakeLists.txt1
-rw-r--r--unittests/Lex/LexerTest.cpp21
-rw-r--r--unittests/Lex/PPCallbacksTest.cpp246
-rw-r--r--unittests/Lex/PreprocessingRecordTest.cpp21
-rw-r--r--unittests/Tooling/CMakeLists.txt2
-rw-r--r--unittests/Tooling/CompilationDatabaseTest.cpp123
-rw-r--r--unittests/Tooling/Makefile3
-rw-r--r--unittests/Tooling/RecursiveASTVisitorTest.cpp68
-rw-r--r--unittests/Tooling/RefactoringCallbacksTest.cpp16
-rw-r--r--unittests/Tooling/RefactoringTest.cpp4
-rw-r--r--unittests/Tooling/RewriterTestContext.h11
-rw-r--r--unittests/Tooling/TestVisitor.h161
-rw-r--r--unittests/Tooling/ToolingTest.cpp32
-rw-r--r--utils/ClangDataFormat.py113
-rw-r--r--utils/TableGen/CMakeLists.txt4
-rw-r--r--utils/TableGen/ClangAttrEmitter.cpp4
-rw-r--r--utils/TableGen/ClangCommentCommandInfoEmitter.cpp72
-rw-r--r--utils/TableGen/ClangCommentHTMLTagsEmitter.cpp69
-rw-r--r--utils/TableGen/ClangDiagnosticsEmitter.cpp20
-rw-r--r--utils/TableGen/ClangSACheckersEmitter.cpp23
-rw-r--r--utils/TableGen/Makefile2
-rw-r--r--utils/TableGen/NeonEmitter.cpp28
-rw-r--r--utils/TableGen/OptParserEmitter.cpp101
-rw-r--r--utils/TableGen/TableGen.cpp175
-rw-r--r--utils/TableGen/TableGenBackends.h5
-rwxr-xr-xutils/analyzer/CmpRuns.py92
-rw-r--r--utils/analyzer/SATestAdd.py18
-rw-r--r--utils/analyzer/SATestBuild.py163
-rw-r--r--utils/analyzer/SumTimerInfo.py17
-rwxr-xr-xutils/analyzer/update_plist_test.pl51
-rw-r--r--www/analyzer/available_checks.html3
-rw-r--r--www/analyzer/checker_dev_manual.html2
-rw-r--r--www/analyzer/content.css32
-rw-r--r--www/analyzer/latest_checker.html.incl2
-rw-r--r--www/analyzer/menu.html.incl1
-rw-r--r--www/analyzer/potential_checkers.html1651
-rw-r--r--www/analyzer/release_notes.html23
-rw-r--r--www/cxx_status.html8
-rw-r--r--www/libstdc++4.6-clang11.patch11
-rw-r--r--www/menu.css4
-rw-r--r--www/timing-data/2008-10-31/176.gcc-01.txt135
-rw-r--r--www/timing-data/2008-10-31/176.gcc-02.txt135
-rw-r--r--www/timing-data/2008-10-31/176.gcc.pngbin20395 -> 0 bytes
-rw-r--r--www/timing-data/2008-10-31/sketch-01.txt187
-rw-r--r--www/timing-data/2008-10-31/sketch-02.txt187
-rw-r--r--www/timing-data/2008-10-31/sketch.pngbin23482 -> 0 bytes
-rw-r--r--www/timing-data/2009-03-02/176.gcc.pdfbin34547 -> 0 bytes
-rw-r--r--www/timing-data/2009-03-02/176.gcc.pngbin77003 -> 0 bytes
-rw-r--r--www/timing-data/2009-03-02/176.gcc.txt1120
-rw-r--r--www/timing-data/2009-03-02/sketch.pdfbin36086 -> 0 bytes
-rw-r--r--www/timing-data/2009-03-02/sketch.pngbin78278 -> 0 bytes
-rw-r--r--www/timing-data/2009-03-02/sketch.txt2368
-rw-r--r--www/timing-data/2009-06-26/176.gcc.pdfbin33680 -> 0 bytes
-rw-r--r--www/timing-data/2009-06-26/176.gcc.pngbin61190 -> 0 bytes
-rw-r--r--www/timing-data/2009-06-26/176.gcc.txt699
-rw-r--r--www/timing-data/2009-06-26/sketch.pdfbin34528 -> 0 bytes
-rw-r--r--www/timing-data/2009-06-26/sketch.pngbin62222 -> 0 bytes
-rw-r--r--www/timing-data/2009-06-26/sketch.txt803
2195 files changed, 118236 insertions, 46303 deletions
diff --git a/.gitignore b/.gitignore
index b906ab919cbe..6be9976262a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,7 @@
*.pyc
# vim swap files
.*.swp
+.sw?
#==============================================================================#
# Explicit files to ignore (only matches one).
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2f4fa1cb5d7a..53d4165caec3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -181,16 +181,26 @@ endfunction(clang_tablegen)
macro(add_clang_library name)
llvm_process_sources(srcs ${ARGN})
if(MSVC_IDE OR XCODE)
- string( REGEX MATCHALL "/[^/]+" split_path ${CMAKE_CURRENT_SOURCE_DIR})
- list( GET split_path -1 dir)
- file( GLOB_RECURSE headers
- ../../../include/clang/StaticAnalyzer${dir}/*.h
- ../../../include/clang/StaticAnalyzer${dir}/*.td
- ../../../include/clang/StaticAnalyzer${dir}/*.def
- ../../include/clang${dir}/*.h
- ../../include/clang${dir}/*.td
- ../../include/clang${dir}/*.def)
- set(srcs ${srcs} ${headers})
+ # Add public headers
+ file(RELATIVE_PATH lib_path
+ ${CLANG_SOURCE_DIR}/lib/
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ )
+ if(NOT lib_path MATCHES "^[.][.]")
+ file( GLOB_RECURSE headers
+ ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.h
+ ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.def
+ )
+ set_source_files_properties(${headers} PROPERTIES HEADER_FILE_ONLY ON)
+
+ file( GLOB_RECURSE tds
+ ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.td
+ )
+ source_group("TableGen descriptions" FILES ${tds})
+ set_source_files_properties(${tds}} PROPERTIES HEADER_FILE_ONLY ON)
+
+ set(srcs ${srcs} ${headers} ${tds})
+ endif()
endif(MSVC_IDE OR XCODE)
if (MODULE)
set(libkind MODULE)
diff --git a/Makefile b/Makefile
index bf1a77210b5e..cb2566a0a17d 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,10 @@ ifeq ($(MAKECMDGOALS),libs-only)
DIRS := $(filter-out tools docs, $(DIRS))
OPTIONAL_DIRS :=
endif
+ifeq ($(BUILD_CLANG_ONLY),YES)
+ DIRS := $(filter-out docs unittests, $(DIRS))
+ OPTIONAL_DIRS :=
+endif
###
# Common Makefile code, shared by all Clang Makefiles.
diff --git a/NOTES.txt b/NOTES.txt
index ca46d1cae478..1c89d685729b 100644
--- a/NOTES.txt
+++ b/NOTES.txt
@@ -44,7 +44,7 @@ TODO: File Manager Speedup:
2. Instead of stat'ing the file in FileManager::getFile, check to see if
the dir has been read. If so, fail immediately, if not, read the dir,
then retry.
- 3. Reading the dir uses the getdirentries syscall, creating an FileEntry
+ 3. Reading the dir uses the getdirentries syscall, creating a FileEntry
for all files found.
//===---------------------------------------------------------------------===//
diff --git a/bindings/python/clang/cindex.py b/bindings/python/clang/cindex.py
index fc0a2a18bb40..5e162c0e8349 100644
--- a/bindings/python/clang/cindex.py
+++ b/bindings/python/clang/cindex.py
@@ -67,26 +67,12 @@ import collections
import clang.enumerations
-def get_cindex_library():
- # FIXME: It's probably not the case that the library is actually found in
- # this location. We need a better system of identifying and loading the
- # CIndex library. It could be on path or elsewhere, or versioned, etc.
- import platform
- name = platform.system()
- if name == 'Darwin':
- return cdll.LoadLibrary('libclang.dylib')
- elif name == 'Windows':
- return cdll.LoadLibrary('libclang.dll')
- else:
- return cdll.LoadLibrary('libclang.so')
-
# ctypes doesn't implicitly convert c_void_p to the appropriate wrapper
# object. This is a problem, because it means that from_parameter will see an
# integer and pass the wrong value on platforms where int != void*. Work around
# this by marshalling object arguments as void**.
c_object_p = POINTER(c_void_p)
-lib = get_cindex_library()
callbacks = {}
### Exception Classes ###
@@ -133,18 +119,43 @@ class TranslationUnitSaveError(Exception):
### Structures and Utility Classes ###
+class CachedProperty(object):
+ """Decorator that lazy-loads the value of a property.
+
+ The first time the property is accessed, the original property function is
+ executed. The value it returns is set as the new value of that instance's
+ property, replacing the original method.
+ """
+
+ def __init__(self, wrapped):
+ self.wrapped = wrapped
+ try:
+ self.__doc__ = wrapped.__doc__
+ except:
+ pass
+
+ def __get__(self, instance, instance_type=None):
+ if instance is None:
+ return self
+
+ value = self.wrapped(instance)
+ setattr(instance, self.wrapped.__name__, value)
+
+ return value
+
+
class _CXString(Structure):
"""Helper for transforming CXString results."""
_fields_ = [("spelling", c_char_p), ("free", c_int)]
def __del__(self):
- lib.clang_disposeString(self)
+ conf.lib.clang_disposeString(self)
@staticmethod
def from_result(res, fn, args):
assert isinstance(res, _CXString)
- return lib.clang_getCString(res)
+ return conf.lib.clang_getCString(res)
class SourceLocation(Structure):
"""
@@ -156,7 +167,7 @@ class SourceLocation(Structure):
def _get_instantiation(self):
if self._data is None:
f, l, c, o = c_object_p(), c_uint(), c_uint(), c_uint()
- lib.clang_getInstantiationLocation(self, byref(f), byref(l),
+ conf.lib.clang_getInstantiationLocation(self, byref(f), byref(l),
byref(c), byref(o))
if f:
f = File(f)
@@ -171,7 +182,7 @@ class SourceLocation(Structure):
Retrieve the source location associated with a given file/line/column in
a particular translation unit.
"""
- return lib.clang_getLocation(tu, file, line, column)
+ return conf.lib.clang_getLocation(tu, file, line, column)
@staticmethod
def from_offset(tu, file, offset):
@@ -181,7 +192,7 @@ class SourceLocation(Structure):
file -- File instance to obtain offset from
offset -- Integer character offset within file
"""
- return lib.clang_getLocationForOffset(tu, file, offset)
+ return conf.lib.clang_getLocationForOffset(tu, file, offset)
@property
def file(self):
@@ -204,7 +215,7 @@ class SourceLocation(Structure):
return self._get_instantiation()[3]
def __eq__(self, other):
- return lib.clang_equalLocations(self, other)
+ return conf.lib.clang_equalLocations(self, other)
def __ne__(self, other):
return not self.__eq__(other)
@@ -231,7 +242,7 @@ class SourceRange(Structure):
# object.
@staticmethod
def from_locations(start, end):
- return lib.clang_getRange(start, end)
+ return conf.lib.clang_getRange(start, end)
@property
def start(self):
@@ -239,7 +250,7 @@ class SourceRange(Structure):
Return a SourceLocation representing the first character within a
source range.
"""
- return lib.clang_getRangeStart(self)
+ return conf.lib.clang_getRangeStart(self)
@property
def end(self):
@@ -247,10 +258,10 @@ class SourceRange(Structure):
Return a SourceLocation representing the last character within a
source range.
"""
- return lib.clang_getRangeEnd(self)
+ return conf.lib.clang_getRangeEnd(self)
def __eq__(self, other):
- return lib.clang_equalRanges(self, other)
+ return conf.lib.clang_equalRanges(self, other)
def __ne__(self, other):
return not self.__eq__(other)
@@ -275,19 +286,19 @@ class Diagnostic(object):
self.ptr = ptr
def __del__(self):
- lib.clang_disposeDiagnostic(self)
+ conf.lib.clang_disposeDiagnostic(self)
@property
def severity(self):
- return lib.clang_getDiagnosticSeverity(self)
+ return conf.lib.clang_getDiagnosticSeverity(self)
@property
def location(self):
- return lib.clang_getDiagnosticLocation(self)
+ return conf.lib.clang_getDiagnosticLocation(self)
@property
def spelling(self):
- return lib.clang_getDiagnosticSpelling(self)
+ return conf.lib.clang_getDiagnosticSpelling(self)
@property
def ranges(self):
@@ -296,12 +307,12 @@ class Diagnostic(object):
self.diag = diag
def __len__(self):
- return int(lib.clang_getDiagnosticNumRanges(self.diag))
+ return int(conf.lib.clang_getDiagnosticNumRanges(self.diag))
def __getitem__(self, key):
if (key >= len(self)):
raise IndexError
- return lib.clang_getDiagnosticRange(self.diag, key)
+ return conf.lib.clang_getDiagnosticRange(self.diag, key)
return RangeIterator(self)
@@ -312,11 +323,11 @@ class Diagnostic(object):
self.diag = diag
def __len__(self):
- return int(lib.clang_getDiagnosticNumFixIts(self.diag))
+ return int(conf.lib.clang_getDiagnosticNumFixIts(self.diag))
def __getitem__(self, key):
range = SourceRange()
- value = lib.clang_getDiagnosticFixIt(self.diag, key,
+ value = conf.lib.clang_getDiagnosticFixIt(self.diag, key,
byref(range))
if len(value) == 0:
raise IndexError
@@ -328,25 +339,25 @@ class Diagnostic(object):
@property
def category_number(self):
"""The category number for this diagnostic."""
- return lib.clang_getDiagnosticCategory(self)
+ return conf.lib.clang_getDiagnosticCategory(self)
@property
def category_name(self):
"""The string name of the category for this diagnostic."""
- return lib.clang_getDiagnosticCategoryName(self.category_number)
+ return conf.lib.clang_getDiagnosticCategoryName(self.category_number)
@property
def option(self):
"""The command-line option that enables this diagnostic."""
- return lib.clang_getDiagnosticOption(self, None)
+ return conf.lib.clang_getDiagnosticOption(self, None)
@property
def disable_option(self):
"""The command-line option that disables this diagnostic."""
disable = _CXString()
- lib.clang_getDiagnosticOption(self, byref(disable))
+ conf.lib.clang_getDiagnosticOption(self, byref(disable))
- return lib.clang_getCString(disable)
+ return conf.lib.clang_getCString(disable)
def __repr__(self):
return "<Diagnostic severity %r, location %r, spelling %r>" % (
@@ -389,7 +400,7 @@ class TokenGroup(object):
self._count = count
def __del__(self):
- lib.clang_disposeTokens(self._tu, self._memory, self._count)
+ conf.lib.clang_disposeTokens(self._tu, self._memory, self._count)
@staticmethod
def get_tokens(tu, extent):
@@ -401,7 +412,7 @@ class TokenGroup(object):
tokens_memory = POINTER(Token)()
tokens_count = c_uint()
- lib.clang_tokenize(tu, extent, byref(tokens_memory),
+ conf.lib.clang_tokenize(tu, extent, byref(tokens_memory),
byref(tokens_count))
count = int(tokens_count.value)
@@ -507,39 +518,39 @@ class CursorKind(object):
def is_declaration(self):
"""Test if this is a declaration kind."""
- return lib.clang_isDeclaration(self)
+ return conf.lib.clang_isDeclaration(self)
def is_reference(self):
"""Test if this is a reference kind."""
- return lib.clang_isReference(self)
+ return conf.lib.clang_isReference(self)
def is_expression(self):
"""Test if this is an expression kind."""
- return lib.clang_isExpression(self)
+ return conf.lib.clang_isExpression(self)
def is_statement(self):
"""Test if this is a statement kind."""
- return lib.clang_isStatement(self)
+ return conf.lib.clang_isStatement(self)
def is_attribute(self):
"""Test if this is an attribute kind."""
- return lib.clang_isAttribute(self)
+ return conf.lib.clang_isAttribute(self)
def is_invalid(self):
"""Test if this is an invalid kind."""
- return lib.clang_isInvalid(self)
+ return conf.lib.clang_isInvalid(self)
def is_translation_unit(self):
"""Test if this is a translation unit kind."""
- return lib.clang_isTranslationUnit(self)
+ return conf.lib.clang_isTranslationUnit(self)
def is_preprocessing(self):
"""Test if this is a preprocessing kind."""
- return lib.clang_isPreprocessing(self)
+ return conf.lib.clang_isPreprocessing(self)
def is_unexposed(self):
"""Test if this is an unexposed kind."""
- return lib.clang_isUnexposed(self)
+ return conf.lib.clang_isUnexposed(self)
def __repr__(self):
return 'CursorKind.%s' % (self.name,)
@@ -643,7 +654,7 @@ CursorKind.TEMPLATE_TYPE_PARAMETER = CursorKind(27)
CursorKind.TEMPLATE_NON_TYPE_PARAMETER = CursorKind(28)
# A C++ template template parameter.
-CursorKind.TEMPLATE_TEMPLATE_PARAMTER = CursorKind(29)
+CursorKind.TEMPLATE_TEMPLATE_PARAMETER = CursorKind(29)
# A C++ function template.
CursorKind.FUNCTION_TEMPLATE = CursorKind(30)
@@ -1038,13 +1049,13 @@ class Cursor(Structure):
def from_location(tu, location):
# We store a reference to the TU in the instance so the TU won't get
# collected before the cursor.
- cursor = lib.clang_getCursor(tu, location)
+ cursor = conf.lib.clang_getCursor(tu, location)
cursor._tu = tu
return cursor
def __eq__(self, other):
- return lib.clang_equalCursors(self, other)
+ return conf.lib.clang_equalCursors(self, other)
def __ne__(self, other):
return not self.__eq__(other)
@@ -1054,13 +1065,13 @@ class Cursor(Structure):
Returns true if the declaration pointed at by the cursor is also a
definition of that entity.
"""
- return lib.clang_isCursorDefinition(self)
+ return conf.lib.clang_isCursorDefinition(self)
def is_static_method(self):
"""Returns True if the cursor refers to a C++ member function or member
function template that is declared 'static'.
"""
- return lib.clang_CXXMethod_isStatic(self)
+ return conf.lib.clang_CXXMethod_isStatic(self)
def get_definition(self):
"""
@@ -1070,7 +1081,7 @@ class Cursor(Structure):
"""
# TODO: Should probably check that this is either a reference or
# declaration prior to issuing the lookup.
- return lib.clang_getCursorDefinition(self)
+ return conf.lib.clang_getCursorDefinition(self)
def get_usr(self):
"""Return the Unified Symbol Resultion (USR) for the entity referenced
@@ -1081,7 +1092,7 @@ class Cursor(Structure):
program. USRs can be compared across translation units to determine,
e.g., when references in one translation refer to an entity defined in
another translation unit."""
- return lib.clang_getCursorUSR(self)
+ return conf.lib.clang_getCursorUSR(self)
@property
def kind(self):
@@ -1096,7 +1107,7 @@ class Cursor(Structure):
# this, for consistency with clang_getCursorUSR.
return None
if not hasattr(self, '_spelling'):
- self._spelling = lib.clang_getCursorSpelling(self)
+ self._spelling = conf.lib.clang_getCursorSpelling(self)
return self._spelling
@@ -1110,7 +1121,7 @@ class Cursor(Structure):
class template specialization.
"""
if not hasattr(self, '_displayname'):
- self._displayname = lib.clang_getCursorDisplayName(self)
+ self._displayname = conf.lib.clang_getCursorDisplayName(self)
return self._displayname
@@ -1121,7 +1132,7 @@ class Cursor(Structure):
pointed at by the cursor.
"""
if not hasattr(self, '_loc'):
- self._loc = lib.clang_getCursorLocation(self)
+ self._loc = conf.lib.clang_getCursorLocation(self)
return self._loc
@@ -1132,7 +1143,7 @@ class Cursor(Structure):
pointed at by the cursor.
"""
if not hasattr(self, '_extent'):
- self._extent = lib.clang_getCursorExtent(self)
+ self._extent = conf.lib.clang_getCursorExtent(self)
return self._extent
@@ -1142,7 +1153,7 @@ class Cursor(Structure):
Retrieve the Type (if any) of the entity pointed at by the cursor.
"""
if not hasattr(self, '_type'):
- self._type = lib.clang_getCursorType(self)
+ self._type = conf.lib.clang_getCursorType(self)
return self._type
@@ -1156,7 +1167,7 @@ class Cursor(Structure):
declarations will be identical.
"""
if not hasattr(self, '_canonical'):
- self._canonical = lib.clang_getCanonicalCursor(self)
+ self._canonical = conf.lib.clang_getCanonicalCursor(self)
return self._canonical
@@ -1164,7 +1175,7 @@ class Cursor(Structure):
def result_type(self):
"""Retrieve the Type of the result for this Cursor."""
if not hasattr(self, '_result_type'):
- self._result_type = lib.clang_getResultType(self.type)
+ self._result_type = conf.lib.clang_getResultType(self.type)
return self._result_type
@@ -1177,7 +1188,8 @@ class Cursor(Structure):
"""
if not hasattr(self, '_underlying_type'):
assert self.kind.is_declaration()
- self._underlying_type = lib.clang_getTypedefDeclUnderlyingType(self)
+ self._underlying_type = \
+ conf.lib.clang_getTypedefDeclUnderlyingType(self)
return self._underlying_type
@@ -1190,7 +1202,7 @@ class Cursor(Structure):
"""
if not hasattr(self, '_enum_type'):
assert self.kind == CursorKind.ENUM_DECL
- self._enum_type = lib.clang_getEnumDeclIntegerType(self)
+ self._enum_type = conf.lib.clang_getEnumDeclIntegerType(self)
return self._enum_type
@@ -1213,16 +1225,18 @@ class Cursor(Structure):
TypeKind.ULONG,
TypeKind.ULONGLONG,
TypeKind.UINT128):
- self._enum_value = lib.clang_getEnumConstantDeclUnsignedValue(self)
+ self._enum_value = \
+ conf.lib.clang_getEnumConstantDeclUnsignedValue(self)
else:
- self._enum_value = lib.clang_getEnumConstantDeclValue(self)
+ self._enum_value = conf.lib.clang_getEnumConstantDeclValue(self)
return self._enum_value
@property
def objc_type_encoding(self):
"""Return the Objective-C type encoding as a str."""
if not hasattr(self, '_objc_type_encoding'):
- self._objc_type_encoding = lib.clang_getDeclObjCTypeEncoding(self)
+ self._objc_type_encoding = \
+ conf.lib.clang_getDeclObjCTypeEncoding(self)
return self._objc_type_encoding
@@ -1230,7 +1244,7 @@ class Cursor(Structure):
def hash(self):
"""Returns a hash of the cursor as an int."""
if not hasattr(self, '_hash'):
- self._hash = lib.clang_hashCursor(self)
+ self._hash = conf.lib.clang_hashCursor(self)
return self._hash
@@ -1238,7 +1252,7 @@ class Cursor(Structure):
def semantic_parent(self):
"""Return the semantic parent for this cursor."""
if not hasattr(self, '_semantic_parent'):
- self._semantic_parent = lib.clang_getCursorSemanticParent(self)
+ self._semantic_parent = conf.lib.clang_getCursorSemanticParent(self)
return self._semantic_parent
@@ -1246,7 +1260,7 @@ class Cursor(Structure):
def lexical_parent(self):
"""Return the lexical parent for this cursor."""
if not hasattr(self, '_lexical_parent'):
- self._lexical_parent = lib.clang_getCursorLexicalParent(self)
+ self._lexical_parent = conf.lib.clang_getCursorLexicalParent(self)
return self._lexical_parent
@@ -1257,6 +1271,12 @@ class Cursor(Structure):
# created.
return self._tu
+ def get_arguments(self):
+ """Return an iterator for accessing the arguments of this cursor."""
+ num_args = conf.lib.clang_Cursor_getNumArguments(self)
+ for i in range(0, num_args):
+ yield conf.lib.clang_Cursor_getArgument(self, i)
+
def get_children(self):
"""Return an iterator for accessing the children of this cursor."""
@@ -1264,14 +1284,14 @@ class Cursor(Structure):
def visitor(child, parent, children):
# FIXME: Document this assertion in API.
# FIXME: There should just be an isNull method.
- assert child != lib.clang_getNullCursor()
+ assert child != conf.lib.clang_getNullCursor()
# Create reference to TU so it isn't GC'd before Cursor.
child._tu = self._tu
children.append(child)
return 1 # continue
children = []
- lib.clang_visitChildren(self, callbacks['cursor_visit'](visitor),
+ conf.lib.clang_visitChildren(self, callbacks['cursor_visit'](visitor),
children)
return iter(children)
@@ -1287,7 +1307,7 @@ class Cursor(Structure):
def from_result(res, fn, args):
assert isinstance(res, Cursor)
# FIXME: There should just be an isNull method.
- if res == lib.clang_getNullCursor():
+ if res == conf.lib.clang_getNullCursor():
return None
# Store a reference to the TU in the Python object so it won't get GC'd
@@ -1310,7 +1330,7 @@ class Cursor(Structure):
@staticmethod
def from_cursor_result(res, fn, args):
assert isinstance(res, Cursor)
- if res == lib.clang_getNullCursor():
+ if res == conf.lib.clang_getNullCursor():
return None
res._tu = args[0]._tu
@@ -1352,7 +1372,7 @@ class TypeKind(object):
@property
def spelling(self):
"""Retrieve the spelling of this TypeKind."""
- return lib.clang_getTypeKindSpelling(self.value)
+ return conf.lib.clang_getTypeKindSpelling(self.value)
@staticmethod
def from_id(id):
@@ -1432,7 +1452,7 @@ class Type(Structure):
def __len__(self):
if self.length is None:
- self.length = lib.clang_getNumArgTypes(self.parent)
+ self.length = conf.lib.clang_getNumArgTypes(self.parent)
return self.length
@@ -1448,7 +1468,7 @@ class Type(Structure):
raise IndexError("Index greater than container length: "
"%d > %d" % ( key, len(self) ))
- result = lib.clang_getArgType(self.parent, key)
+ result = conf.lib.clang_getArgType(self.parent, key)
if result.kind == TypeKind.INVALID:
raise IndexError("Argument could not be retrieved.")
@@ -1464,7 +1484,7 @@ class Type(Structure):
If accessed on a type that is not an array, complex, or vector type, an
exception will be raised.
"""
- result = lib.clang_getElementType(self)
+ result = conf.lib.clang_getElementType(self)
if result.kind == TypeKind.INVALID:
raise Exception('Element type not available on this type.')
@@ -1478,7 +1498,7 @@ class Type(Structure):
If the Type is not an array or vector, this raises.
"""
- result = lib.clang_getNumElements(self)
+ result = conf.lib.clang_getNumElements(self)
if result < 0:
raise Exception('Type does not have elements.')
@@ -1516,7 +1536,7 @@ class Type(Structure):
example, if 'T' is a typedef for 'int', the canonical type for
'T' would be 'int'.
"""
- return lib.clang_getCanonicalType(self)
+ return conf.lib.clang_getCanonicalType(self)
def is_const_qualified(self):
"""Determine whether a Type has the "const" qualifier set.
@@ -1524,7 +1544,7 @@ class Type(Structure):
This does not look through typedefs that may have added "const"
at a different level.
"""
- return lib.clang_isConstQualifiedType(self)
+ return conf.lib.clang_isConstQualifiedType(self)
def is_volatile_qualified(self):
"""Determine whether a Type has the "volatile" qualifier set.
@@ -1532,7 +1552,7 @@ class Type(Structure):
This does not look through typedefs that may have added "volatile"
at a different level.
"""
- return lib.clang_isVolatileQualifiedType(self)
+ return conf.lib.clang_isVolatileQualifiedType(self)
def is_restrict_qualified(self):
"""Determine whether a Type has the "restrict" qualifier set.
@@ -1540,53 +1560,53 @@ class Type(Structure):
This does not look through typedefs that may have added "restrict" at
a different level.
"""
- return lib.clang_isRestrictQualifiedType(self)
+ return conf.lib.clang_isRestrictQualifiedType(self)
def is_function_variadic(self):
"""Determine whether this function Type is a variadic function type."""
assert self.kind == TypeKind.FUNCTIONPROTO
- return lib.clang_isFunctionTypeVariadic(self)
+ return conf.lib.clang_isFunctionTypeVariadic(self)
def is_pod(self):
"""Determine whether this Type represents plain old data (POD)."""
- return lib.clang_isPODType(self)
+ return conf.lib.clang_isPODType(self)
def get_pointee(self):
"""
For pointer types, returns the type of the pointee.
"""
- return lib.clang_getPointeeType(self)
+ return conf.lib.clang_getPointeeType(self)
def get_declaration(self):
"""
Return the cursor for the declaration of the given type.
"""
- return lib.clang_getTypeDeclaration(self)
+ return conf.lib.clang_getTypeDeclaration(self)
def get_result(self):
"""
Retrieve the result type associated with a function type.
"""
- return lib.clang_getResultType(self)
+ return conf.lib.clang_getResultType(self)
def get_array_element_type(self):
"""
Retrieve the type of the elements of the array type.
"""
- return lib.clang_getArrayElementType(self)
+ return conf.lib.clang_getArrayElementType(self)
def get_array_size(self):
"""
Retrieve the size of the constant array.
"""
- return lib.clang_getArraySize(self)
+ return conf.lib.clang_getArraySize(self)
def __eq__(self, other):
if type(other) != type(self):
return False
- return lib.clang_equalTypes(self, other)
+ return conf.lib.clang_equalTypes(self, other)
def __ne__(self, other):
return n