aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore25
-rw-r--r--CMakeLists.txt18
-rw-r--r--INPUTS/cfg-nested-var-scopes.cpp59
-rw-r--r--Makefile14
-rw-r--r--NOTES.txt18
-rw-r--r--TODO.txt75
-rw-r--r--bindings/python/clang/cindex.py484
-rw-r--r--bindings/python/tests/cindex/test_cursor.py6
-rw-r--r--bindings/python/tests/cindex/test_diagnostics.py2
-rw-r--r--bindings/python/tests/cindex/test_location.py50
-rw-r--r--bindings/python/tests/cindex/test_type.py76
-rw-r--r--clang.xcodeproj/project.pbxproj2103
-rw-r--r--docs/AutomaticReferenceCounting.html83
-rw-r--r--docs/InternalsManual.html223
-rw-r--r--docs/LanguageExtensions.html392
-rw-r--r--docs/UsersManual.html37
-rw-r--r--docs/doxygen.cfg.in2
-rw-r--r--docs/doxygen.css30
-rw-r--r--docs/tools/clang.pod8
-rw-r--r--examples/PrintFunctionNames/PrintFunctionNames.cpp4
-rw-r--r--examples/analyzer-plugin/CMakeLists.txt14
-rw-r--r--examples/analyzer-plugin/MainCallChecker.cpp52
-rw-r--r--examples/analyzer-plugin/Makefile20
-rw-r--r--examples/clang-interpreter/main.cpp8
-rw-r--r--include/clang-c/Index.h651
-rw-r--r--include/clang/ARCMigrate/ARCMT.h46
-rw-r--r--include/clang/ARCMigrate/ARCMTActions.h6
-rw-r--r--include/clang/ARCMigrate/FileRemapper.h23
-rw-r--r--include/clang/AST/APValue.h10
-rw-r--r--include/clang/AST/ASTContext.h311
-rw-r--r--include/clang/AST/ASTDiagnostic.h16
-rw-r--r--include/clang/AST/ASTImporter.h4
-rw-r--r--include/clang/AST/ASTMutationListener.h6
-rw-r--r--include/clang/AST/Attr.h46
-rw-r--r--include/clang/AST/BaseSubobject.h87
-rw-r--r--include/clang/AST/CXXInheritance.h14
-rw-r--r--include/clang/AST/CharUnits.h6
-rw-r--r--include/clang/AST/Decl.h183
-rw-r--r--include/clang/AST/DeclBase.h110
-rw-r--r--include/clang/AST/DeclCXX.h113
-rw-r--r--include/clang/AST/DeclContextInternals.h2
-rw-r--r--include/clang/AST/DeclObjC.h305
-rw-r--r--include/clang/AST/DeclTemplate.h67
-rw-r--r--include/clang/AST/DeclVisitor.h2
-rw-r--r--include/clang/AST/DeclarationName.h10
-rw-r--r--include/clang/AST/Expr.h336
-rw-r--r--include/clang/AST/ExprCXX.h79
-rw-r--r--include/clang/AST/ExprObjC.h136
-rw-r--r--include/clang/AST/ExternalASTSource.h199
-rw-r--r--include/clang/AST/Makefile16
-rw-r--r--include/clang/AST/Mangle.h58
-rw-r--r--include/clang/AST/NestedNameSpecifier.h8
-rw-r--r--include/clang/AST/OperationKinds.h52
-rw-r--r--include/clang/AST/ParentMap.h1
-rw-r--r--include/clang/AST/PrettyPrinter.h16
-rw-r--r--include/clang/AST/RecordLayout.h10
-rw-r--r--include/clang/AST/RecursiveASTVisitor.h25
-rw-r--r--include/clang/AST/SelectorLocationsKind.h83
-rw-r--r--include/clang/AST/Stmt.h62
-rw-r--r--include/clang/AST/StmtVisitor.h6
-rw-r--r--include/clang/AST/TemplateBase.h51
-rw-r--r--include/clang/AST/TemplateName.h7
-rw-r--r--include/clang/AST/Type.h104
-rw-r--r--include/clang/AST/TypeLoc.h68
-rw-r--r--include/clang/AST/TypeNodes.def3
-rw-r--r--include/clang/AST/TypeVisitor.h2
-rw-r--r--include/clang/AST/UnresolvedSet.h4
-rw-r--r--include/clang/AST/VTTBuilder.h176
-rw-r--r--include/clang/AST/VTableBuilder.h357
-rw-r--r--include/clang/Analysis/Analyses/FormatString.h8
-rw-r--r--include/clang/Analysis/Analyses/LiveVariables.h175
-rw-r--r--include/clang/Analysis/Analyses/ReachableCode.h2
-rw-r--r--include/clang/Analysis/Analyses/ThreadSafety.h153
-rw-r--r--include/clang/Analysis/Analyses/UninitializedValues.h8
-rw-r--r--include/clang/Analysis/AnalysisContext.h97
-rw-r--r--include/clang/Analysis/AnalysisDiagnostic.h2
-rw-r--r--include/clang/Analysis/CFG.h154
-rw-r--r--include/clang/Analysis/DomainSpecific/CocoaConventions.h11
-rw-r--r--include/clang/Analysis/FlowSensitive/DataflowSolver.h62
-rw-r--r--include/clang/Analysis/FlowSensitive/DataflowValues.h12
-rw-r--r--include/clang/Analysis/ProgramPoint.h163
-rw-r--r--include/clang/Analysis/Support/BlkExprDeclBitVector.h24
-rw-r--r--include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h18
-rw-r--r--include/clang/Analysis/Visitors/CFGRecStmtVisitor.h6
-rw-r--r--include/clang/Analysis/Visitors/CFGStmtVisitor.h22
-rw-r--r--include/clang/Basic/Attr.td149
-rw-r--r--include/clang/Basic/Builtins.def62
-rw-r--r--include/clang/Basic/Builtins.h17
-rw-r--r--include/clang/Basic/DeclNodes.td1
-rw-r--r--include/clang/Basic/DelayedCleanupPool.h5
-rw-r--r--include/clang/Basic/Diagnostic.h296
-rw-r--r--include/clang/Basic/Diagnostic.td10
-rw-r--r--include/clang/Basic/DiagnosticASTKinds.td4
-rw-r--r--include/clang/Basic/DiagnosticCommonKinds.td15
-rw-r--r--include/clang/Basic/DiagnosticDriverKinds.td6
-rw-r--r--include/clang/Basic/DiagnosticFrontendKinds.td157
-rw-r--r--include/clang/Basic/DiagnosticGroups.td54
-rw-r--r--include/clang/Basic/DiagnosticIDs.h137
-rw-r--r--include/clang/Basic/DiagnosticLexKinds.td69
-rw-r--r--include/clang/Basic/DiagnosticParseKinds.td90
-rw-r--r--include/clang/Basic/DiagnosticSemaKinds.td783
-rw-r--r--include/clang/Basic/FileManager.h33
-rw-r--r--include/clang/Basic/IdentifierTable.h46
-rw-r--r--include/clang/Basic/LLVM.h53
-rw-r--r--include/clang/Basic/LangOptions.def158
-rw-r--r--include/clang/Basic/LangOptions.h277
-rw-r--r--include/clang/Basic/MacroBuilder.h10
-rw-r--r--include/clang/Basic/Makefile20
-rw-r--r--include/clang/Basic/OnDiskHashTable.h18
-rw-r--r--include/clang/Basic/OpenCLExtensions.def4
-rw-r--r--include/clang/Basic/PartialDiagnostic.h31
-rw-r--r--include/clang/Basic/PrettyStackTrace.h2
-rw-r--r--include/clang/Basic/SourceLocation.h70
-rw-r--r--include/clang/Basic/SourceManager.h780
-rw-r--r--include/clang/Basic/SourceManagerInternals.h14
-rw-r--r--include/clang/Basic/Specifiers.h3
-rw-r--r--include/clang/Basic/StmtNodes.td3
-rw-r--r--include/clang/Basic/TargetInfo.h74
-rw-r--r--include/clang/Basic/TokenKinds.def28
-rw-r--r--include/clang/Basic/VersionTuple.h7
-rw-r--r--include/clang/CMakeLists.txt1
-rw-r--r--include/clang/CodeGen/BackendUtil.h9
-rw-r--r--include/clang/CodeGen/CodeGenAction.h2
-rw-r--r--include/clang/CodeGen/ModuleBuilder.h4
-rw-r--r--include/clang/Config/config.h.cmake3
-rw-r--r--include/clang/Driver/Action.h22
-rw-r--r--include/clang/Driver/Arg.h6
-rw-r--r--include/clang/Driver/ArgList.h62
-rw-r--r--include/clang/Driver/CC1Options.td71
-rw-r--r--include/clang/Driver/Compilation.h16
-rw-r--r--include/clang/Driver/Driver.h67
-rw-r--r--include/clang/Driver/DriverDiagnostic.h2
-rw-r--r--include/clang/Driver/Job.h13
-rw-r--r--include/clang/Driver/Makefile12
-rw-r--r--include/clang/Driver/OptTable.h8
-rw-r--r--include/clang/Driver/Option.h13
-rw-r--r--include/clang/Driver/Options.td27
-rw-r--r--include/clang/Driver/Tool.h6
-rw-r--r--include/clang/Driver/ToolChain.h27
-rw-r--r--include/clang/Driver/Types.def3
-rw-r--r--include/clang/Driver/Util.h8
-rw-r--r--include/clang/Frontend/ASTConsumers.h9
-rw-r--r--include/clang/Frontend/ASTUnit.h292
-rw-r--r--include/clang/Frontend/Analyses.def20
-rw-r--r--include/clang/Frontend/AnalyzerOptions.h15
-rw-r--r--include/clang/Frontend/ChainedDiagnosticConsumer.h (renamed from include/clang/Frontend/ChainedDiagnosticClient.h)30
-rw-r--r--include/clang/Frontend/CodeGenOptions.h3
-rw-r--r--include/clang/Frontend/CommandLineSourceLoc.h7
-rw-r--r--include/clang/Frontend/CompilerInstance.h116
-rw-r--r--include/clang/Frontend/CompilerInvocation.h12
-rw-r--r--include/clang/Frontend/DiagnosticOptions.h4
-rw-r--r--include/clang/Frontend/FrontendAction.h31
-rw-r--r--include/clang/Frontend/FrontendActions.h38
-rw-r--r--include/clang/Frontend/FrontendDiagnostic.h2
-rw-r--r--include/clang/Frontend/FrontendOptions.h15
-rw-r--r--include/clang/Frontend/HeaderSearchOptions.h40
-rw-r--r--include/clang/Frontend/LangStandard.h3
-rw-r--r--include/clang/Frontend/LangStandards.def18
-rw-r--r--include/clang/Frontend/LogDiagnosticPrinter.h18
-rw-r--r--include/clang/Frontend/PreprocessorOptions.h36
-rw-r--r--include/clang/Frontend/TextDiagnosticBuffer.h10
-rw-r--r--include/clang/Frontend/TextDiagnosticPrinter.h29
-rw-r--r--include/clang/Frontend/Utils.h16
-rw-r--r--include/clang/Frontend/VerifyDiagnosticConsumer.h (renamed from include/clang/Frontend/VerifyDiagnosticsClient.h)33
-rw-r--r--include/clang/Index/ASTLocation.h6
-rw-r--r--include/clang/Index/CallGraph.h2
-rw-r--r--include/clang/Index/Entity.h3
-rw-r--r--include/clang/Index/Handlers.h3
-rw-r--r--include/clang/Index/TranslationUnit.h4
-rw-r--r--include/clang/Lex/CodeCompletionHandler.h4
-rw-r--r--include/clang/Lex/DirectoryLookup.h47
-rw-r--r--include/clang/Lex/HeaderMap.h6
-rw-r--r--include/clang/Lex/HeaderSearch.h84
-rw-r--r--include/clang/Lex/LexDiagnostic.h2
-rw-r--r--include/clang/Lex/Lexer.h53
-rw-r--r--include/clang/Lex/LiteralSupport.h43
-rw-r--r--include/clang/Lex/MacroInfo.h33
-rw-r--r--include/clang/Lex/Makefile4
-rw-r--r--include/clang/Lex/ModuleLoader.h55
-rw-r--r--include/clang/Lex/PPCallbacks.h74
-rw-r--r--include/clang/Lex/PTHManager.h6
-rw-r--r--include/clang/Lex/Pragma.h9
-rw-r--r--include/clang/Lex/PreprocessingRecord.h377
-rw-r--r--include/clang/Lex/Preprocessor.h220
-rw-r--r--include/clang/Lex/PreprocessorLexer.h18
-rw-r--r--include/clang/Lex/Token.h5
-rw-r--r--include/clang/Lex/TokenConcatenation.h9
-rw-r--r--include/clang/Lex/TokenLexer.h16
-rw-r--r--include/clang/Makefile2
-rw-r--r--include/clang/Parse/CMakeLists.txt4
-rw-r--r--include/clang/Parse/Makefile13
-rw-r--r--include/clang/Parse/ParseAST.h8
-rw-r--r--include/clang/Parse/ParseDiagnostic.h2
-rw-r--r--include/clang/Parse/Parser.h346
-rw-r--r--include/clang/Rewrite/ASTConsumers.h12
-rw-r--r--include/clang/Rewrite/FixItRewriter.h22
-rw-r--r--include/clang/Rewrite/FrontendActions.h8
-rw-r--r--include/clang/Rewrite/Rewriter.h28
-rw-r--r--include/clang/Rewrite/Rewriters.h7
-rw-r--r--include/clang/Sema/AnalysisBasedWarnings.h1
-rw-r--r--include/clang/Sema/AttributeList.h67
-rw-r--r--include/clang/Sema/CXXFieldCollector.h4
-rw-r--r--include/clang/Sema/CodeCompleteConsumer.h80
-rw-r--r--include/clang/Sema/DeclSpec.h110
-rw-r--r--include/clang/Sema/DelayedDiagnostic.h6
-rw-r--r--include/clang/Sema/Designator.h2
-rw-r--r--include/clang/Sema/ExternalSemaSource.h120
-rw-r--r--include/clang/Sema/IdentifierResolver.h2
-rw-r--r--include/clang/Sema/Initialization.h58
-rw-r--r--include/clang/Sema/Lookup.h36
-rw-r--r--include/clang/Sema/MultiInitializer.h72
-rw-r--r--include/clang/Sema/Overload.h44
-rw-r--r--include/clang/Sema/Ownership.h3
-rw-r--r--include/clang/Sema/ParsedTemplate.h2
-rw-r--r--include/clang/Sema/PrettyDeclStackTrace.h2
-rw-r--r--include/clang/Sema/Scope.h4
-rw-r--r--include/clang/Sema/ScopeInfo.h12
-rw-r--r--include/clang/Sema/Sema.h844
-rw-r--r--include/clang/Sema/SemaDiagnostic.h2
-rw-r--r--include/clang/Sema/SemaFixItUtils.h91
-rw-r--r--include/clang/Sema/Template.h19
-rw-r--r--include/clang/Sema/TemplateDeduction.h4
-rw-r--r--include/clang/Sema/TypoCorrection.h73
-rw-r--r--include/clang/Sema/Weak.h46
-rw-r--r--include/clang/Serialization/ASTBitCodes.h199
-rw-r--r--include/clang/Serialization/ASTDeserializationListener.h2
-rw-r--r--include/clang/Serialization/ASTReader.h828
-rw-r--r--include/clang/Serialization/ASTSerializationListener.h44
-rw-r--r--include/clang/Serialization/ASTWriter.h136
-rw-r--r--include/clang/Serialization/ChainedIncludesSource.h3
-rw-r--r--include/clang/Serialization/ContinuousRangeMap.h120
-rw-r--r--include/clang/Serialization/Makefile8
-rw-r--r--include/clang/Serialization/Module.h319
-rw-r--r--include/clang/Serialization/ModuleManager.h156
-rw-r--r--include/clang/StaticAnalyzer/Checkers/ClangCheckers.h22
-rw-r--r--include/clang/StaticAnalyzer/Checkers/LocalCheckers.h22
-rw-r--r--include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h360
-rw-r--r--include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h183
-rw-r--r--include/clang/StaticAnalyzer/Core/BugReporter/BugType.h10
-rw-r--r--include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h231
-rw-r--r--include/clang/StaticAnalyzer/Core/Checker.h81
-rw-r--r--include/clang/StaticAnalyzer/Core/CheckerManager.h117
-rw-r--r--include/clang/StaticAnalyzer/Core/CheckerOptInfo.h43
-rw-r--r--include/clang/StaticAnalyzer/Core/CheckerProvider.h58
-rw-r--r--include/clang/StaticAnalyzer/Core/CheckerRegistry.h132
-rw-r--r--include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h (renamed from include/clang/StaticAnalyzer/Core/PathDiagnosticClients.h)18
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h43
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h22
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h9
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h118
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h40
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h246
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h8
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h49
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h215
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngineBuilders.h18
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h164
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ObjCMessage.h184
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h (renamed from include/clang/StaticAnalyzer/Core/PathSensitive/GRState.h)433
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h (renamed from include/clang/StaticAnalyzer/Core/PathSensitive/GRStateTrait.h)57
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h37
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h50
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/Store.h57
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h3
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h36
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h238
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/TransferFuncs.h93
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h10
-rw-r--r--include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h14
-rw-r--r--include/clang/StaticAnalyzer/Frontend/FrontendActions.h4
-rw-r--r--lib/ARCMigrate/ARCMT.cpp154
-rw-r--r--lib/ARCMigrate/ARCMTActions.cpp18
-rw-r--r--lib/ARCMigrate/CMakeLists.txt2
-rw-r--r--lib/ARCMigrate/FileRemapper.cpp82
-rw-r--r--lib/ARCMigrate/Internals.h47
-rw-r--r--lib/ARCMigrate/PlistReporter.cpp195
-rw-r--r--lib/ARCMigrate/TransAPIUses.cpp109
-rw-r--r--lib/ARCMigrate/TransARCAssign.cpp1
-rw-r--r--lib/ARCMigrate/TransAutoreleasePool.cpp24
-rw-r--r--lib/ARCMigrate/TransBlockObjCVariable.cpp5
-rw-r--r--lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp86
-rw-r--r--lib/ARCMigrate/TransProperties.cpp105
-rw-r--r--lib/ARCMigrate/TransRetainReleaseDealloc.cpp8
-rw-r--r--lib/ARCMigrate/TransUnbridgedCasts.cpp127
-rw-r--r--lib/ARCMigrate/TransUnusedInitDelegate.cpp1
-rw-r--r--lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp1
-rw-r--r--lib/ARCMigrate/TransformActions.cpp81
-rw-r--r--lib/ARCMigrate/Transforms.cpp30
-rw-r--r--lib/ARCMigrate/Transforms.h13
-rw-r--r--lib/AST/APValue.cpp50
-rw-r--r--lib/AST/ASTContext.cpp705
-rw-r--r--lib/AST/ASTDiagnostic.cpp46
-rw-r--r--lib/AST/ASTImporter.cpp612
-rw-r--r--lib/AST/CMakeLists.txt5
-rw-r--r--lib/AST/CXXInheritance.cpp12
-rw-r--r--lib/AST/Decl.cpp172
-rw-r--r--lib/AST/DeclBase.cpp141
-rw-r--r--lib/AST/DeclCXX.cpp97
-rw-r--r--lib/AST/DeclObjC.cpp179
-rw-r--r--lib/AST/DeclPrinter.cpp277
-rw-r--r--lib/AST/DeclTemplate.cpp52
-rw-r--r--lib/AST/DeclarationName.cpp25
-rw-r--r--lib/AST/DumpXML.cpp39
-rw-r--r--lib/AST/Expr.cpp423
-rw-r--r--lib/AST/ExprCXX.cpp38
-rw-r--r--lib/AST/ExprClassification.cpp3
-rw-r--r--lib/AST/ExprConstant.cpp180
-rw-r--r--lib/AST/ExternalASTSource.cpp4
-rw-r--r--lib/AST/InheritViz.cpp8
-rw-r--r--lib/AST/ItaniumCXXABI.cpp2
-rw-r--r--lib/AST/ItaniumMangle.cpp116
-rw-r--r--lib/AST/Mangle.cpp16
-rw-r--r--lib/AST/MicrosoftCXXABI.cpp4
-rw-r--r--lib/AST/MicrosoftMangle.cpp149
-rw-r--r--lib/AST/NestedNameSpecifier.cpp4
-rw-r--r--lib/AST/ParentMap.cpp8
-rw-r--r--lib/AST/RecordLayout.cpp12
-rw-r--r--lib/AST/RecordLayoutBuilder.cpp419
-rw-r--r--lib/AST/SelectorLocationsKind.cpp128
-rw-r--r--lib/AST/Stmt.cpp30
-rw-r--r--lib/AST/StmtDumper.cpp36
-rw-r--r--lib/AST/StmtPrinter.cpp102
-rw-r--r--lib/AST/StmtProfile.cpp9
-rw-r--r--lib/AST/TemplateBase.cpp72
-rw-r--r--lib/AST/TemplateName.cpp6
-rw-r--r--lib/AST/Type.cpp116
-rw-r--r--lib/AST/TypeLoc.cpp3
-rw-r--r--lib/AST/TypePrinter.cpp15
-rw-r--r--lib/AST/VTTBuilder.cpp212
-rw-r--r--lib/AST/VTableBuilder.cpp2404
-rw-r--r--lib/Analysis/AnalysisContext.cpp93
-rw-r--r--lib/Analysis/CFG.cpp488
-rw-r--r--lib/Analysis/CFGReachabilityAnalysis.cpp2
-rw-r--r--lib/Analysis/CFGStmtMap.cpp2
-rw-r--r--lib/Analysis/CMakeLists.txt2
-rw-r--r--lib/Analysis/CocoaConventions.cpp33
-rw-r--r--lib/Analysis/FormatString.cpp8
-rw-r--r--lib/Analysis/LiveVariables.cpp874
-rw-r--r--lib/Analysis/PrintfFormatString.cpp11
-rw-r--r--lib/Analysis/ProgramPoint.cpp51
-rw-r--r--lib/Analysis/PseudoConstantAnalysis.cpp2
-rw-r--r--lib/Analysis/ReachableCode.cpp377
-rw-r--r--lib/Analysis/ThreadSafety.cpp799
-rw-r--r--lib/Analysis/UninitializedValues.cpp326
-rw-r--r--lib/Basic/Builtins.cpp10
-rw-r--r--lib/Basic/CMakeLists.txt1
-rw-r--r--lib/Basic/Diagnostic.cpp239
-rw-r--r--lib/Basic/DiagnosticIDs.cpp397
-rw-r--r--lib/Basic/FileManager.cpp50
-rw-r--r--lib/Basic/IdentifierTable.cpp47
-rw-r--r--lib/Basic/LangOptions.cpp30
-rw-r--r--lib/Basic/SourceLocation.cpp22
-rw-r--r--lib/Basic/SourceManager.cpp797
-rw-r--r--lib/Basic/TargetInfo.cpp29
-rw-r--r--lib/Basic/Targets.cpp1102
-rw-r--r--lib/Basic/Version.cpp9
-rw-r--r--lib/Basic/VersionTuple.cpp2
-rw-r--r--lib/CodeGen/BackendUtil.cpp52
-rw-r--r--lib/CodeGen/CGBlocks.cpp162
-rw-r--r--lib/CodeGen/CGBlocks.h2
-rw-r--r--lib/CodeGen/CGBuiltin.cpp495
-rw-r--r--lib/CodeGen/CGCUDANV.cpp126
-rw-r--r--lib/CodeGen/CGCUDARuntime.cpp55
-rw-r--r--lib/CodeGen/CGCUDARuntime.h54
-rw-r--r--lib/CodeGen/CGCXX.cpp42
-rw-r--r--lib/CodeGen/CGCXXABI.cpp10
-rw-r--r--lib/CodeGen/CGCXXABI.h8
-rw-r--r--lib/CodeGen/CGCall.cpp285
-rw-r--r--lib/CodeGen/CGCall.h10
-rw-r--r--lib/CodeGen/CGClass.cpp92
-rw-r--r--lib/CodeGen/CGCleanup.cpp383
-rw-r--r--lib/CodeGen/CGCleanup.h323
-rw-r--r--lib/CodeGen/CGDebugInfo.cpp499
-rw-r--r--lib/CodeGen/CGDebugInfo.h71
-rw-r--r--lib/CodeGen/CGDecl.cpp184
-rw-r--r--lib/CodeGen/CGDeclCXX.cpp25
-rw-r--r--lib/CodeGen/CGException.cpp692
-rw-r--r--lib/CodeGen/CGException.h12
-rw-r--r--lib/CodeGen/CGExpr.cpp502
-rw-r--r--lib/CodeGen/CGExprAgg.cpp156
-rw-r--r--lib/CodeGen/CGExprCXX.cpp284
-rw-r--r--lib/CodeGen/CGExprComplex.cpp83
-rw-r--r--lib/CodeGen/CGExprConstant.cpp111
-rw-r--r--lib/CodeGen/CGExprScalar.cpp204
-rw-r--r--lib/CodeGen/CGObjC.cpp1362
-rw-r--r--lib/CodeGen/CGObjCGNU.cpp378
-rw-r--r--lib/CodeGen/CGObjCMac.cpp383
-rw-r--r--lib/CodeGen/CGObjCRuntime.cpp45
-rw-r--r--lib/CodeGen/CGObjCRuntime.h3
-rw-r--r--lib/CodeGen/CGOpenCLRuntime.cpp28
-rw-r--r--lib/CodeGen/CGOpenCLRuntime.h46
-rw-r--r--lib/CodeGen/CGRTTI.cpp50
-rw-r--r--lib/CodeGen/CGRecordLayout.h11
-rw-r--r--lib/CodeGen/CGRecordLayoutBuilder.cpp32
-rw-r--r--lib/CodeGen/CGStmt.cpp129
-rw-r--r--lib/CodeGen/CGVTT.cpp421
-rw-r--r--lib/CodeGen/CGVTables.cpp2688
-rw-r--r--lib/CodeGen/CGVTables.h168
-rw-r--r--lib/CodeGen/CGValue.h109
-rw-r--r--lib/CodeGen/CMakeLists.txt3
-rw-r--r--lib/CodeGen/CodeGenAction.cpp29
-rw-r--r--lib/CodeGen/CodeGenFunction.cpp96
-rw-r--r--lib/CodeGen/CodeGenFunction.h197
-rw-r--r--lib/CodeGen/CodeGenModule.cpp712
-rw-r--r--lib/CodeGen/CodeGenModule.h156
-rw-r--r--lib/CodeGen/CodeGenTBAA.cpp4
-rw-r--r--lib/CodeGen/CodeGenTBAA.h4
-rw-r--r--lib/CodeGen/CodeGenTypes.cpp44
-rw-r--r--lib/CodeGen/CodeGenTypes.h10
-rw-r--r--lib/CodeGen/ItaniumCXXABI.cpp128
-rw-r--r--lib/CodeGen/MicrosoftCXXABI.cpp4
-rw-r--r--lib/CodeGen/ModuleBuilder.cpp12
-rw-r--r--lib/CodeGen/TargetInfo.cpp420
-rw-r--r--lib/CodeGen/TargetInfo.h42
-rw-r--r--lib/Driver/Action.cpp9
-rw-r--r--lib/Driver/ArgList.cpp53
-rw-r--r--lib/Driver/Compilation.cpp45
-rw-r--r--lib/Driver/Driver.cpp367
-rw-r--r--lib/Driver/HostInfo.cpp2
-rw-r--r--lib/Driver/Job.cpp6
-rw-r--r--lib/Driver/OptTable.cpp13
-rw-r--r--lib/Driver/Option.cpp12
-rw-r--r--lib/Driver/Phases.cpp4
-rw-r--r--lib/Driver/ToolChain.cpp34
-rw-r--r--lib/Driver/ToolChains.cpp792
-rw-r--r--lib/Driver/ToolChains.h27
-rw-r--r--lib/Driver/Tools.cpp880
-rw-r--r--lib/Driver/Tools.h16
-rw-r--r--lib/Driver/Types.cpp10
-rw-r--r--lib/Frontend/ASTConsumers.cpp77
-rw-r--r--lib/Frontend/ASTMerge.cpp12
-rw-r--r--lib/Frontend/ASTUnit.cpp674
-rw-r--r--lib/Frontend/CMakeLists.txt3
-rw-r--r--lib/Frontend/CacheTokens.cpp20
-rw-r--r--lib/Frontend/CompilerInstance.cpp674
-rw-r--r--lib/Frontend/CompilerInvocation.cpp388
-rw-r--r--lib/Frontend/CreateInvocationFromCommandLine.cpp10
-rw-r--r--lib/Frontend/DependencyFile.cpp44
-rw-r--r--lib/Frontend/FrontendAction.cpp30
-rw-r--r--lib/Frontend/FrontendActions.cpp90
-rw-r--r--lib/Frontend/FrontendOptions.cpp2
-rw-r--r--lib/Frontend/HeaderIncludeGen.cpp14
-rw-r--r--lib/Frontend/InitHeaderSearch.cpp204
-rw-r--r--lib/Frontend/InitPreprocessor.cpp175
-rw-r--r--lib/Frontend/LangStandards.cpp2
-rw-r--r--lib/Frontend/LogDiagnosticPrinter.cpp67
-rw-r--r--lib/Frontend/MultiplexConsumer.cpp4
-rw-r--r--lib/Frontend/PrintPreprocessedOutput.cpp44
-rw-r--r--lib/Frontend/TextDiagnosticBuffer.cpp33
-rw-r--r--lib/Frontend/TextDiagnosticPrinter.cpp1368
-rw-r--r--lib/Frontend/VerifyDiagnosticConsumer.cpp (renamed from lib/Frontend/VerifyDiagnosticsClient.cpp)104
-rw-r--r--lib/Frontend/Warnings.cpp47
-rw-r--r--lib/FrontendTool/CMakeLists.txt4
-rw-r--r--lib/FrontendTool/ExecuteCompilerInvocation.cpp39
-rw-r--r--lib/Headers/CMakeLists.txt1
-rw-r--r--lib/Headers/Makefile4
-rw-r--r--lib/Headers/avxintrin.h2
-rw-r--r--lib/Headers/emmintrin.h70
-rw-r--r--lib/Headers/float.h2
-rw-r--r--lib/Headers/mm_malloc.h4
-rw-r--r--lib/Headers/pmmintrin.h6
-rw-r--r--lib/Headers/stdalign.h30
-rw-r--r--lib/Headers/tgmath.h7
-rw-r--r--lib/Headers/xmmintrin.h41
-rw-r--r--lib/Index/ASTLocation.cpp11
-rw-r--r--lib/Index/CallGraph.cpp2
-rw-r--r--lib/Index/Entity.cpp8
-rw-r--r--lib/Index/EntityImpl.h2
-rw-r--r--lib/Index/GlobalSelector.cpp4
-rw-r--r--lib/Lex/HeaderMap.cpp4
-rw-r--r--lib/Lex/HeaderSearch.cpp208
-rw-r--r--lib/Lex/Lexer.cpp650
-rw-r--r--lib/Lex/LiteralSupport.cpp394
-rw-r--r--lib/Lex/MacroArgs.cpp48
-rw-r--r--lib/Lex/MacroArgs.h13
-rw-r--r--lib/Lex/MacroInfo.cpp6
-rw-r--r--lib/Lex/PPCaching.cpp2
-rw-r--r--lib/Lex/PPDirectives.cpp140
-rw-r--r--lib/Lex/PPExpressions.cpp56
-rw-r--r--lib/Lex/PPLexerChange.cpp64
-rw-r--r--lib/Lex/PPMacroExpansion.cpp182
-rw-r--r--lib/Lex/PTHLexer.cpp19
-rw-r--r--lib/Lex/Pragma.cpp95
-rw-r--r--lib/Lex/PreprocessingRecord.cpp283
-rw-r--r--lib/Lex/Preprocessor.cpp268
-rw-r--r--lib/Lex/PreprocessorLexer.cpp8
-rw-r--r--lib/Lex/ScratchBuffer.cpp2
-rw-r--r--lib/Lex/TokenConcatenation.cpp72
-rw-r--r--lib/Lex/TokenLexer.cpp219
-rw-r--r--lib/Parse/CMakeLists.txt2
-rw-r--r--lib/Parse/ParseAST.cpp6
-rw-r--r--lib/Parse/ParseCXXInlineMethods.cpp140
-rw-r--r--lib/Parse/ParseDecl.cpp810
-rw-r--r--lib/Parse/ParseDeclCXX.cpp418
-rw-r--r--lib/Parse/ParseExpr.cpp184
-rw-r--r--lib/Parse/ParseExprCXX.cpp577
-rw-r--r--lib/Parse/ParseInit.cpp25
-rw-r--r--lib/Parse/ParseObjc.cpp631
-rw-r--r--lib/Parse/ParsePragma.cpp19
-rw-r--r--lib/Parse/ParseStmt.cpp395
-rw-r--r--lib/Parse/ParseTemplate.cpp115
-rw-r--r--lib/Parse/ParseTentative.cpp26
-rw-r--r--lib/Parse/Parser.cpp187
-rw-r--r--lib/Parse/RAIIObjectsForParser.h4
-rw-r--r--lib/Rewrite/DeltaTree.cpp4
-rw-r--r--lib/Rewrite/FixItRewriter.cpp20
-rw-r--r--lib/Rewrite/FrontendActions.cpp16
-rw-r--r--lib/Rewrite/HTMLPrint.cpp6
-rw-r--r--lib/Rewrite/HTMLRewrite.cpp40
-rw-r--r--lib/Rewrite/RewriteMacros.cpp6
-rw-r--r--lib/Rewrite/RewriteObjC.cpp571
-rw-r--r--lib/Rewrite/RewriteRope.cpp4
-rw-r--r--lib/Rewrite/RewriteTest.cpp2
-rw-r--r--lib/Rewrite/Rewriter.cpp25
-rw-r--r--lib/Sema/AnalysisBasedWarnings.cpp476
-rw-r--r--lib/Sema/AttributeList.cpp26
-rw-r--r--lib/Sema/CMakeLists.txt4
-rw-r--r--lib/Sema/CodeCompleteConsumer.cpp52
-rw-r--r--lib/Sema/DeclSpec.cpp92
-rw-r--r--lib/Sema/DelayedDiagnostic.cpp2
-rw-r--r--lib/Sema/IdentifierResolver.cpp2
-rw-r--r--lib/Sema/JumpDiagnostics.cpp79
-rw-r--r--lib/Sema/MultiInitializer.cpp92
-rw-r--r--lib/Sema/Sema.cpp388
-rw-r--r--lib/Sema/SemaAccess.cpp57
-rw-r--r--lib/Sema/SemaAttr.cpp16
-rw-r--r--lib/Sema/SemaCXXScopeSpec.cpp30
-rw-r--r--lib/Sema/SemaCast.cpp (renamed from lib/Sema/SemaCXXCast.cpp)659
-rw-r--r--lib/Sema/SemaChecking.cpp808
-rw-r--r--lib/Sema/SemaCodeComplete.cpp473
-rw-r--r--lib/Sema/SemaDecl.cpp1787
-rw-r--r--lib/Sema/SemaDeclAttr.cpp1126
-rw-r--r--lib/Sema/SemaDeclCXX.cpp2643
-rw-r--r--lib/Sema/SemaDeclObjC.cpp909
-rw-r--r--lib/Sema/SemaExceptionSpec.cpp14
-rw-r--r--lib/Sema/SemaExpr.cpp4508
-rw-r--r--lib/Sema/SemaExprCXX.cpp322
-rw-r--r--lib/Sema/SemaExprMember.cpp99
-rw-r--r--lib/Sema/SemaExprObjC.cpp539
-rw-r--r--lib/Sema/SemaFixItUtils.cpp160
-rw-r--r--lib/Sema/SemaInit.cpp1022
-rw-r--r--lib/Sema/SemaLookup.cpp285
-rw-r--r--lib/Sema/SemaObjCProperty.cpp422
-rw-r--r--lib/Sema/SemaOverload.cpp622
-rw-r--r--lib/Sema/SemaStmt.cpp417
-rw-r--r--lib/Sema/SemaTemplate.cpp206
-rw-r--r--lib/Sema/SemaTemplateDeduction.cpp233
-rw-r--r--lib/Sema/SemaTemplateInstantiate.cpp88
-rw-r--r--lib/Sema/SemaTemplateInstantiateDecl.cpp636
-rw-r--r--lib/Sema/SemaTemplateVariadic.cpp55
-rw-r--r--lib/Sema/SemaType.cpp332
-rw-r--r--lib/Sema/TargetAttributesSema.cpp20
-rw-r--r--lib/Sema/TreeTransform.h249
-rw-r--r--lib/Serialization/ASTCommon.cpp1
-rw-r--r--lib/Serialization/ASTCommon.h8
-rw-r--r--lib/Serialization/ASTReader.cpp4300
-rw-r--r--lib/Serialization/ASTReaderDecl.cpp798
-rw-r--r--lib/Serialization/ASTReaderInternals.h243
-rw-r--r--lib/Serialization/ASTReaderStmt.cpp352
-rw-r--r--lib/Serialization/ASTWriter.cpp1259
-rw-r--r--lib/Serialization/ASTWriterDecl.cpp121
-rw-r--r--lib/Serialization/ASTWriterStmt.cpp50
-rw-r--r--lib/Serialization/CMakeLists.txt4
-rw-r--r--lib/Serialization/ChainedIncludesSource.cpp52
-rw-r--r--lib/Serialization/GeneratePCH.cpp34
-rw-r--r--lib/Serialization/Module.cpp109
-rw-r--r--lib/Serialization/ModuleManager.cpp253
-rw-r--r--lib/StaticAnalyzer/Checkers/AdjustedReturnValueChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp7
-rw-r--r--lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp17
-rw-r--r--lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp32
-rw-r--r--lib/StaticAnalyzer/Checkers/AttrNonNullChecker.cpp17
-rw-r--r--lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp45
-rw-r--r--lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp4
-rw-r--r--lib/StaticAnalyzer/Checkers/CMakeLists.txt5
-rw-r--r--lib/StaticAnalyzer/Checkers/CStringChecker.cpp303
-rw-r--r--lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp52
-rw-r--r--lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp4
-rw-r--r--lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp68
-rw-r--r--lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp28
-rw-r--r--lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp103
-rw-r--r--lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp12
-rw-r--r--lib/StaticAnalyzer/Checkers/Checkers.td40
-rw-r--r--lib/StaticAnalyzer/Checkers/ChrootChecker.cpp20
-rw-r--r--lib/StaticAnalyzer/Checkers/ClangCheckers.cpp32
-rw-r--r--lib/StaticAnalyzer/Checkers/ClangSACheckerProvider.cpp289
-rw-r--r--lib/StaticAnalyzer/Checkers/ClangSACheckerProvider.h29
-rw-r--r--lib/StaticAnalyzer/Checkers/ClangSACheckers.h1
-rw-r--r--lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp120
-rw-r--r--lib/StaticAnalyzer/Checkers/DebugCheckers.cpp2
-rw-r--r--lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp38
-rw-r--r--lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp10
-rw-r--r--lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp4
-rw-r--r--lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp21
-rw-r--r--lib/StaticAnalyzer/Checkers/IteratorsChecker.cpp74
-rw-r--r--lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp25
-rw-r--r--lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp632
-rw-r--r--lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp8
-rw-r--r--lib/StaticAnalyzer/Checkers/Makefile4
-rw-r--r--lib/StaticAnalyzer/Checkers/MallocChecker.cpp140
-rw-r--r--lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp268
-rw-r--r--lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp17
-rw-r--r--lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp30
-rw-r--r--lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp73
-rw-r--r--lib/StaticAnalyzer/Checkers/OSAtomicChecker.cpp101
-rw-r--r--lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp17
-rw-r--r--lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp35
-rw-r--r--lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp18
-rw-r--r--lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp4
-rw-r--r--lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp4
-rw-r--r--lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp185
-rw-r--r--lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp (renamed from lib/StaticAnalyzer/Core/CFRefCount.cpp)2855
-rw-r--r--lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp10
-rw-r--r--lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp6
-rw-r--r--lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp33
-rw-r--r--lib/StaticAnalyzer/Checkers/StreamChecker.cpp58
-rw-r--r--lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp33
-rw-r--r--lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp9
-rw-r--r--lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp8
-rw-r--r--lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp6
-rw-r--r--lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp13
-rw-r--r--lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp29
-rw-r--r--lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp29
-rw-r--r--lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp20
-rw-r--r--lib/StaticAnalyzer/Core/AggExprVisitor.cpp2
-rw-r--r--lib/StaticAnalyzer/Core/AnalysisManager.cpp52
-rw-r--r--lib/StaticAnalyzer/Core/BasicConstraintManager.cpp179
-rw-r--r--lib/StaticAnalyzer/Core/BasicStore.cpp605
-rw-r--r--lib/StaticAnalyzer/Core/BasicValueFactory.cpp14
-rw-r--r--lib/StaticAnalyzer/Core/BlockCounter.cpp4
-rw-r--r--lib/StaticAnalyzer/Core/BugReporter.cpp580
-rw-r--r--lib/StaticAnalyzer/Core/BugReporterVisitors.cpp746
-rw-r--r--lib/StaticAnalyzer/Core/CMakeLists.txt16
-rw-r--r--lib/StaticAnalyzer/Core/Checker.cpp22
-rw-r--r--lib/StaticAnalyzer/Core/CheckerContext.cpp4
-rw-r--r--lib/StaticAnalyzer/Core/CheckerManager.cpp136
-rw-r--r--lib/StaticAnalyzer/Core/CheckerRegistry.cpp149
-rw-r--r--lib/StaticAnalyzer/Core/CoreEngine.cpp239
-rw-r--r--lib/StaticAnalyzer/Core/Environment.cpp76
-rw-r--r--lib/StaticAnalyzer/Core/ExplodedGraph.cpp31
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngine.cpp1961
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineC.cpp752
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineCXX.cpp (renamed from lib/StaticAnalyzer/Core/CXXExprEngine.cpp)87
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp253
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineObjC.cpp279
-rw-r--r--lib/StaticAnalyzer/Core/FlatStore.cpp217
-rw-r--r--lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp62
-rw-r--r--lib/StaticAnalyzer/Core/MemRegion.cpp77
-rw-r--r--lib/StaticAnalyzer/Core/ObjCMessage.cpp52
-rw-r--r--lib/StaticAnalyzer/Core/PathDiagnostic.cpp225
-rw-r--r--lib/StaticAnalyzer/Core/PlistDiagnostics.cpp79
-rw-r--r--lib/StaticAnalyzer/Core/ProgramState.cpp (renamed from lib/StaticAnalyzer/Core/GRState.cpp)297
-rw-r--r--lib/StaticAnalyzer/Core/RangeConstraintManager.cpp73
-rw-r--r--lib/StaticAnalyzer/Core/RegionStore.cpp162
-rw-r--r--lib/StaticAnalyzer/Core/SValBuilder.cpp21
-rw-r--r--lib/StaticAnalyzer/Core/SVals.cpp18
-rw-r--r--lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp20
-rw-r--r--lib/StaticAnalyzer/Core/SimpleConstraintManager.h26
-rw-r--r--lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp43
-rw-r--r--lib/StaticAnalyzer/Core/Store.cpp28
-rw-r--r--lib/StaticAnalyzer/Core/SymbolManager.cpp153
-rw-r--r--lib/StaticAnalyzer/Core/TextPathDiagnostics.cpp20
-rw-r--r--lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp245
-rw-r--r--lib/StaticAnalyzer/Frontend/AnalysisConsumer.h6
-rw-r--r--lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp108
-rw-r--r--lib/StaticAnalyzer/Frontend/FrontendActions.cpp5
-rw-r--r--lib/StaticAnalyzer/README.txt12
-rw-r--r--runtime/CMakeLists.txt1
-rw-r--r--runtime/Makefile2
-rw-r--r--runtime/compiler-rt/Makefile2
-rw-r--r--runtime/libcxx/Makefile35
-rw-r--r--test/ARCMT/Common.h10
-rw-r--r--test/ARCMT/api.m9
-rw-r--r--test/ARCMT/api.m.result9
-rw-r--r--test/ARCMT/assign-prop-no-arc-runtime.m4
-rw-r--r--test/ARCMT/assign-prop-no-arc-runtime.m.result4
-rw-r--r--test/ARCMT/assign-prop-with-arc-runtime.m17
-rw-r--r--test/ARCMT/assign-prop-with-arc-runtime.m.result17
-rw-r--r--test/ARCMT/atautorelease-2.m4
-rw-r--r--test/ARCMT/atautorelease-2.m.result4
-rw-r--r--test/ARCMT/atautorelease-3.m4
-rw-r--r--test/ARCMT/atautorelease-3.m.result4
-rw-r--r--test/ARCMT/atautorelease-check.m2
-rw-r--r--test/ARCMT/atautorelease.m18
-rw-r--r--test/ARCMT/atautorelease.m.result18
-rw-r--r--test/ARCMT/autoreleases.m4
-rw-r--r--test/ARCMT/autoreleases.m.result4
-rw-r--r--test/ARCMT/check-api.m43
-rw-r--r--test/ARCMT/checking.m2
-rw-r--r--test/ARCMT/cxx-checking.mm2
-rw-r--r--test/ARCMT/cxx-rewrite.mm6
-rw-r--r--test/ARCMT/cxx-rewrite.mm.result4
-rw-r--r--test/ARCMT/dealloc.m4
-rw-r--r--test/ARCMT/dealloc.m.result4
-rw-r--r--test/ARCMT/driver-migrate.m9
-rw-r--r--test/ARCMT/init.m4
-rw-r--r--test/ARCMT/init.m.result4
-rw-r--r--test/ARCMT/migrate-emit-errors.m12
-rw-r--r--test/ARCMT/migrate-plist-output.m50
-rw-r--r--test/ARCMT/migrate-space-in-path.m5
-rw-r--r--test/ARCMT/migrate.m5
-rw-r--r--test/ARCMT/nonobjc-to-objc-cast-2.m25
-rw-r--r--test/ARCMT/nonobjc-to-objc-cast.m27
-rw-r--r--test/ARCMT/nonobjc-to-objc-cast.m.result27
-rw-r--r--test/ARCMT/releases-driver.m4
-rw-r--r--test/ARCMT/releases-driver.m.result4
-rw-r--r--test/ARCMT/releases.m16
-rw-r--r--test/ARCMT/releases.m.result15
-rw-r--r--test/ARCMT/remove-dealloc-method.m4
-rw-r--r--test/ARCMT/remove-dealloc-method.m.result4
-rw-r--r--test/ARCMT/remove-dealloc-zerouts.m4
-rw-r--r--test/ARCMT/remove-dealloc-zerouts.m.result4
-rw-r--r--test/ARCMT/remove-statements.m4
-rw-r--r--test/ARCMT/remove-statements.m.result4
-rw-r--r--test/ARCMT/retains.m4
-rw-r--r--test/ARCMT/retains.m.result4
-rw-r--r--test/ARCMT/rewrite-block-var.m4
-rw-r--r--test/ARCMT/rewrite-block-var.m.result4
-rw-r--r--test/ARCMT/safe-arc-assign.m4
-rw-r--r--test/ARCMT/safe-arc-assign.m.result4
-rw-r--r--test/ARCMT/with space/test.h15
-rw-r--r--test/ARCMT/with space/test.h.result13
-rw-r--r--test/ARCMT/with space/test1.m.in6
-rw-r--r--test/ARCMT/with space/test1.m.in.result5
-rw-r--r--test/ARCMT/with space/test2.m.in6
-rw-r--r--test/ARCMT/with space/test2.m.in.result5
-rw-r--r--test/ARCMT/with-arc-mode-check.m2
-rw-r--r--test/ARCMT/with-arc-mode-migrate.m5
-rw-r--r--test/ARCMT/with-arc-mode-migrate.m.result5
-rw-r--r--test/ARCMT/with-arc-mode-modify.m4
-rw-r--r--test/ARCMT/with-arc-mode-modify.m.result4
-rw-r--r--test/ASTMerge/interface.m8
-rw-r--r--test/Analysis/CFDateGC.m7
-rw-r--r--test/Analysis/CFNumber.c6
-rw-r--r--test/Analysis/CFRetainRelease_NSAssertionHandler.m14
-rw-r--r--test/Analysis/CGColorSpace.c6
-rw-r--r--test/Analysis/CheckNSError.m2
-rw-r--r--test/Analysis/MissingDealloc.m2
-rw-r--r--test/Analysis/NSPanel.m6
-rw-r--r--test/Analysis/NSString.m15
-rw-r--r--test/Analysis/NSWindow.m6
-rw-r--r--test/Analysis/NoReturn.m6
-rw-r--r--test/Analysis/ObjCProperties.m6
-rw-r--r--test/Analysis/ObjCRetSigs.m2
-rw-r--r--test/Analysis/PR2599.m5
-rw-r--r--test/Analysis/PR2978.m2
-rw-r--r--test/Analysis/PR3991.m6
-rw-r--r--test/Analysis/PR9741.cpp2
-rw-r--r--test/Analysis/additive-folding-range-constraints.c2
-rw-r--r--test/Analysis/additive-folding.c4
-rw-r--r--test/Analysis/analyzeOneFunction.m56
-rw-r--r--test/Analysis/array-struct-region.c4
-rw-r--r--test/Analysis/array-struct.c6
-rw-r--r--test/Analysis/auto-obj-dtors-cfg-output.cpp1365
-rw-r--r--test/Analysis/bstring.c8
-rw-r--r--test/Analysis/casts.c4
-rw-r--r--test/Analysis/casts.m23
-rw-r--r--test/Analysis/cfref_PR2519.c6
-rw-r--r--test/Analysis/cfref_rdar6080742.c6
-rw-r--r--test/Analysis/chroot.c2
-rw-r--r--test/Analysis/complex.c2
-rw-r--r--test/Analysis/concrete-address.c3
-rw-r--r--test/Analysis/constant-folding.c2
-rw-r--r--test/Analysis/dead-stores.c2
-rw-r--r--test/Analysis/dead-stores.cpp2
-rw-r--r--test/Analysis/dead-stores.m2
-rw-r--r--test/Analysis/default-diagnostic-visitors.c13
-rw-r--r--test/Analysis/delegates.m3
-rw-r--r--test/Analysis/div-zero.cpp13
-rw-r--r--test/Analysis/elementtype.c2
-rw-r--r--test/Analysis/exercise-ps.c3
-rw-r--r--test/Analysis/fields.c3
-rw-r--r--test/Analysis/flat-store.c11
-rw-r--r--test/Analysis/free.c2
-rw-r--r--test/Analysis/func.c3
-rw-r--r--test/Analysis/idempotent-operations.m2
-rw-r--r--test/Analysis/initializers-cfg-output.cpp105
-rw-r--r--test/Analysis/iterators.cpp2
-rw-r--r--test/Analysis/keychainAPI-diagnostic-visitor.m35
-rw-r--r--test/Analysis/keychainAPI.m323
-rw-r--r--test/Analysis/malloc-overflow.c113
-rw-r--r--test/Analysis/malloc-overflow.cpp11
-rw-r--r--test/Analysis/malloc.c4
-rw-r--r--test/Analysis/misc-ps-64.m6
-rw-r--r--test/Analysis/misc-ps-basic-store.m35
-rw-r--r--test/Analysis/misc-ps-cxx0x.cpp61
-rw-r--r--test/Analysis/misc-ps-eager-assume.m2
-rw-r--r--test/Analysis/misc-ps-flat-store.c10
-rw-r--r--test/Analysis/misc-ps-ranges.m3
-rw-r--r--test/Analysis/misc-ps-region-store-i386.m2
-rw-r--r--test/Analysis/misc-ps-region-store-x86_64.m2
-rw-r--r--test/Analysis/misc-ps-region-store.cpp57
-rw-r--r--test/Analysis/misc-ps-region-store.m4
-rw-r--r--test/Analysis/misc-ps-region-store.mm4
-rw-r--r--test/Analysis/misc-ps.m13
-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.c3
-rw-r--r--test/Analysis/null-deref-ps-region.c2
-rw-r--r--test/Analysis/null-deref-ps.c6
-rw-r--r--test/Analysis/nullptr.cpp2
-rw-r--r--test/Analysis/objc-arc.m8
-rw-r--r--test/Analysis/operator-calls.cpp2
-rw-r--r--test/Analysis/out-of-bounds.c5
-rw-r--r--test/Analysis/outofbound-notwork.c32
-rw-r--r--test/Analysis/outofbound.c11
-rw-r--r--test/Analysis/override-werror.c3
-rw-r--r--test/Analysis/plist-output-alternate.m316
-rw-r--r--test/Analysis/plist-output.m2
-rw-r--r--test/Analysis/pr4209.m3
-rw-r--r--test/Analysis/pr_2542_rdar_6793404.m3
-rw-r--r--test/Analysis/pr_4164.c3
-rw-r--r--test/Analysis/properties.m2
-rw-r--r--test/Analysis/pthreadlock.c137
-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-6541136.c20
-rw-r--r--test/Analysis/rdar-6562655.m3
-rw-r--r--test/Analysis/rdar-6582778-basic-store.c22
-rw-r--r--test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m3
-rw-r--r--test/Analysis/rdar-7168531.m3
-rw-r--r--test/Analysis/refcnt_naming.m3
-rw-r--r--test/Analysis/reference.cpp3
-rw-r--r--test/Analysis/region-1.m3
-rw-r--r--test/Analysis/retain-release-basic-store.m104
-rw-r--r--test/Analysis/retain-release-gc-only.m5
-rw-r--r--test/Analysis/retain-release-path-notes-gc.m3
-rw-r--r--test/Analysis/retain-release-path-notes.m3
-rw-r--r--test/Analysis/retain-release-region-store.m2
-rw-r--r--test/Analysis/retain-release.m76
-rw-r--r--test/Analysis/retain-release.mm12
-rw-r--r--test/Analysis/security-syntax-checks-no-emit.c2
-rw-r--r--test/Analysis/security-syntax-checks.m19
-rw-r--r--test/Analysis/self-init.m2
-rw-r--r--test/Analysis/sizeofpointer.c2
-rw-r--r--test/Analysis/stack-addr-ps.c3
-rw-r--r--test/Analysis/stack-addr-ps.cpp30
-rw-r--r--test/Analysis/stack-block-returned.cpp9
-rw-r--r--test/Analysis/stream.c2
-rw-r--r--test/Analysis/string-fail.c4
-rw-r--r--test/Analysis/string.c8
-rw-r--r--test/Analysis/temp-obj-dtors-cfg-output.cpp1141
-rw-r--r--test/Analysis/undef-buffers.c13
-rw-r--r--test/Analysis/uninit-msg-expr.m1
-rw-r--r--test/Analysis/uninit-ps-rdar6145427.m1
-rw-r--r--test/Analysis/uninit-vals-ps.c1
-rw-r--r--test/Analysis/uninit-vals.m1
-rw-r--r--test/Analysis/unix-fns.c1
-rw-r--r--test/Analysis/unreachable-code-path.c2
-rw-r--r--test/Analysis/unused-ivars.m4
-rw-r--r--test/Analysis/variadic-method-types.m1
-rw-r--r--test/CMakeLists.txt14
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.classref/p1.cpp18
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.classref/p3.cpp2
-rw-r--r--test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp2
-rw-r--r--test/CXX/basic/basic.scope/basic.scope.local/p4-0x.cpp2
-rw-r--r--test/CXX/basic/basic.scope/basic.scope.pdecl/p3.cpp2
-rw-r--r--test/CXX/basic/basic.types/p10.cpp127
-rw-r--r--test/CXX/class.access/class.friend/p1.cpp13
-rw-r--r--test/CXX/class.access/class.friend/p2-cxx03.cpp2
-rw-r--r--test/CXX/class.access/class.friend/p3-cxx0x.cpp2
-rw-r--r--test/CXX/class.access/class.friend/p6.cpp20
-rw-r--r--test/CXX/class.access/class.protected/p1.cpp2
-rw-r--r--test/CXX/class.access/p6.cpp22
-rw-r--r--test/CXX/class.derived/class.virtual/p3-0x.cpp2
-rw-r--r--test/CXX/class/class.bit/p2.cpp22
-rw-r--r--test/CXX/class/class.friend/p2.cpp2
-rw-r--r--test/CXX/class/class.friend/p6.cpp2
-rw-r--r--test/CXX/class/class.mem/p5-0x.cpp2
-rw-r--r--test/CXX/class/class.mem/p8-0x.cpp2
-rw-r--r--test/CXX/class/class.nest/p1-cxx0x.cpp2
-rw-r--r--test/CXX/class/class.static/class.static.data/p3.cpp26
-rw-r--r--test/CXX/class/p1-0x.cpp2
-rw-r--r--test/CXX/class/p2-0x.cpp2
-rw-r--r--test/CXX/class/p6-0x.cpp2
-rw-r--r--test/CXX/dcl.dcl/basic.namespace/namespace.def/p7.cpp2
-rw-r--r--test/CXX/dcl.dcl/basic.namespace/namespace.def/p8.cpp2
-rw-r--r--test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p3-cxx0x.cpp2
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p1.cpp92
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p2.cpp26
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp125
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p4.cpp226
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p6.cpp74
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p8.cpp28
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p9.cpp37
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p6.cpp4
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p2.cpp2
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3.cpp17
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p4.cpp3
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp2
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p6.cpp20
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p7.cpp15
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p2-0x.cpp2
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/p4-cxx0x.cpp2
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.type/p3-0x.cpp10
-rw-r--r--test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p2-0x.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p1-0x.cpp9
-rw-r--r--test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p4.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.init/dcl.init.list/p7-0x-fixits.cpp33
-rw-r--r--test/CXX/dcl.decl/dcl.init/dcl.init.list/p7-0x.cpp175
-rw-r--r--test/CXX/dcl.decl/dcl.init/dcl.init.ref/p1.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-0x.cpp40
-rw-r--r--test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-cxx0x-no-extra-copy.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.init/dcl.init.string/p1.cpp7
-rw-r--r--test/CXX/dcl.decl/dcl.init/p14-0x.cpp4
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.array/p1-cxx0x.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p10.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p4.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/p2.cpp62
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.fct/p13.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.fct/p14.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.fct/p2-cxx0x.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.fct/p6-0x.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.fct/p8-0x.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.fct/p9-0x.cpp2
-rw-r--r--test/CXX/dcl.decl/dcl.meaning/dcl.ref/p6-0x.cpp2
-rw-r--r--test/CXX/dcl.decl/p4-0x.cpp2
-rw-r--r--test/CXX/except/except.spec/canonical.cpp2
-rw-r--r--test/CXX/except/except.spec/p1.cpp14
-rw-r--r--test/CXX/except/except.spec/p11.cpp2
-rw-r--r--test/CXX/except/except.spec/p14.cpp2
-rw-r--r--test/CXX/except/except.spec/p15.cpp2
-rw-r--r--test/CXX/except/except.spec/p2-places.cpp2
-rw-r--r--test/CXX/except/except.spec/p3.cpp2
-rw-r--r--test/CXX/except/except.spec/p5-pointers.cpp2
-rw-r--r--test/CXX/except/except.spec/p5-virtual.cpp2
-rw-r--r--test/CXX/except/except.spec/p9-dynamic.cpp5
-rw-r--r--test/CXX/except/except.spec/p9-noexcept.cpp5
-rw-r--r--test/CXX/except/except.spec/template.cpp2
-rw-r--r--test/CXX/expr/expr.cast/p4-0x.cpp2
-rw-r--r--test/CXX/expr/expr.const/p2-0x.cpp2
-rw-r--r--test/CXX/expr/expr.mptr.oper/p6-0x.cpp2
-rw-r--r--test/CXX/expr/expr.post/expr.call/p7-0x.cpp15
-rw-r--r--test/CXX/expr/expr.post/expr.const.cast/p1-0x.cpp2
-rw-r--r--test/CXX/expr/expr.post/expr.dynamic.cast/p3-0x.cpp2
-rw-r--r--test/CXX/expr/expr.post/expr.reinterpret.cast/p1-0x.cpp2
-rw-r--r--test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp2
-rw-r--r--test/CXX/expr/expr.post/expr.static.cast/p9-0x.cpp2
-rw-r--r--test/CXX/expr/expr.prim/p12-0x.cpp2
-rw-r--r--test/CXX/expr/expr.prim/p4-0x.cpp2
-rw-r--r--test/CXX/expr/expr.unary/expr.new/p2-cxx0x.cpp2
-rw-r--r--test/CXX/expr/expr.unary/expr.new/p20-0x.cpp2
-rw-r--r--test/CXX/expr/expr.unary/expr.sizeof/p5-0x.cpp2
-rw-r--r--test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp6
-rw-r--r--test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp2
-rw-r--r--test/CXX/expr/expr.unary/expr.unary.op/p6.cpp7
-rw-r--r--test/CXX/lex/lex.literal/lex.ccon/p1.cpp7
-rw-r--r--test/CXX/lex/lex.literal/lex.ext/p1.cpp7
-rw-r--r--test/CXX/lex/lex.pptoken/p3-0x.cpp2
-rw-r--r--test/CXX/over/over.built/p23.cpp25
-rw-r--r--test/CXX/over/over.built/p25.cpp2
-rw-r--r--test/CXX/over/over.load/p2-0x.cpp2
-rw-r--r--test/CXX/over/over.match/over.match.best/over.best.ics/over.ics.user/p3-0x.cpp2
-rw-r--r--test/CXX/over/over.match/over.match.best/over.ics.rank/p3-0x.cpp2
-rw-r--r--test/CXX/over/over.match/over.match.funcs/p4-0x.cpp2
-rw-r--r--test/CXX/over/over.over/p2-resolve-single-template-id.cpp30
-rw-r--r--test/CXX/special/class.copy/implicit-move-def.cpp116
-rw-r--r--test/CXX/special/class.copy/implicit-move.cpp164
-rw-r--r--test/CXX/special/class.copy/p11.0x.copy.cpp90
-rw-r--r--test/CXX/special/class.copy/p11.0x.move.cpp85
-rw-r--r--test/CXX/special/class.copy/p15-0x.cpp18
-rw-r--r--test/CXX/special/class.copy/p33-0x.cpp2
-rw-r--r--test/CXX/special/class.ctor/p4-0x.cpp2
-rw-r--r--test/CXX/special/class.ctor/p5-0x.cpp6
-rw-r--r--test/CXX/special/class.dtor/p2-0x.cpp2
-rw-r--r--test/CXX/special/class.dtor/p3-0x.cpp2
-rw-r--r--test/CXX/special/class.inhctor/elsewhere.cpp2
-rw-r--r--test/CXX/special/class.inhctor/p3.cpp6
-rw-r--r--test/CXX/special/class.inhctor/p7.cpp2
-rw-r--r--test/CXX/special/class.init/class.base.init/p8-0x.cpp40
-rw-r--r--test/CXX/special/class.init/class.base.init/p9-0x.cpp2
-rw-r--r--test/CXX/special/class.temporary/p1.cpp58
-rw-r--r--test/CXX/stmt.stmt/stmt.dcl/p3-0x.cpp2
-rw-r--r--test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp7
-rw-r--r--test/CXX/temp/temp.arg/temp.arg.template/p3-0x.cpp2
-rw-r--r--test/CXX/temp/temp.arg/temp.arg.type/p2-cxx0x.cpp2
-rw-r--r--test/CXX/temp/temp.decls/p3.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.alias/p1.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.alias/p2.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.alias/p3.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.class.spec/p8-0x.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.class.spec/p9-0x.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3-0x.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.friend/p1.cpp24
-rw-r--r--test/CXX/temp/temp.decls/temp.mem/p5.cpp5
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/deduction.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/example-bind.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/example-function.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/example-tuple.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/injected-class-name.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/multi-level-substitution.cpp17
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/p1.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/p2.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/p4.cpp3
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/p5.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/parameter-matching.cpp2
-rw-r--r--test/CXX/temp/temp.decls/temp.variadic/partial-ordering.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3-0x.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3-nodeduct.cpp6
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.arg.explicit/p9-0x.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/cwg1170.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p1-0x.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3-0x.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p4.cpp12
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p12.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p9-0x.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p10-0x.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p2-0x.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p21.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p22.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p5-0x.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p8-0x.cpp2
-rw-r--r--test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp2
-rw-r--r--test/CXX/temp/temp.param/p10-0x.cpp2
-rw-r--r--test/CXX/temp/temp.param/p11-0x.cpp2
-rw-r--r--test/CXX/temp/temp.param/p15-cxx0x.cpp2
-rw-r--r--test/CXX/temp/temp.param/p15.cpp2
-rw-r--r--test/CXX/temp/temp.param/p9-0x.cpp2
-rw-r--r--test/CXX/temp/temp.param/p9.cpp4
-rw-r--r--test/CXX/temp/temp.res/temp.dep/temp.dep.type/p1.cpp2
-rw-r--r--test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp2
-rw-r--r--test/CXX/temp/temp.spec/temp.explicit/p1-0x.cpp11
-rw-r--r--test/CXX/temp/temp.spec/temp.explicit/p3-0x.cpp2
-rw-r--r--test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp2
-rw-r--r--test/CXX/temp/temp.spec/temp.explicit/p9.cpp2
-rw-r--r--test/CXX/temp/temp.type/p1-0x.cpp2
-rw-r--r--test/CodeCompletion/truncation.c11
-rw-r--r--test/CodeGen/2002-01-23-LoadQISIReloadFailure.c11
-rw-r--r--test/CodeGen/2002-01-24-ComplexSpaceInType.c11
-rw-r--r--test/CodeGen/2002-01-24-HandleCallInsnSEGV.c9
-rw-r--r--test/CodeGen/2002-02-13-ConditionalInCall.c11
-rw-r--r--test/CodeGen/2002-02-13-ReloadProblem.c18
-rw-r--r--test/CodeGen/2002-02-13-TypeVarNameCollision.c16
-rw-r--r--test/CodeGen/2002-02-13-UnnamedLocal.c21
-rw-r--r--test/CodeGen/2002-02-14-EntryNodePreds.c37
-rw-r--r--test/CodeGen/2002-02-16-RenamingTest.c18
-rw-r--r--test/CodeGen/2002-02-17-ArgumentAddress.c39
-rw-r--r--test/CodeGen/2002-02-18-64bitConstant.c10
-rw-r--r--test/CodeGen/2002-02-18-StaticData.c13
-rw-r--r--test/CodeGen/2002-03-11-LargeCharInString.c10
-rw-r--r--test/CodeGen/2002-03-12-ArrayInitialization.c19
-rw-r--r--test/CodeGen/2002-03-12-StructInitialize.c14
-rw-r--r--test/CodeGen/2002-03-12-StructInitializer.c18
-rw-r--r--test/CodeGen/2002-03-14-BrokenPHINode.c19
-rw-r--r--test/CodeGen/2002-03-14-BrokenSSA.c17
-rw-r--r--test/CodeGen/2002-03-14-QuotesInStrConst.c10
-rw-r--r--test/CodeGen/2002-04-07-SwitchStmt.c22
-rw-r--r--test/CodeGen/2002-04-08-LocalArray.c14
-rw-r--r--test/CodeGen/2002-04-09-StructRetVal.c12
-rw-r--r--test/CodeGen/2002-04-10-StructParameters.c25
-rw-r--r--test/CodeGen/2002-05-23-StaticValues.c15
-rw-r--r--test/CodeGen/2002-05-23-TypeNameCollision.c19
-rw-r--r--test/CodeGen/2002-05-24-Alloca.c11
-rw-r--r--test/CodeGen/2002-06-25-FWriteInterfaceFailure.c9
-rw-r--r--test/CodeGen/2002-07-14-MiscListTests.c71
-rw-r--r--test/CodeGen/2002-07-14-MiscTests.c57
-rw-r--r--test/CodeGen/2002-07-14-MiscTests2.c13
-rw-r--r--test/CodeGen/2002-07-14-MiscTests3.c182
-rw-r--r--test/CodeGen/2002-07-16-HardStringInit.c8
-rw-r--r--test/CodeGen/2002-07-17-StringConstant.c4
-rw-r--r--test/CodeGen/2002-07-30-SubregSetAssertion.c12
-rw-r--r--test/CodeGen/2002-07-30-UnionTest.c22
-rw-r--r--test/CodeGen/2002-07-30-VarArgsCallFailure.c8
-rw-r--r--test/CodeGen/2002-07-31-BadAssert.c16
-rw-r--r--test/CodeGen/2002-07-31-SubregFailure.c14
-rw-r--r--test/CodeGen/2002-08-02-UnionTest.c19
-rw-r--r--test/CodeGen/2002-08-19-RecursiveLocals.c18
-rw-r--r--test/CodeGen/2002-09-08-PointerShifts.c6
-rw-r--r--test/CodeGen/2002-09-18-UnionProblem.c26
-rw-r--r--test/CodeGen/2002-09-19-StarInLabel.c9
-rw-r--r--test/CodeGen/2002-10-12-TooManyArguments.c8
-rw-r--r--test/CodeGen/2002-12-15-GlobalBoolTest.c5
-rw-r--r--test/CodeGen/2002-12-15-GlobalConstantTest.c8
-rw-r--r--test/CodeGen/2002-12-15-GlobalRedefinition.c5
-rw-r--r--test/CodeGen/2002-12-15-StructParameters.c18
-rw-r--r--test/CodeGen/2003-01-30-UnionInit.c8
-rw-r--r--test/CodeGen/2003-03-03-DeferredType.c12
-rw-r--r--test/CodeGen/2003-06-22-UnionCrash.c13
-rw-r--r--test/CodeGen/2003-06-23-GCC-fold-infinite-recursion.c6
-rw-r--r--test/CodeGen/2003-06-26-CFECrash.c19
-rw-r--r--test/CodeGen/2003-06-29-MultipleFunctionDefinition.c8
-rw-r--r--test/CodeGen/2003-07-22-ArrayAccessTypeSafety.c7
-rw-r--r--test/CodeGen/2003-08-06-BuiltinSetjmpLongjmp.c14
-rw-r--r--test/CodeGen/2003-08-17-DeadCodeShortCircuit.c6
-rw-r--r--test/CodeGen/2003-08-18-SigSetJmp.c10
-rw-r--r--test/CodeGen/2003-08-18-StructAsValue.c11
-rw-r--r--test/CodeGen/2003-08-20-BadBitfieldRef.c8
-rw-r--r--test/CodeGen/2003-08-20-PrototypeMismatch.c15
-rw-r--r--test/CodeGen/2003-08-20-vfork-bug.c6
-rw-r--r--test/CodeGen/2003-08-21-BinOp-Type-Mismatch.c10
-rw-r--r--test/CodeGen/2003-08-21-StmtExpr.c12
-rw-r--r--test/CodeGen/2003-08-21-WideString.c16
-rw-r--r--test/CodeGen/2003-08-23-LocalUnionTest.c11
-rw-r--r--test/CodeGen/2003-08-29-BitFieldStruct.c13
-rw-r--r--test/CodeGen/2003-08-29-HugeCharConst.c5
-rw-r--r--test/CodeGen/2003-08-29-StructLayoutBug.c10
-rw-r--r--test/CodeGen/2003-08-30-AggregateInitializer.c16
-rw-r--r--test/CodeGen/2003-08-30-LargeIntegerBitfieldMember.c9
-rw-r--r--test/CodeGen/2003-09-18-BitfieldTests.c30
-rw-r--r--test/CodeGen/2003-09-30-StructLayout.c18
-rw-r--r--test/CodeGen/2003-10-02-UnionLValueError.c11
-rw-r--r--test/CodeGen/2003-10-06-NegateExprType.c8
-rw-r--r--test/CodeGen/2003-10-09-UnionInitializerBug.c17
-rw-r--r--test/CodeGen/2003-10-28-ident.c4
-rw-r--r--test/CodeGen/2003-10-29-AsmRename.c22
-rw-r--r--test/CodeGen/2003-11-01-C99-CompoundLiteral.c8
-rw-r--r--test/CodeGen/2003-11-01-EmptyStructCrash.c6
-rw-r--r--test/CodeGen/2003-11-01-GlobalUnionInit.c7
-rw-r--r--test/CodeGen/2003-11-03-AddrArrayElement.c11
-rw-r--r--test/CodeGen/2003-11-04-EmptyStruct.c6
-rw-r--r--test/CodeGen/2003-11-04-OutOfMemory.c9
-rw-r--r--test/CodeGen/2003-11-08-PointerSubNotGetelementptr.c10
-rw-r--r--test/CodeGen/2003-11-12-VoidString.c4
-rw-r--r--test/CodeGen/2003-11-13-TypeSafety.c5
-rw-r--r--test/CodeGen/2003-11-16-StaticArrayInit.c8
-rw-r--r--test/CodeGen/2003-11-18-CondExprLValue.c9
-rw-r--r--test/CodeGen/2003-11-19-AddressOfRegister.c11
-rw-r--r--test/CodeGen/2003-11-19-BitFieldArray.c12
-rw-r--r--test/CodeGen/2003-11-20-Bitfields.c12
-rw-r--r--test/CodeGen/2003-11-20-ComplexDivision.c7
-rw-r--r--test/CodeGen/2003-11-20-UnionBitfield.c12
-rw-r--r--test/CodeGen/2003-11-26-PointerShift.c6
-rw-r--r--test/CodeGen/2003-11-27-ConstructorCast.c14
-rw-r--r--test/CodeGen/2003-11-27-UnionCtorInitialization.c16
-rw-r--r--test/CodeGen/2003-12-14-ExternInlineSupport.c3
-rw-r--r--test/CodeGen/2004-01-01-UnknownInitSize.c14
-rw-r--r--test/CodeGen/2004-01-08-ExternInlineRedefine.c14
-rw-r--r--test/CodeGen/2004-02-12-LargeAggregateCopy.c8
-rw-r--r--test/CodeGen/2004-02-13-BuiltinFrameReturnAddress.c10
-rw-r--r--test/CodeGen/2004-02-13-IllegalVararg.c9
-rw-r--r--test/CodeGen/2004-02-13-Memset.c12
-rw-r--r--test/CodeGen/2004-02-14-ZeroInitializer.c4
-rw-r--r--test/CodeGen/2004-02-20-Builtins.c5
-rw-r--r--test/CodeGen/2004-03-07-ComplexDivEquals.c6
-rw-r--r--test/CodeGen/2004-03-07-ExternalConstant.c7
-rw-r--r--test/CodeGen/2004-03-09-LargeArrayInitializers.c32
-rw-r--r--test/CodeGen/2004-03-15-SimpleIndirectGoto.c23
-rw-r--r--test/CodeGen/2004-03-16-AsmRegisterCrash.c12
-rw-r--r--test/CodeGen/2004-05-07-VarArrays.c5
-rw-r--r--test/CodeGen/2004-05-21-IncompleteEnum.c5
-rw-r--r--test/CodeGen/2004-06-08-OpaqueStructArg.c7
-rw-r--r--test/CodeGen/2004-06-17-UnorderedBuiltins.c24
-rw-r--r--test/CodeGen/2004-06-17-UnorderedCompares.c19
-rw-r--r--test/CodeGen/2004-06-18-VariableLengthArrayOfStructures.c10
-rw-r--r--test/CodeGen/2004-07-06-FunctionCast.c10
-rw-r--r--test/CodeGen/2004-08-06-LargeStructTest.c19
-rw-r--r--test/CodeGen/2004-11-25-UnnamedBitfieldPadding.c8
-rw-r--r--test/CodeGen/2004-11-27-InvalidConstantExpr.c10
-rw-r--r--test/CodeGen/2004-11-27-StaticFunctionRedeclare.c15
-rw-r--r--test/CodeGen/2005-01-02-ConstantInits.c24
-rw-r--r--test/CodeGen/2005-01-02-PointerDifference.c4
-rw-r--r--test/CodeGen/2005-01-02-VAArgError-ICE.c9
-rw-r--r--test/CodeGen/2005-02-20-AggregateSAVEEXPR.c5
-rw-r--r--test/CodeGen/2005-02-27-MarkGlobalConstant.c12
-rw-r--r--test/CodeGen/2005-03-05-OffsetOfHack.c12
-rw-r--r--test/CodeGen/2005-03-06-OffsetOfStructCrash.c14
-rw-r--r--test/CodeGen/2005-03-11-Prefetch.c7
-rw-r--r--test/CodeGen/2005-04-09-ComplexOps.c8
-rw-r--r--test/CodeGen/2005-05-06-CountBuiltins.c17
-rw-r--r--test/CodeGen/2005-05-10-GlobalUnionInit.c6
-rw-r--r--test/CodeGen/2005-06-15-ExpandGotoInternalProblem.c14
-rw-r--r--test/CodeGen/2005-07-20-SqrtNoErrno.c10
-rw-r--r--test/CodeGen/2005-07-26-UnionInitCrash.c3
-rw-r--r--test/CodeGen/2005-07-28-IncorrectWeakGlobal.c5
-rw-r--r--test/CodeGen/2005-09-20-ComplexConstants.c4
-rw-r--r--test/CodeGen/2005-09-24-AsmUserPrefix.c8
-rw-r--r--test/CodeGen/2005-09-24-BitFieldCrash.c33
-rw-r--r--test/CodeGen/2005-12-04-AttributeUsed.c7
-rw-r--r--test/CodeGen/2005-12-04-DeclarationLineNumbers.c23
-rw-r--r--test/CodeGen/2006-01-13-Includes.c10
-rw-r--r--test/CodeGen/2006-01-13-StackSave.c11
-rw-r--r--test/CodeGen/2006-01-16-BitCountIntrinsicsUnsigned.c12
-rw-r--r--test/CodeGen/2006-01-23-FileScopeAsm.c12
-rw-r--r--test/CodeGen/2006-03-03-MissingInitializer.c10
-rw-r--r--test/CodeGen/2006-03-16-VectorCtor.c10
-rw-r--r--test/CodeGen/2006-03-17-KnRMismatch.c8
-rw-r--r--test/CodeGen/2006-05-19-SingleEltReturn.c23
-rw-r--r--test/CodeGen/2006-07-31-PR854.c12
-rw-r--r--test/CodeGen/2006-09-11-BitfieldRefCrash.c12
-rw-r--r--test/CodeGen/2006-09-18-fwrite-cast-crash.c12
-rw-r--r--test/CodeGen/2006-09-21-IncompleteElementType.c3
-rw-r--r--test/CodeGen/2006-09-25-DebugFilename.c4
-rw-r--r--test/CodeGen/2006-09-25-DebugFilename.h6
-rw-r--r--test/CodeGen/2006-09-28-SimpleAsm.c12
-rw-r--r--test/CodeGen/2006-10-30-ArrayCrash.c17
-rw-r--r--test/CodeGen/2006-12-14-ordered_expr.c6
-rw-r--r--test/CodeGen/2007-01-06-KNR-Proto.c10
-rw-r--r--test/CodeGen/2007-01-20-VectorICE.c11
-rw-r--r--test/CodeGen/2007-01-24-InlineAsmCModifier.c12
-rw-r--r--test/CodeGen/2007-02-04-AddrLValue-2.c13
-rw-r--r--test/CodeGen/2007-02-04-AddrLValue.c23
-rw-r--r--test/CodeGen/2007-02-04-EmptyStruct.c9
-rw-r--r--test/CodeGen/2007-02-07-AddrLabel.c10
-rw-r--r--test/CodeGen/2007-02-16-VoidPtrDiff.c5
-rw-r--r--test/CodeGen/2007-02-25-C-DotDotDot.c10
-rw-r--r--test/CodeGen/2007-03-01-VarSizeArrayIdx.c7
-rw-r--r--test/CodeGen/2007-03-05-DataLayout.c55
-rw-r--r--test/CodeGen/2007-03-26-BitfieldAfterZeroWidth.c6
-rw-r--r--test/CodeGen/2007-03-26-ZeroWidthBitfield.c2
-rw-r--r--test/CodeGen/2007-03-27-VarLengthArray.c9
-rw-r--r--test/CodeGen/2007-04-05-PackedBitFields-2.c16
-rw-r--r--test/CodeGen/2007-04-05-PackedBitFields.c16
-rw-r--r--test/CodeGen/2007-04-05-PackedStruct.c18
-rw-r--r--test/CodeGen/2007-04-05-PadBeforeZeroLengthField.c9
-rw-r--r--test/CodeGen/2007-04-05-UnPackedStruct.c16
-rw-r--r--test/CodeGen/2007-04-11-InlineAsmStruct.c8
-rw-r--r--test/CodeGen/2007-04-11-InlineAsmUnion.c7
-rw-r--r--test/CodeGen/2007-04-11-PR1321.c12
-rw-r--r--test/CodeGen/2007-04-13-InlineAsmStruct2.c9
-rw-r--r--test/CodeGen/2007-04-13-InlineAsmUnion2.c8
-rw-r--r--test/CodeGen/2007-04-14-FNoBuiltin.c7
-rw-r--r--test/CodeGen/2007-04-17-ZeroSizeBitFields.c4
-rw-r--r--test/CodeGen/2007-04-24-VolatileStructCopy.c11
-rw-r--r--test/CodeGen/2007-04-24-bit-not-expr.c7
-rw-r--r--test/CodeGen/2007-04-24-str-const.c17
-rw-r--r--test/CodeGen/2007-05-07-PaddingElements.c12
-rw-r--r--test/CodeGen/2007-05-08-PCH.c7
-rw-r--r--test/CodeGen/2007-05-11-str-const.c5
-rw-r--r--test/CodeGen/2007-05-15-PaddingElement.c23
-rw-r--r--test/CodeGen/2007-05-16-EmptyStruct.c5
-rw-r--r--test/CodeGen/2007-05-29-UnionCopy.c18
-rw-r--r--test/CodeGen/2007-06-05-NoInlineAttribute.c13
-rw-r--r--test/CodeGen/2007-06-15-AnnotateAttribute.c21
-rw-r--r--test/CodeGen/2007-06-18-SextAttrAggregate.c12
-rw-r--r--test/CodeGen/2007-07-29-RestrictPtrArg.c6
-rw-r--r--test/CodeGen/2007-08-01-LoadStoreAlign.c18
-rw-r--r--test/CodeGen/2007-08-21-ComplexCst.c3
-rw-r--r--test/CodeGen/2007-08-22-CTTZ.c8
-rw-r--r--test/CodeGen/2007-09-05-ConstCtor.c14
-rw-r--r--test/CodeGen/2007-09-12-PragmaPack.c32
-rw-r--r--test/CodeGen/2007-09-14-NegatePointer.c7
-rw-r--r--test/CodeGen/2007-09-17-WeakRef.c10
-rw-r--r--test/CodeGen/2007-09-26-Alignment.c8
-rw-r--r--test/CodeGen/2007-09-27-ComplexIntCompare.c15
-rw-r--r--test/CodeGen/2007-09-28-PackedUnionMember.c38
-rw-r--r--test/CodeGen/2007-10-02-VolatileArray.c7
-rw-r--r--test/CodeGen/2007-10-15-VoidPtr.c4
-rw-r--r--test/CodeGen/2007-10-30-Volatile.c6
-rw-r--r--test/CodeGen/2007-11-07-AlignedMemcpy.c4
-rw-r--r--test/CodeGen/2007-11-07-CopyAggregateAlign.c7
-rw-r--r--test/CodeGen/2007-11-07-ZeroAggregateAlign.c5
-rw-r--r--test/CodeGen/2007-11-28-GlobalInitializer.c8
-rw-r--r--test/CodeGen/2007-12-16-AsmNoUnwind.c3
-rw-r--r--test/CodeGen/2008-01-04-WideBitfield.c12
-rw-r--r--test/CodeGen/2008-01-07-UnusualIntSize.c15
-rw-r--r--test/CodeGen/2008-01-11-ChainConsistency.c3
-rw-r--r--test/CodeGen/2008-01-21-PackedBitFields.c7
-rw-r--r--test/CodeGen/2008-01-21-PackedStructField.c18
-rw-r--r--test/CodeGen/2008-01-24-StructAlignAndBitFields.c4
-rw-r--r--test/CodeGen/2008-01-25-ByValReadNone.c16
-rw-r--r--test/CodeGen/2008-01-25-ZeroSizedAggregate.c39
-rw-r--r--test/CodeGen/2008-01-28-PragmaMark.c6
-rw-r--r--test/CodeGen/2008-01-28-UnionSize.c24
-rw-r--r--test/CodeGen/2008-03-03-CtorAttrType.c6
-rw-r--r--test/CodeGen/2008-03-05-syncPtr.c40
-rw-r--r--test/CodeGen/2008-03-24-BitField-And-Alloca.c89
-rw-r--r--test/CodeGen/2008-03-26-PackedBitFields.c7
-rw-r--r--test/CodeGen/2008-04-08-NoExceptions.c10
-rw-r--r--test/CodeGen/2008-05-06-CFECrash.c4
-rw-r--r--test/CodeGen/2008-05-12-TempUsedBeforeDef.c10
-rw-r--r--test/CodeGen/2008-05-19-AlwaysInline.c12
-rw-r--r--test/CodeGen/2008-08-07-AlignPadding1.c32
-rw-r--r--test/CodeGen/2008-08-07-AlignPadding2.c18
-rw-r--r--test/CodeGen/2008-08-07-GEPIntToPtr.c15
-rw-r--r--test/CodeGen/2008-09-03-WeakAlias.c9
-rw-r--r--test/CodeGen/2008-10-13-FrontendCrash.c9
-rw-r--r--test/CodeGen/2008-10-30-ZeroPlacement.c9
-rw-r--r--test/CodeGen/2008-11-02-WeakAlias.c6
-rw-r--r--test/CodeGen/2008-11-08-InstCombineSelect.c17
-rw-r--r--test/CodeGen/2008-12-23-AsmIntPointerTie.c8
-rw-r--r--test/CodeGen/2009-01-05-BlockInlining.c29
-rw-r--r--test/CodeGen/2009-01-21-InvalidIterator.c74
-rw-r--r--test/CodeGen/2009-02-13-zerosize-union-field-ppc.c14
-rw-r--r--test/CodeGen/2009-02-13-zerosize-union-field.c16
-rw-r--r--test/CodeGen/2009-03-01-MallocNoAlias.c3
-rw-r--r--test/CodeGen/2009-03-08-ZeroEltStructCrash.c14
-rw-r--r--test/CodeGen/2009-03-13-dbg.c2
-rw-r--r--test/CodeGen/2009-04-28-UnionArrayCrash.c11
-rw-r--r--test/CodeGen/2009-05-04-EnumInreg.c17
-rw-r--r--test/CodeGen/2009-06-14-HighlyAligned.c8
-rw-r--r--test/CodeGen/2009-06-18-StaticInitTailPadPack.c26
-rw-r--r--test/CodeGen/2009-07-14-VoidPtr.c6
-rw-r--r--test/CodeGen/2009-07-15-pad-wchar_t-array.c17
-rw-r--r--test/CodeGen/2009-07-22-StructLayout.c34
-rw-r--r--test/CodeGen/2009-09-24-SqrtErrno.c12
-rw-r--r--test/CodeGen/2009-12-07-BitFieldAlignment.c15
-rw-r--r--test/CodeGen/2010-01-13-MemBarrier.c11
-rw-r--r--test/CodeGen/2010-01-14-FnType-DebugInfo.c4
-rw-r--r--test/CodeGen/2010-01-18-Inlined-Debug.c12
-rw-r--r--test/CodeGen/2010-02-10-PointerName.c7
-rw-r--r--test/CodeGen/2010-02-15-DbgStaticVar.c13
-rw-r--r--test/CodeGen/2010-03-5-LexicalScope.c10
-rw-r--r--test/CodeGen/2010-05-26-AsmSideEffect.c9
-rw-r--r--test/CodeGen/2010-06-11-SaveExpr.c8
-rw-r--r--test/CodeGen/2010-06-17-asmcrash.c16
-rw-r--r--test/CodeGen/2010-07-08-DeclDebugLineNo.c10
-rw-r--r--test/CodeGen/2010-07-14-overconservative-align.c14
-rw-r--r--test/CodeGen/2010-07-14-ref-off-end.c24
-rw-r--r--test/CodeGen/2010-08-12-asm-aggr-arg.c16
-rw-r--r--test/CodeGen/2010-12-01-CommonGlobal.c7
-rw-r--r--test/CodeGen/2011-02-21-DATA-common.c5
-rw-r--r--test/CodeGen/2011-03-02-UnionInitializer.c2
-rw-r--r--test/CodeGen/2011-03-08-ZeroFieldUnionInitializer.c7
-rw-r--r--test/CodeGen/2011-03-31-ArrayRefFolding.c15
-rw-r--r--test/CodeGen/Atomics.c203
-rw-r--r--test/CodeGen/BasicInstrs.c25
-rw-r--r--test/CodeGen/always-inline.c12
-rw-r--r--test/CodeGen/annotate.c10
-rw-r--r--test/CodeGen/annotations-builtin.c52
-rw-r--r--test/CodeGen/annotations-field.c27
-rw-r--r--test/CodeGen/annotations-global.c41
-rw-r--r--test/CodeGen/annotations-loc.c10
-rw-r--r--test/CodeGen/annotations-var.c48
-rw-r--r--test/CodeGen/arm-aapcs-vfp.c82
-rw-r--r--test/CodeGen/arm-apcs-zerolength-bitfield.c240
-rw-r--r--test/CodeGen/arm-arguments.c28
-rw-r--r--test/CodeGen/arm-inline-asm.c6
-rw-r--r--test/CodeGen/arm-vaarg-align.c33
-rw-r--r--test/CodeGen/arm-vector-arguments.c6
-rw-r--r--test/CodeGen/arrayderef.c16
-rw-r--r--test/CodeGen/asm-reg-var-local.c24
-rw-r--r--test/CodeGen/asm.c18
-rw-r--r--test/CodeGen/assign.c6
-rw-r--r--test/CodeGen/atomic-ops.c77
-rw-r--r--test/CodeGen/atomic.c111
-rw-r--r--test/CodeGen/attr-naked.c11
-rw-r--r--test/CodeGen/attribute_constructor.c6
-rw-r--r--test/CodeGen/avx-shuffle-builtins.c16
-rw-r--r--test/CodeGen/block-3.c8
-rw-r--r--test/CodeGen/block-copy.c20
-rw-r--r--test/CodeGen/block-decl-merging.c20
-rw-r--r--test/CodeGen/blocks.c4
-rw-r--r--test/CodeGen/builtin-attributes.c41
-rw-r--r--test/CodeGen/capture-complex-expr-in-block.c20
-rw-r--r--test/CodeGen/char-literal.c78
-rw-r--r--test/CodeGen/complex-init-list.c12
-rw-r--r--test/CodeGen/debug-dead-local-var.c14
-rw-r--r--test/CodeGen/debug-info-iv.c10
-rw-r--r--test/CodeGen/debug-info-line.c14
-rw-r--r--test/CodeGen/debug-info-line3.c16
-rw-r--r--test/CodeGen/debug-info-member.c2
-rw-r--r--test/CodeGen/decl.c8
-rw-r--r--test/CodeGen/exact-div-expr.c6
-rw-r--r--test/CodeGen/exceptions.c6
-rw-r--r--test/CodeGen/extern-weak.c12
-rw-r--r--test/CodeGen/fp16-ops.c283
-rw-r--r--test/CodeGen/func-aligned.c7
-rw-r--r--test/CodeGen/funccall.c17
-rw-r--r--test/CodeGen/function-attributes.c22
-rw-r--r--test/CodeGen/functions.c4
-rw-r--r--test/CodeGen/hidden-visibility.c4
-rw-r--r--test/CodeGen/implicit-arg.c10
-rw-r--r--test/CodeGen/inline-asm-mrv.c12
-rw-r--r--test/CodeGen/inline.c20
-rw-r--r--test/CodeGen/kr-call.c12
-rw-r--r--test/CodeGen/libcalls-d.c16
-rw-r--r--test/CodeGen/libcalls-ld.c19
-rw-r--r--test/CodeGen/libcalls.c6
-rw-r--r--test/CodeGen/microsoft-call-conv.c2
-rw-r--r--test/CodeGen/misaligned-param.c13
-rw-r--r--test/CodeGen/mrtd.c2
-rw-r--r--test/CodeGen/ms_struct-bitfield-1.c62
-rw-r--r--test/CodeGen/pascal-wchar-string.c2
-rw-r--r--test/CodeGen/pr2394.c7
-rw-r--r--test/CodeGen/pr3518.c29
-rw-r--r--test/CodeGen/pr4349.c38
-rw-r--r--test/CodeGen/pr5406.c17
-rw-r--r--test/CodeGen/pragma-weak.c15
-rw-r--r--test/CodeGen/redef-ext-inline.c6
-rw-r--r--test/CodeGen/sret.c15
-rw-r--r--test/CodeGen/sret2.c9
-rw-r--r--test/CodeGen/sse-builtins.c104
-rw-r--r--test/CodeGen/stdcall-fastcall.c2
-rw-r--r--test/CodeGen/string-literal-short-wstring.c2
-rw-r--r--test/CodeGen/string-literal.c78
-rw-r--r--test/CodeGen/struct-init.c10
-rw-r--r--test/CodeGen/struct-matching-constraint.c13
-rw-r--r--test/CodeGen/struct-passing.c4
-rw-r--r--test/CodeGen/target-data.c6
-rw-r--r--test/CodeGen/unaligned-memcpy.c5
-rw-r--r--test/CodeGen/union-align.c17
-rw-r--r--test/CodeGen/vla-2.c10
-rw-r--r--test/CodeGen/vla-3.c11
-rw-r--r--test/CodeGen/volatile-1.c254
-rw-r--r--test/CodeGen/volatile-2.c12
-rw-r--r--test/CodeGen/wchar-const.c24
-rw-r--r--test/CodeGen/weak_constant.c13
-rw-r--r--test/CodeGen/x86_32-arguments-darwin.c18
-rw-r--r--test/CodeGen/x86_64-arguments.c6
-rw-r--r--test/CodeGenCUDA/device-stub.cu13
-rw-r--r--test/CodeGenCUDA/filter-decl.cu40
-rw-r--r--test/CodeGenCUDA/kernel-call.cu13
-rw-r--r--test/CodeGenCUDA/ptx-kernels.cu12
-rw-r--r--test/CodeGenCXX/2003-11-02-WeakLinkage.cpp13
-rw-r--r--test/CodeGenCXX/2003-11-18-PtrMemConstantInitializer.cpp13
-rw-r--r--test/CodeGenCXX/2003-11-27-MultipleInheritanceThunk.cpp28
-rw-r--r--test/CodeGenCXX/2003-11-29-DuplicatedCleanupTest.cpp41
-rw-r--r--test/CodeGenCXX/2003-12-08-ArrayOfPtrToMemberFunc.cpp12
-rw-r--r--test/CodeGenCXX/2004-01-11-DynamicInitializedConstant.cpp6
-rw-r--r--test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp21
-rw-r--r--test/CodeGenCXX/2004-03-09-UnmangledBuiltinMethods.cpp8
-rw-r--r--test/CodeGenCXX/2004-03-15-CleanupsAndGotos.cpp14
-rw-r--r--test/CodeGenCXX/2004-06-08-LateTemplateInstantiation.cpp18
-rw-r--r--test/CodeGenCXX/2004-09-27-DidntEmitTemplate.cpp22
-rw-r--r--test/CodeGenCXX/2004-11-27-ExceptionCleanupAssertion.cpp14
-rw-r--r--test/CodeGenCXX/2004-11-27-FriendDefaultArgCrash.cpp9
-rw-r--r--test/CodeGenCXX/2005-01-03-StaticInitializers.cpp8
-rw-r--r--test/CodeGenCXX/2005-02-11-AnonymousUnion.cpp32
-rw-r--r--test/CodeGenCXX/2005-02-13-BadDynamicInit.cpp9
-rw-r--r--test/CodeGenCXX/2005-02-14-BitFieldOffset.cpp12
-rw-r--r--test/CodeGenCXX/2005-02-19-BitfieldStructCrash.cpp14
-rw-r--r--test/CodeGenCXX/2005-02-19-UnnamedVirtualThunkArgument.cpp22
-rw-r--r--test/CodeGenCXX/2005-02-20-BrokenReferenceTest.cpp10
-rw-r--r--test/CodeGenCXX/2006-03-01-GimplifyCrash.cpp14
-rw-r--r--test/CodeGenCXX/2006-03-06-C++RecurseCrash.cpp23
-rw-r--r--test/CodeGenCXX/2006-09-12-OpaqueStructCrash.cpp27
-rw-r--r--test/CodeGenCXX/2006-10-30-ClassBitfield.cpp16
-rw-r--r--test/CodeGenCXX/2006-11-20-GlobalSymbols.cpp11
-rw-r--r--test/CodeGenCXX/2006-11-30-ConstantExprCrash.cpp21
-rw-r--r--test/CodeGenCXX/2007-01-02-UnboundedArray.cpp14
-rw-r--r--test/CodeGenCXX/2007-01-06-PtrMethodInit.cpp75
-rw-r--r--test/CodeGenCXX/2007-04-05-PackedBitFields-1.cpp22
-rw-r--r--test/CodeGenCXX/2007-04-05-PackedBitFieldsOverlap-2.cpp23
-rw-r--r--test/CodeGenCXX/2007-04-05-PackedBitFieldsOverlap.cpp23
-rw-r--r--test/CodeGenCXX/2007-04-05-PackedBitFieldsSmall.cpp27
-rw-r--r--test/CodeGenCXX/2007-04-05-StructPackedFieldUnpacked.cpp24
-rw-r--r--test/CodeGenCXX/2007-04-10-PackedUnion.cpp41
-rw-r--r--test/CodeGenCXX/2007-04-14-FNoBuiltin.cpp8
-rw-r--r--test/CodeGenCXX/2007-05-03-VectorInit.cpp17
-rw-r--r--test/CodeGenCXX/2007-07-29-RestrictPtrArg.cpp7
-rw-r--r--test/CodeGenCXX/2007-07-29-RestrictRefArg.cpp7
-rw-r--r--test/CodeGenCXX/2007-09-10-RecursiveTypeResolution.cpp87
-rw-r--r--test/CodeGenCXX/2007-10-01-StructResize.cpp13
-rw-r--r--test/CodeGenCXX/2008-01-12-VecInit.cpp5
-rw-r--r--test/CodeGenCXX/2008-05-07-CrazyOffsetOf.cpp8
-rw-r--r--test/CodeGenCXX/2009-03-17-dbg.cpp15
-rw-r--r--test/CodeGenCXX/2009-04-23-bool2.cpp15
-rw-r--r--test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp15
-rw-r--r--test/CodeGenCXX/2009-06-16-DebugInfoCrash.cpp10
-rw-r--r--test/CodeGenCXX/2009-07-16-Using.cpp8
-rw-r--r--test/CodeGenCXX/2009-08-05-ZeroInitWidth.cpp11
-rw-r--r--test/CodeGenCXX/2009-08-11-VectorRetTy.cpp13
-rw-r--r--test/CodeGenCXX/2009-09-09-packed-layout.cpp18
-rw-r--r--test/CodeGenCXX/2009-10-27-crash.cpp43
-rw-r--r--test/CodeGenCXX/2009-12-23-MissingSext.cpp16
-rw-r--r--test/CodeGenCXX/2010-05-10-Var-DbgInfo.cpp42
-rw-r--r--test/CodeGenCXX/2010-05-11-alwaysinlineinstantiation.cpp33
-rw-r--r--test/CodeGenCXX/2010-05-12-PtrToMember-Dbg.cpp17
-rw-r--r--test/CodeGenCXX/2010-06-21-LocalVarDbg.cpp14
-rw-r--r--test/CodeGenCXX/2010-06-22-BitfieldInit.cpp20
-rw-r--r--test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp5
-rw-r--r--test/CodeGenCXX/2010-07-23-DeclLoc.cpp86
-rw-r--r--test/CodeGenCXX/PR5050-constructor-conversion.cpp4
-rw-r--r--test/CodeGenCXX/abstract-class-ctors-dtors.cpp2
-rw-r--r--test/CodeGenCXX/anonymous-union-member-initializer.cpp49
-rw-r--r--test/CodeGenCXX/apple-kext-linkage.C12
-rw-r--r--test/CodeGenCXX/arm.cpp10
-rw-r--r--test/CodeGenCXX/array-construction.cpp4
-rw-r--r--test/CodeGenCXX/array-operator-delete-call.cpp4
-rw-r--r--test/CodeGenCXX/blocks.cpp24
-rw-r--r--test/CodeGenCXX/builtins.cpp12
-rw-r--r--test/CodeGenCXX/cast-conversion.cpp4
-rw-r--r--test/CodeGenCXX/class-layout.cpp32
-rw-r--r--test/CodeGenCXX/conditional-expr-lvalue.cpp13
-rw-r--r--test/CodeGenCXX/constructor-conversion.cpp4
-rw-r--r--test/CodeGenCXX/constructor-convert.cpp1
-rw-r--r--test/CodeGenCXX/constructor-default-arg.cpp4
-rw-r--r--test/CodeGenCXX/constructor-for-array-members.cpp4
-rw-r--r--test/CodeGenCXX/constructor-init.cpp74
-rw-r--r--test/CodeGenCXX/constructor-template.cpp4
-rw-r--r--test/CodeGenCXX/conversion-function.cpp4
-rw-r--r--test/CodeGenCXX/convert-to-fptr.cpp4
-rw-r--r--test/CodeGenCXX/copy-assign-synthesis-1.cpp4
-rw-r--r--test/CodeGenCXX/copy-assign-volatile-synthesis.cpp43
-rw-r--r--test/CodeGenCXX/cxx0x-defaulted-templates.cpp2
-rw-r--r--test/CodeGenCXX/cxx0x-delegating-ctors.cpp2
-rw-r--r--test/CodeGenCXX/cxx0x-initializer-scalars.cpp7
-rw-r--r--test/CodeGenCXX/debug-info-char16.cpp9
-rw-r--r--test/CodeGenCXX/debug-info-cxx0x.cpp2
-rw-r--r--test/CodeGenCXX/debug-info-nullptr.cpp8
-rw-r--r--test/CodeGenCXX/debug-info-wchar.cpp5
-rw-r--r--test/CodeGenCXX/debug-info.cpp12
-rw-r--r--test/CodeGenCXX/delete.cpp13
-rw-r--r--test/CodeGenCXX/derived-to-base-conv.cpp4
-rw-r--r--test/CodeGenCXX/destructors.cpp36
-rw-r--r--test/CodeGenCXX/dynamic-cast-always-null.cpp2
-rw-r--r--test/CodeGenCXX/dynamic-cast.cpp3
-rw-r--r--test/CodeGenCXX/eh.cpp46
-rw-r--r--test/CodeGenCXX/exceptions.cpp37
-rw-r--r--test/CodeGenCXX/for-range-temporaries.cpp14
-rw-r--r--test/CodeGenCXX/for-range.cpp2
-rw-r--r--test/CodeGenCXX/fp16-mangle.cpp12
-rw-r--r--test/CodeGenCXX/fp16-overload.cpp10
-rw-r--r--test/CodeGenCXX/global-array-destruction.cpp2
-rw-r--r--test/CodeGenCXX/goto.cpp1
-rw-r--r--test/CodeGenCXX/incomplete-types.cpp (renamed from test/CodeGenCXX/init-incomplete-type.cpp)14
-rw-r--r--test/CodeGenCXX/m64-ptr.cpp18
-rw-r--r--test/CodeGenCXX/mangle-alias-template.cpp2
-rw-r--r--test/CodeGenCXX/mangle-exprs.cpp2
-rw-r--r--test/CodeGenCXX/mangle-ref-qualifiers.cpp2
-rw-r--r--test/CodeGenCXX/mangle-subst-std.cpp6
-rw-r--r--test/CodeGenCXX/mangle-unnameable-conversions.cpp2
-rw-r--r--test/CodeGenCXX/mangle-variadic-templates.cpp2
-rw-r--r--test/CodeGenCXX/mangle.cpp13
-rw-r--r--test/CodeGenCXX/member-alignment.cpp20
-rw-r--r--test/CodeGenCXX/member-function-pointers.cpp2
-rw-r--r--test/CodeGenCXX/member-init-anon-union.cpp35
-rw-r--r--test/CodeGenCXX/member-init-ctor.cpp2
-rw-r--r--test/CodeGenCXX/nrvo.cpp13
-rw-r--r--test/CodeGenCXX/nullptr.cpp2
-rw-r--r--test/CodeGenCXX/partial-destruction.cpp21
-rw-r--r--test/CodeGenCXX/pr9965.cpp2
-rw-r--r--test/CodeGenCXX/ptr-to-member-function.cpp4
-rw-r--r--test/CodeGenCXX/reference-cast.cpp24
-rw-r--r--test/CodeGenCXX/reinterpret-cast.cpp2
-rw-r--r--test/CodeGenCXX/rvalue-references.cpp28
-rw-r--r--test/CodeGenCXX/scoped-enums.cpp2
-rw-r--r--test/CodeGenCXX/sizeof-unwind-exception.cpp28
-rw-r--r--test/CodeGenCXX/static-assert.cpp2
-rw-r--r--test/CodeGenCXX/static-init.cpp4
-rw-r--r--test/CodeGenCXX/template-instantiation.cpp36
-rw-r--r--test/CodeGenCXX/temporaries.cpp6
-rw-r--r--test/CodeGenCXX/threadsafe-statics-exceptions.cpp7
-rw-r--r--test/CodeGenCXX/thunk-linkonce-odr.cpp33
-rw-r--r--test/CodeGenCXX/typeid.cpp3
-rw-r--r--test/CodeGenCXX/union-dtor.cpp42
-rw-r--r--test/CodeGenCXX/value-init.cpp19
-rw-r--r--test/CodeGenCXX/vararg-conversion-ctor.cpp2
-rw-r--r--test/CodeGenCXX/varargs.cpp43
-rw-r--r--test/CodeGenCXX/variadic-templates.cpp2
-rw-r--r--test/CodeGenCXX/visibility.cpp2
-rw-r--r--test/CodeGenCXX/volatile-1.cpp288
-rw-r--r--test/CodeGenCXX/vtable-layout-abi-examples.cpp435
-rw-r--r--test/CodeGenCXX/weak-external.cpp66
-rw-r--r--test/CodeGenCXX/x86-64-abi-sret-vs-2word-struct-param.cpp29
-rw-r--r--test/CodeGenCXX/x86_32-arguments.cpp8
-rw-r--r--test/CodeGenObjC/2007-04-03-ObjcEH.m27
-rw-r--r--test/CodeGenObjC/2007-05-02-Strong.m23
-rw-r--r--test/CodeGenObjC/2007-10-18-ProDescriptor.m18
-rw-r--r--test/CodeGenObjC/2007-10-23-GC-WriteBarrier.m9
-rw-r--r--test/CodeGenObjC/2008-10-3-EhValue.m50
-rw-r--r--test/CodeGenObjC/2008-11-12-Metadata.m14
-rw-r--r--test/CodeGenObjC/2008-11-24-ConstCFStrings.m13
-rw-r--r--test/CodeGenObjC/2008-11-25-Blocks.m17
-rw-r--r--test/CodeGenObjC/2009-01-26-WriteBarrier-2.m19
-rw-r--r--test/CodeGenObjC/2009-02-05-VolatileProp.m10
-rw-r--r--test/CodeGenObjC/2009-08-05-utf16.m5
-rw-r--r--test/CodeGenObjC/2010-02-01-utf16-with-null.m5
-rw-r--r--test/CodeGenObjC/2010-02-23-DbgInheritance.m10
-rw-r--r--test/CodeGenObjC/2010-03-17-StructRef.m43
-rw-r--r--test/CodeGenObjC/2011-03-08-IVarLookup.m30
-rw-r--r--test/CodeGenObjC/arc-arm.m2
-rw-r--r--test/CodeGenObjC/arc-block-copy-escape.m22
-rw-r--r--test/CodeGenObjC/arc-block-ivar-layout.m2
-rw-r--r--test/CodeGenObjC/arc-bridged-cast.m2
-rw-r--r--test/CodeGenObjC/arc-compound-stmt.m2
-rw-r--r--test/CodeGenObjC/arc-foreach.m107
-rw-r--r--test/CodeGenObjC/arc-ivar-layout.m2
-rw-r--r--test/CodeGenObjC/arc-no-runtime.m2
-rw-r--r--test/CodeGenObjC/arc-related-result-type.m2
-rw-r--r--test/CodeGenObjC/arc-unbridged-cast.m4
-rw-r--r--test/CodeGenObjC/arc-unopt.m2
-rw-r--r--test/CodeGenObjC/arc-weak-property.m2
-rw-r--r--test/CodeGenObjC/arc-with-atthrow.m17
-rw-r--r--test/CodeGenObjC/arc.m394
-rw-r--r--test/CodeGenObjC/arm-atomic-scalar-setter-getter.m2
-rw-r--r--test/CodeGenObjC/assign.m2
-rw-r--r--test/CodeGenObjC/atomic-aggregate-property.m25
-rw-r--r--test/CodeGenObjC/attr-availability.m6
-rw-r--r--test/CodeGenObjC/autorelease.m4
-rw-r--r--test/CodeGenObjC/bitfield-1.m6
-rw-r--r--test/CodeGenObjC/bitfield-access.m4
-rw-r--r--test/CodeGenObjC/bitfield-ivar-offsets.m2
-rw-r--r--test/CodeGenObjC/bitfield_encoding.m4
-rw-r--r--test/CodeGenObjC/block-6.m2
-rw-r--r--test/CodeGenObjC/block-var-layout.m2
-rw-r--r--test/CodeGenObjC/blocks-1.m4
-rw-r--r--test/CodeGenObjC/blocks-2.m9
-rw-r--r--test/CodeGenObjC/blocks-3.m2
-rw-r--r--test/CodeGenObjC/blocks-4.m2
-rw-r--r--test/CodeGenObjC/blocks-5.m2
-rw-r--r--test/CodeGenObjC/blocks.m2
-rw-r--r--test/CodeGenObjC/builtins.m7
-rw-r--r--test/CodeGenObjC/category-class.m2
-rw-r--r--test/CodeGenObjC/class-type.m6
-rw-r--r--test/CodeGenObjC/complex-property.m2
-rw-r--r--test/CodeGenObjC/constant-string-class-1.m2
-rw-r--r--test/CodeGenObjC/constant-string-class.m4
-rw-r--r--test/CodeGenObjC/deadcode_strip_used_var.m4
-rw-r--r--test/CodeGenObjC/debug-info-block-helper.m2
-rw-r--r--test/CodeGenObjC/debug-info-blocks.m2
-rw-r--r--test/CodeGenObjC/debug-info-class-extension.m2
-rw-r--r--test/CodeGenObjC/debug-info-class-extension2.m2
-rw-r--r--test/CodeGenObjC/debug-info-class-extension3.m2
-rw-r--r--test/CodeGenObjC/debug-info-crash-2.m15
-rw-r--r--test/CodeGenObjC/debug-info-crash.m2
-rw-r--r--test/CodeGenObjC/debug-info-default-synth-ivar.m2
-rw-r--r--test/CodeGenObjC/debug-info-fnname.m15
-rw-r--r--test/CodeGenObjC/debug-info-getter-name.m2
-rw-r--r--test/CodeGenObjC/debug-info-property2.m14
-rw-r--r--test/CodeGenObjC/debug-info-static-var.m2
-rw-r--r--test/CodeGenObjC/default-property-synthesis.m2
-rw-r--r--test/CodeGenObjC/encode-cstyle-method.m2
-rw-r--r--test/CodeGenObjC/encode-test-4.m7
-rw-r--r--test/CodeGenObjC/encode-test.m2
-rw-r--r--test/CodeGenObjC/exceptions-nonfragile.m2
-rw-r--r--test/CodeGenObjC/exceptions.m2
-rw-r--r--test/CodeGenObjC/forward-class-impl-metadata.m2
-rw-r--r--test/CodeGenObjC/fpret.m6
-rw-r--r--test/CodeGenObjC/gc-weak-attribute.m28
-rw-r--r--test/CodeGenObjC/gc.m2
-rw-r--r--test/CodeGenObjC/gnu-exceptions.m6
-rw-r--r--test/CodeGenObjC/hidden-visibility.m2
-rw-r--r--test/CodeGenObjC/id-isa-codegen.m4
-rw-r--r--test/CodeGenObjC/image-info.m4
-rw-r--r--test/CodeGenObjC/implicit-objc_msgSend.m2
-rw-r--r--test/CodeGenObjC/instance-method-metadata.m2
-rw-r--r--test/CodeGenObjC/interface-layout-64.m2
-rw-r--r--test/CodeGenObjC/interface.m2
-rw-r--r--test/CodeGenObjC/ivar-layout-64-bitfields.m4
-rw-r--r--test/CodeGenObjC/ivar-layout-64.m4
-rw-r--r--test/CodeGenObjC/ivar-layout-array0-struct.m2
-rw-r--r--test/CodeGenObjC/ivar-layout-no-optimize.m4
-rw-r--r--test/CodeGenObjC/ivar-layout-nonfragile-abi2.m4
-rw-r--r--test/CodeGenObjC/ivars.m4
-rw-r--r--test/CodeGenObjC/link-errors.m4
-rw-r--r--test/CodeGenObjC/local-static-block.m2
-rw-r--r--test/CodeGenObjC/messages-2.m4
-rw-r--r--test/CodeGenObjC/messages.m8
-rw-r--r--test/CodeGenObjC/metadata-symbols-32.m2
-rw-r--r--test/CodeGenObjC/metadata-symbols-64.m2
-rw-r--r--test/CodeGenObjC/metadata_symbols.m6
-rw-r--r--test/CodeGenObjC/misc-atomic-property.m4
-rw-r--r--test/CodeGenObjC/mrr-autorelease.m4
-rw-r--r--test/CodeGenObjC/nested-rethrow.m2
-rw-r--r--test/CodeGenObjC/next-objc-dispatch.m8
-rw-r--r--test/CodeGenObjC/no-category-class.m2
-rw-r--r--test/CodeGenObjC/no-vararg-messaging.m2
-rw-r--r--test/CodeGenObjC/non-lazy-classes.m2
-rw-r--r--test/CodeGenObjC/nonlazy-msgSend.m2
-rw-r--r--test/CodeGenObjC/ns-constant-strings.m4
-rw-r--r--test/CodeGenObjC/objc-align.m2
-rw-r--r--test/CodeGenObjC/objc-assign-ivar.m2
-rw-r--r--test/CodeGenObjC/objc-gc-aggr-assign.m4
-rw-r--r--test/CodeGenObjC/objc-read-weak-byref.m4
-rw-r--r--test/CodeGenObjC/objc2-assign-global.m2
-rw-r--r--test/CodeGenObjC/objc2-ivar-assign.m2
-rw-r--r--test/CodeGenObjC/objc2-legacy-dispatch.m4
-rw-r--r--test/CodeGenObjC/objc2-new-gc-api-strongcast.m4
-rw-r--r--test/CodeGenObjC/objc2-no-write-barrier.m4
-rw-r--r--test/CodeGenObjC/objc2-nonfragile-abi-impl.m2
-rw-r--r--test/CodeGenObjC/objc2-retain-codegen.m4
-rw-r--r--test/CodeGenObjC/objc2-strong-cast-1.m4
-rw-r--r--test/CodeGenObjC/objc2-strong-cast-block-import.m25
-rw-r--r--test/CodeGenObjC/objc2-weak-assign.m4
-rw-r--r--test/CodeGenObjC/objc2-weak-block-call.m4
-rw-r--r--test/CodeGenObjC/objc2-weak-compare.m4
-rw-r--r--test/CodeGenObjC/objc2-weak-import-attribute.m2
-rw-r--r--test/CodeGenObjC/objc2-weak-ivar-debug.m8
-rw-r--r--test/CodeGenObjC/objc2-weak-ivar.m4
-rw-r--r--test/CodeGenObjC/objc2-write-barrier-2.m4
-rw-r--r--test/CodeGenObjC/objc2-write-barrier-3.m4
-rw-r--r--test/CodeGenObjC/objc2-write-barrier-4.m4
-rw-r--r--test/CodeGenObjC/objc2-write-barrier-5.m25
-rw-r--r--test/CodeGenObjC/objc2-write-barrier.m4
-rw-r--r--test/CodeGenObjC/object-incr-decr-1.m2
-rw-r--r--test/CodeGenObjC/predefined-expr.m2
-rw-r--r--test/CodeGenObjC/property-aggr-type.m50
-rw-r--r--test/CodeGenObjC/property-aggregate.m31
-rw-r--r--test/CodeGenObjC/property-category-impl.m2
-rw-r--r--test/CodeGenObjC/property-complex.m4
-rw-r--r--test/CodeGenObjC/property-list-in-class.m2
-rw-r--r--test/CodeGenObjC/property-ref-cast-to-void.m4
-rw-r--r--test/CodeGenObjC/property-type-mismatch.m2
-rw-r--r--test/CodeGenObjC/property.m9
-rw-r--r--test/CodeGenObjC/protocol-in-extended-class.m4
-rw-r--r--test/CodeGenObjC/protocol-property-synth.m2
-rw-r--r--test/CodeGenObjC/protocols-lazy.m2
-rw-r--r--test/CodeGenObjC/rdr-6732143-dangling-block-reference.m2
-rw-r--r--test/CodeGenObjC/simplify-exceptions.mm2
-rw-r--r--test/CodeGenObjC/stand-alone-implementation.m2
-rw-r--r--test/CodeGenObjC/super-dotsyntax-struct-property.m2
-rw-r--r--test/CodeGenObjC/super-message-fragileabi.m2
-rw-r--r--test/CodeGenObjC/synchronized.m2
-rw-r--r--test/CodeGenObjC/synthesize_ivar-cont-class.m2
-rw-r--r--test/CodeGenObjC/synthesize_ivar.m2
-rw-r--r--test/CodeGenObjC/terminate.m12
-rw-r--r--test/CodeGenObjC/variadic-sends.m4
-rw-r--r--test/CodeGenObjC/x86_64-struct-return-gc.m2
-rw-r--r--test/CodeGenObjCXX/2007-10-03-MetadataPointers.mm7
-rw-r--r--test/CodeGenObjCXX/2010-08-04-Template.mm10
-rw-r--r--test/CodeGenObjCXX/2010-08-06-X.Y-syntax.mm16
-rw-r--r--test/CodeGenObjCXX/arc-globals.mm2
-rw-r--r--test/CodeGenObjCXX/arc-mangle.mm2
-rw-r--r--test/CodeGenObjCXX/arc-move.mm2
-rw-r--r--test/CodeGenObjCXX/arc-new-delete.mm2
-rw-r--r--test/CodeGenObjCXX/arc-pseudo-destructors.mm2
-rw-r--r--test/CodeGenObjCXX/arc-references.mm7
-rw-r--r--test/CodeGenObjCXX/arc-returns-inner-reference-ptr.mm22
-rw-r--r--test/CodeGenObjCXX/arc-special-member-functions.mm18
-rw-r--r--test/CodeGenObjCXX/arc.mm47
-rw-r--r--test/CodeGenObjCXX/block-in-template-inst.mm2
-rw-r--r--test/CodeGenObjCXX/block-var-layout.mm2
-rw-r--r--test/CodeGenObjCXX/blocks.mm6
-rw-r--r--test/CodeGenObjCXX/catch-id-type.mm7
-rw-r--r--test/CodeGenObjCXX/copy.mm17
-rw-r--r--test/CodeGenObjCXX/copyable-property-object.mm2
-rw-r--r--test/CodeGenObjCXX/encode.mm41
-rw-r--r--test/CodeGenObjCXX/exceptions.mm5
-rw-r--r--test/CodeGenObjCXX/gc.mm2
-rw-r--r--test/CodeGenObjCXX/implicit-copy-assign-operator.mm2
-rw-r--r--test/CodeGenObjCXX/implicit-copy-constructor.mm2
-rw-r--r--test/CodeGenObjCXX/mangle-blocks.mm2
-rw-r--r--test/CodeGenObjCXX/message-reference.mm2
-rw-r--r--test/CodeGenObjCXX/nrvo.mm32
-rw-r--r--test/CodeGenObjCXX/property-derived-to-base-conv.mm2
-rw-r--r--test/CodeGenObjCXX/property-dot-copy.mm2
-rw-r--r--test/CodeGenObjCXX/property-dot-reference.mm2
-rw-r--r--test/CodeGenObjCXX/property-object-conditional-exp.mm2
-rw-r--r--test/CodeGenObjCXX/property-object-reference.mm23
-rw-r--r--test/CodeGenObjCXX/property-objects.mm2
-rw-r--r--test/CodeGenObjCXX/property-reference.mm52
-rw-r--r--test/CodeGenObjCXX/refence-assign-write-barrier.mm2
-rw-r--r--test/CodeGenObjCXX/selector-expr-lvalue.mm2
-rw-r--r--test/CodeGenObjCXX/write-barrier-global-assign.mm2
-rw-r--r--test/CodeGenOpenCL/local.cl7
-rw-r--r--test/CodeGenOpenCL/ptx-calls.cl12
-rw-r--r--test/CodeGenOpenCL/ptx-kernels.cl10
-rw-r--r--test/Driver/Inputs/basic_linux_tree/lib/.keep0
-rw-r--r--test/Driver/Inputs/basic_linux_tree/usr/i386-unknown-linux/lib/.keep0
-rw-r--r--test/Driver/Inputs/basic_linux_tree/usr/lib/.keep0
-rw-r--r--test/Driver/Inputs/basic_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0/crtbegin.o0
-rw-r--r--test/Driver/Inputs/basic_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/crtbegin.o0
-rw-r--r--test/Driver/Inputs/basic_linux_tree/usr/x86_64-unknown-linux/lib/.keep0
-rw-r--r--test/Driver/Inputs/fake_install_tree/bin/.keep0
-rw-r--r--test/Driver/Inputs/fake_install_tree/lib/gcc/i386-unknown-linux/4.7.0/crtbegin.o0
-rw-r--r--test/Driver/Inputs/fake_install_tree/lib/gcc/x86_64-unknown-linux/4.5.0/crtbegin.o0
-rw-r--r--test/Driver/Inputs/gcc_version_parsing1/bin/.keep0
-rw-r--r--test/Driver/Inputs/gcc_version_parsing1/lib/gcc/i386-unknown-linux/4.7/crtbegin.o0
-rw-r--r--test/Driver/Inputs/gcc_version_parsing2/bin/.keep0
-rw-r--r--test/Driver/Inputs/gcc_version_parsing2/lib/gcc/i386-unknown-linux/4.7.x/crtbegin.o0
-rw-r--r--test/Driver/Inputs/gcc_version_parsing3/bin/.keep0
-rw-r--r--test/Driver/Inputs/gcc_version_parsing3/lib/gcc/i386-unknown-linux/4.7.99-rc5/crtbegin.o0
-rw-r--r--test/Driver/Inputs/multilib_32bit_linux_tree/lib/.keep0
-rw-r--r--test/Driver/Inputs/multilib_32bit_linux_tree/lib32/.keep0
-rw-r--r--test/Driver/Inputs/multilib_32bit_linux_tree/lib64/.keep0
-rw-r--r--test/Driver/Inputs/multilib_32bit_linux_tree/usr/i386-unknown-linux/lib/.keep0
-rw-r--r--test/Driver/Inputs/multilib_32bit_linux_tree/usr/i386-unknown-linux/lib32/.keep0
-rw-r--r--test/Driver/Inputs/multilib_32bit_linux_tree/usr/i386-unknown-linux/lib64/.keep0
-rw-r--r--test/Driver/Inputs/multilib_32bit_linux_tree/usr/lib/.keep0
-rw-r--r--test/Driver/Inputs/multilib_32bit_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0/64/crtbegin.o0
-rw-r--r--test/Driver/Inputs/multilib_32bit_linux_tree/usr/lib/gcc/i386-unknown-linux/4.6.0/crtbegin.o0
-rw-r--r--test/Driver/Inputs/multilib_32bit_linux_tree/usr/lib32/.keep0
-rw-r--r--test/Driver/Inputs/multilib_32bit_linux_tree/usr/lib64/.keep0
-rw-r--r--test/Driver/Inputs/multilib_64bit_linux_tree/lib/.keep0
-rw-r--r--test/Driver/Inputs/multilib_64bit_linux_tree/lib32/.keep0
-rw-r--r--test/Driver/Inputs/multilib_64bit_linux_tree/lib64/.keep0
-rw-r--r--test/Driver/Inputs/multilib_64bit_linux_tree/usr/lib/.keep0
-rw-r--r--test/Driver/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/32/crtbegin.o0
-rw-r--r--test/Driver/Inputs/multilib_64bit_linux_tree/usr/lib/gcc/x86_64-unknown-linux/4.6.0/crtbegin.o0
-rw-r--r--test/Driver/Inputs/multilib_64bit_linux_tree/usr/lib32/.keep0
-rw-r--r--test/Driver/Inputs/multilib_64bit_linux_tree/usr/lib64/.keep0
-rw-r--r--test/Driver/Inputs/multilib_64bit_linux_tree/usr/x86_64-unknown-linux/lib/.keep0
-rw-r--r--test/Driver/Inputs/multilib_64bit_linux_tree/usr/x86_64-unknown-linux/lib32/.keep0
-rw-r--r--test/Driver/Inputs/multilib_64bit_linux_tree/usr/x86_64-unknown-linux/lib64/.keep0
-rw-r--r--test/Driver/apple-kext-i386.cpp33
-rw-r--r--test/Driver/cc-log-diagnostics.c2
-rw-r--r--test/Driver/ccc-host-triple-no-integrated-as.c17
-rw-r--r--test/Driver/cpath.c20
-rw-r--r--test/Driver/darwin-objc-defaults.m18
-rw-r--r--test/Driver/darwin-objc-options.m4
-rw-r--r--test/Driver/darwin-verify-debug.c34
-rw-r--r--test/Driver/index-header-map.c4
-rw-r--r--test/Driver/le32-unknown-nacl.cpp141
-rw-r--r--test/Driver/linux-ld.c139
-rw-r--r--test/Driver/mno-global-merge.c12
-rw-r--r--test/Driver/nostdlibinc.c10
-rw-r--r--test/Driver/objc++-cpp-output.mm8
-rw-r--r--test/Driver/objc-cpp-output.m7
-rw-r--r--test/Driver/rewrite-objc.m4
-rw-r--r--test/Driver/std.cpp24
-rw-r--r--test/FixIt/dereference-addressof.c22
-rw-r--r--test/FixIt/fixit-cxx0x.cpp41
-rw-r--r--test/FixIt/fixit-errors.c2
-rw-r--r--test/FixIt/fixit-function-call.cpp118
-rw-r--r--test/FixIt/fixit-missing-method-return-type.m24
-rw-r--r--test/FixIt/fixit-objc-message.m4
-rw-r--r--test/FixIt/fixit-objc.m14
-rw-r--r--test/FixIt/fixit-static-object-decl.m29
-rw-r--r--test/FixIt/fixit.c15
-rw-r--r--test/FixIt/fixit.cpp13
-rw-r--r--test/FixIt/typo-crash.cpp11
-rw-r--r--test/FixIt/typo.m6
-rw-r--r--test/Frontend/Weverything.c9
-rw-r--r--test/Frontend/diagnostics-option-names.c8
-rw-r--r--test/Frontend/warning-mapping-1.c6
-rw-r--r--test/Frontend/warning-mapping-2.c5
-rw-r--r--test/Frontend/warning-mapping-3.c10
-rw-r--r--test/Frontend/warning-mapping-4.c6
-rw-r--r--test/Frontend/warning-mapping-5.c9
-rw-r--r--test/Headers/wchar_limits.cpp9
-rw-r--r--test/Index/IBOutletCollection.m18
-rw-r--r--test/Index/Inputs/preamble_macro_template.h6
-rw-r--r--test/Index/TestClassDecl.m2
-rw-r--r--test/Index/TestClassForwardDecl.m4
-rw-r--r--test/Index/annotate-attribute.cpp33
-rw-r--r--test/Index/annotate-context-sensitive.cpp6
-rw-r--r--test/Index/annotate-macro-args.h16
-rw-r--r--test/Index/annotate-macro-args.m23
-rw-r--r--test/Index/annotate-nested-name-specifier.cpp60
-rw-r--r--test/Index/annotate-tokens-cxx0x.cpp12
-rw-r--r--test/Index/annotate-tokens-pp.c70
-rw-r--r--test/Index/annotate-tokens-preamble.c20
-rw-r--r--test/Index/annotate-tokens-with-default-args.cpp16
-rw-r--r--test/Index/annotate-tokens-with-default-args.h3
-rw-r--r--test/Index/annotate-tokens.c91
-rw-r--r--test/Index/annotate-tokens.cpp32
-rw-r--r--test/Index/annotate-tokens.m193
-rw-r--r--test/Index/blocks.c20
-rw-r--r--test/Index/c-index-api-loadTU-test.m22
-rw-r--r--test/Index/c-index-getCursor-pp.c4
-rw-r--r--test/Index/c-index-getCursor-test.m44
-rw-r--r--test/Index/c-index-pch.c5
-rw-r--r--test/Index/code-completion.cpp3
-rw-r--r--test/Index/complete-access-checks.cpp89
-rw-r--r--test/Index/complete-cxx-inline-methods.cpp24
-rw-r--r--test/Index/complete-exprs.m4
-rw-r--r--test/Index/complete-in-stringify.c17
-rw-r--r--test/Index/complete-interfaces.m4
-rw-r--r--test/Index/complete-macro-args.c22
-rw-r--r--test/Index/complete-macros.c14
-rw-r--r--test/Index/complete-member-access.m15
-rw-r--r--test/Index/complete-objc-message.m23
-rw-r--r--test/Index/complete-qualified.cpp20
-rw-r--r--test/Index/complete-stmt.c12
-rw-r--r--test/Index/complete-synthesized.m30
-rw-r--r--test/Index/complete-with-annotations.cpp23
-rw-r--r--test/Index/cursor-ref-names.cpp47
-rw-r--r--test/Index/file-refs.c57
-rw-r--r--test/Index/file-refs.cpp104
-rw-r--r--test/Index/file-refs.m87
-rw-r--r--test/Index/get-cursor-macro-args.h16
-rw-r--r--test/Index/get-cursor-macro-args.m19
-rw-r--r--test/Index/get-cursor.c14
-rw-r--r--test/Index/get-cursor.cpp12
-rw-r--r--test/Index/get-cursor.m37
-rw-r--r--test/Index/getcursor-pp-pch.c43
-rw-r--r--test/Index/getcursor-pp-pch.c.h5
-rw-r--r--test/Index/in-class-init.cpp6
-rw-r--r--test/Index/index-templates.cpp10
-rw-r--r--test/Index/load-stmts.cpp16
-rw-r--r--test/Index/local-symbols.m8
-rw-r--r--test/Index/nested-binaryoperators.cpp2179
-rw-r--r--test/Index/nested-macro-instantiations.cpp4
-rw-r--r--test/Index/preamble-reparse-cmd-define.c9
-rw-r--r--test/Index/preamble-reparse-cmd-define.c.h1
-rw-r--r--test/Index/preamble-reparse-cmd-define.c.remap8
-rw-r--r--test/Index/preamble.c4
-rw-r--r--test/Index/preamble_macro_template.cpp15
-rw-r--r--test/Index/print-typekind.c11
-rw-r--r--test/Index/properties-class-extensions.m4
-rw-r--r--test/Index/rdar-8288645-invalid-code.mm1
-rw-r--r--test/Index/recursive-cxx-member-calls.cpp1016
-rw-r--r--test/Index/recursive-member-access.c272
-rw-r--r--test/Index/remap-load.c2
-rw-r--r--test/Index/usrs-cxx0x.cpp2
-rw-r--r--test/Index/usrs.m81
-rw-r--r--test/Lexer/bcpl-escaped-newline.c12
-rw-r--r--test/Lexer/constants.c2
-rw-r--r--test/Lexer/cxx0x_keyword.cpp2
-rw-r--r--test/Lexer/cxx0x_keyword_as_cxx98.cpp37
-rw-r--r--test/Lexer/cxx0x_raw_string_delim_length.cpp3
-rw-r--r--test/Lexer/cxx0x_raw_string_unterminated.cpp4
-rw-r--r--test/Lexer/has_extension.c8
-rw-r--r--test/Lexer/has_extension_cxx.cpp5
-rw-r--r--test/Lexer/has_feature_c1x.c9
-rw-r--r--test/Lexer/has_feature_cxx0x.cpp20
-rw-r--r--test/Lexer/has_feature_objc_arc.m4
-rw-r--r--test/Lexer/has_feature_type_traits.cpp5
-rw-r--r--test/Lexer/hexfloat.cpp9
-rw-r--r--test/Lexer/newline-eof.c5
-rw-r--r--test/Lexer/preamble.c4
-rw-r--r--test/Lexer/string_concat.cpp33
-rw-r--r--test/Lexer/utf8-char-literal.cpp4
-rw-r--r--test/Lexer/wchar.c4
-rw-r--r--test/Misc/ast-dump-templates.cpp39
-rw-r--r--test/Misc/caret-diags-macros.c9
-rw-r--r--test/Misc/diag-aka-types.cpp2
-rw-r--r--test/Misc/diag-line-wrapping.cpp13
-rw-r--r--test/Misc/error-limit-multiple-notes.cpp23
-rw-r--r--test/Misc/error-limit.c15
-rw-r--r--test/Misc/show-diag-options.c27
-rw-r--r--test/Misc/warning-flags.c317
-rw-r--r--test/Modules/Inputs/CmdLine.framework/Headers/CmdLine.h6
-rw-r--r--test/Modules/Inputs/DependsOnModule.framework/Headers/DependsOnModule.h3
-rw-r--r--test/Modules/Inputs/Module.framework/Headers/Module.h12
-rw-r--r--test/Modules/Inputs/MutuallyRecursive1.framework/Headers/MutuallyRecursive1.h3
-rw-r--r--test/Modules/Inputs/MutuallyRecursive2.framework/Headers/MutuallyRecursive2.h6
-rw-r--r--test/Modules/Inputs/diamond_bottom.h4
-rw-r--r--test/Modules/Inputs/diamond_left.h9
-rw-r--r--test/Modules/Inputs/diamond_right.h7
-rw-r--r--test/Modules/Inputs/diamond_top.h4
-rw-r--r--test/Modules/Inputs/load_failure.h1
-rw-r--r--test/Modules/Inputs/lookup_left.h3
-rw-r--r--test/Modules/Inputs/lookup_left.hpp5
-rw-r--r--test/Modules/Inputs/lookup_right.h5
-rw-r--r--test/Modules/Inputs/lookup_right.hpp1
-rw-r--r--test/Modules/Inputs/point.h2
-rw-r--r--test/Modules/auto-module-import.c13
-rw-r--r--test/Modules/cycles.c12
-rw-r--r--test/Modules/diamond.c27
-rw-r--r--test/Modules/driver.c6
-rw-r--r--test/Modules/header-import.m7
-rw-r--r--test/Modules/irgen.c15
-rw-r--r--test/Modules/load_failure.c19
-rw-r--r--test/Modules/lookup.cpp25
-rw-r--r--test/Modules/lookup.m19
-rw-r--r--test/Modules/macros.c41
-rw-r--r--test/Modules/module-private.cpp140
-rw-r--r--test/Modules/objc-categories.m89
-rw-r--r--test/Modules/on-demand-build-warnings.m5
-rw-r--r--test/Modules/on-demand-build.m17
-rw-r--r--test/Modules/on-demand-macros.m13
-rw-r--r--test/PCH/Inputs/cxx-method.h6
-rw-r--r--test/PCH/arc.m14
-rw-r--r--test/PCH/chain-categories.m51
-rw-r--r--test/PCH/chain-conversion-lookup.cpp26
-rw-r--r--test/PCH/chain-decls.c2
-rw-r--r--test/PCH/chain-ext_vector.c2
-rw-r--r--test/PCH/chain-external-defs.c2
-rw-r--r--test/PCH/chain-friend-instantiation.cpp61
-rw-r--r--test/PCH/chain-macro-override.c2
-rw-r--r--test/PCH/chain-macro.c2
-rw-r--r--test/PCH/chain-predecl.m2
-rw-r--r--test/PCH/chain-remap-types.m4
-rw-r--r--test/PCH/chain-selectors.m2
-rw-r--r--test/PCH/chain-trivial.c2
-rw-r--r--test/PCH/cxx-alias-decl.cpp6
-rw-r--r--test/PCH/cxx-for-range.cpp6
-rw-r--r--test/PCH/cxx-implicit-moves.cpp23
-rw-r--r--test/PCH/cxx-member-init.cpp6
-rw-r--r--test/PCH/cxx-method.cpp11
-rw-r--r--test/PCH/cxx-ms-function-specialization-class-scope.cpp13
-rw-r--r--test/PCH/cxx-ms-function-specialization-class-scope.h29
-rw-r--r--test/PCH/cxx-reference.cpp6
-rw-r--r--test/PCH/cxx-static_assert.cpp6
-rw-r--r--test/PCH/cxx-variadic-templates.cpp10
-rw-r--r--test/PCH/cxx0x-default-delete.cpp6
-rw-r--r--test/PCH/cxx0x-delegating-ctors.cpp6
-rw-r--r--test/PCH/cxx_exprs.cpp6
-rw-r--r--test/PCH/functions.c2
-rw-r--r--test/PCH/method-redecls.m18
-rw-r--r--test/PCH/modified-header-error.c2
-rw-r--r--test/PCH/objc_methods.h2
-rw-r--r--test/PCH/objc_methods.m2
-rw-r--r--test/PCH/preamble.c6
-rw-r--r--test/PCH/reinclude.cpp2
-rw-r--r--test/PCH/types.c6
-rw-r--r--test/PCH/types.h5
-rw-r--r--test/Parser/DelayedTemplateParsing.cpp23
-rw-r--r--test/Parser/MicrosoftExtensions.c8
-rw-r--r--test/Parser/PR11000.cpp9
-rw-r--r--test/Parser/access-spec-attrs.cpp12
-rw-r--r--test/Parser/c1x-alignas.c7
-rw-r--r--test/Parser/char-literal-printing.c36
-rw-r--r--test/Parser/cxx-casting.cpp23
-rw-r--r--test/Parser/cxx-class.cpp17
-rw-r--r--test/Parser/cxx-default-delete.cpp2
-rw-r--r--test/Parser/cxx-ext-delete-default.cpp10
-rw-r--r--test/Parser/cxx-member-init-missing-paren-crash.cpp12
-rw-r--r--test/Parser/cxx-member-initializers.cpp5
-rw-r--r--test/Parser/cxx-reference.cpp2
-rw-r--r--test/Parser/cxx0x-attributes.cpp13
-rw-r--r--test/Parser/cxx0x-in-cxx98.cpp8
-rw-r--r--test/Parser/cxx0x-lambda-expressions.cpp27
-rw-r--r--test/Parser/cxx0x-literal-operators.cpp7
-rw-r--r--test/Parser/cxx0x-member-initializers.cpp16
-rw-r--r--test/Parser/cxx0x-override-control-keywords.cpp2
-rw-r--r--test/Parser/cxx0x-rvalue-reference.cpp2
-rw-r--r--test/Parser/ms-inline-asm.c25
-rw-r--r--test/Parser/objc-init.m4
-rw-r--r--test/Parser/objc-messaging-neg-1.m1
-rw-r--r--test/Parser/objcxx-lambda-expressions-neg.mm5
-rw-r--r--test/Parser/objcxx0x-lambda-expressions.mm26
-rw-r--r--test/Parser/opencl-pragma.cl3
-rw-r--r--test/Parser/opencl-storage-class.cl6
-rw-r--r--test/Parser/parser_overflow.c7
-rw-r--r--test/Parser/pragma-visibility2.c19
-rw-r--r--test/Parser/switch-recovery.cpp2
-rw-r--r--test/Parser/top-level-semi-cxx0x.cpp2
-rw-r--r--test/Preprocessor/comment_save_if.c7
-rw-r--r--test/Preprocessor/expr_define_expansion.c5
-rw-r--r--test/Preprocessor/init.c20
-rw-r--r--test/Preprocessor/missing-system-header.c2
-rw-r--r--test/Preprocessor/missing-system-header.h2
-rw-r--r--test/Preprocessor/non_fragile_feature.m2
-rw-r--r--test/Preprocessor/non_fragile_feature1.m2
-rw-r--r--test/Preprocessor/pp-record.c9
-rw-r--r--test/Preprocessor/pp-record.h1
-rw-r--r--test/Preprocessor/predefined-arch-macros.c866
-rw-r--r--test/Preprocessor/predefined-exceptions.m15
-rw-r--r--test/Preprocessor/warning_tests.c19
-rw-r--r--test/Rewriter/inner-block-helper-funcs.mm32
-rw-r--r--test/Rewriter/instancetype-test.mm75
-rw-r--r--test/Rewriter/protocol-rewrite-2.m7
-rw-r--r--test/Rewriter/rewrite-cast-to-bool.mm17
-rw-r--r--test/Rewriter/rewrite-foreach-in-block.mm28
-rw-r--r--test/Rewriter/rewrite-forward-class.m29
-rw-r--r--test/Rewriter/rewrite-forward-class.mm44
-rw-r--r--test/Sema/2007-10-01-BuildArrayRef.c20
-rw-r--r--test/Sema/2009-03-09-WeakDeclarations-1.c16
-rw-r--r--test/Sema/2009-04-22-UnknownSize.c4
-rw-r--r--test/Sema/2009-07-17-VoidParameter.c4
-rw-r--r--test/Sema/2010-05-31-palignr.c22
-rw-r--r--test/Sema/Inputs/pragma-arc-cf-code-audited.h16
-rw-r--r--test/Sema/address_spaces.c4
-rw-r--r--test/Sema/alignas.c19
-rw-r--r--test/Sema/annotate.c3
-rw-r--r--test/Sema/array-bounds-ptr-arith.c14
-rw-r--r--test/Sema/array-init.c2
-rw-r--r--test/Sema/atomic-ops.c37
-rw-r--r--test/Sema/atomic-type.c22
-rw-r--r--test/Sema/attr-availability.c3
-rw-r--r--test/Sema/attr-deprecated.c2
-rw-r--r--test/Sema/attr-returns-twice.c12
-rw-r--r--test/Sema/attr-sentinel.c7
-rw-r--r--test/Sema/attr-unavailable-message.c21
-rw-r--r--test/Sema/complex-init-list.c45
-rw-r--r--test/Sema/conditional-expr.c25
-rw-r--r--test/Sema/conversion.c4
-rw-r--r--test/Sema/crash-invalid-array.c17
-rw-r--r--test/Sema/dllimport-dllexport.c1
-rw-r--r--test/Sema/exprs.c34
-rw-r--r--test/Sema/flexible-array-init.c35
-rw-r--r--test/Sema/format-strings-fixit.c2
-rw-r--r--test/Sema/format-strings.c17
-rw-r--r--test/Sema/fp16-sema.c30
-rw-r--r--test/Sema/fpack-struct.c9
-rw-r--r--test/Sema/i-c-e.c3
-rw-r--r--test/Sema/implicit-int.c6
-rw-r--r--test/Sema/init.c4
-rw-r--r--test/Sema/initialize-noreturn.c16
-rw-r--r--test/Sema/knr-def-call.c6
-rw-r--r--test/Sema/many-parameters.c310
-rw-r--r--test/Sema/ms-fuzzy-asm.c9
-rw-r--r--test/Sema/ms_class_layout.cpp176
-rw-r--r--test/Sema/parentheses.c3
-rw-r--r--test/Sema/parentheses.cpp2
-rw-r--r--test/Sema/pragma-arc-cf-code-audited.c18
-rw-r--r--test/Sema/return-noreturn.c4
-rw-r--r--test/Sema/types.c13
-rw-r--r--test/Sema/uninit-variables.c117
-rw-r--r--test/Sema/unused-expr.c20
-rw-r--r--test/Sema/warn-cast-align.c2
-rw-r--r--test/Sema/warn-strlcpycat-size.c55
-rw-r--r--test/Sema/warn-unreachable.c20
-rw-r--r--test/Sema/warn-unused-parameters.c10
-rw-r--r--test/SemaCUDA/cuda.h2
-rw-r--r--test/SemaCUDA/function-target.cu44
-rw-r--r--test/SemaCUDA/kernel-call.cu3
-rw-r--r--test/SemaCXX/2008-01-11-BadWarning.cpp5
-rw-r--r--test/SemaCXX/MicrosoftCompatibility.cpp158
-rw-r--r--test/SemaCXX/MicrosoftExtensions.cpp61
-rw-r--r--test/SemaCXX/PR10243.cpp2
-rw-r--r--test/SemaCXX/PR10458.cpp7
-rw-r--r--test/SemaCXX/PR5086-ambig-resolution-enum.cpp2
-rw-r--r--test/SemaCXX/PR7944.cpp2
-rw-r--r--test/SemaCXX/PR8012.cpp2
-rw-r--r--test/SemaCXX/PR9572.cpp2
-rw-r--r--test/SemaCXX/PR9902.cpp2
-rw-r--r--test/SemaCXX/PR9908.cpp2
-rw-r--r--test/SemaCXX/abstract.cpp2
-rw-r--r--test/SemaCXX/address-of.cpp11
-rw-r--r--test/SemaCXX/aggregate-initialization.cpp8
-rw-r--r--test/SemaCXX/alias-template.cpp2
-rw-r--r--test/SemaCXX/alignof-sizeof-reference.cpp15
-rw-r--r--test/SemaCXX/ambig-user-defined-conversions.cpp2
-rw-r--r--test/SemaCXX/ambiguous-builtin-unary-operator.cpp2
-rw-r--r--test/SemaCXX/array-bounds-ptr-arith.cpp33
-rw-r--r--test/SemaCXX/array-bounds.cpp80
-rw-r--r--test/SemaCXX/attr-cxx0x.cpp14
-rw-r--r--test/SemaCXX/attr-deprecated.cpp4
-rw-r--r--test/SemaCXX/auto-cxx0x.cpp4
-rw-r--r--test/SemaCXX/auto-cxx98.cpp7
-rw-r--r--test/SemaCXX/auto-subst-failure.cpp2
-rw-r--r--test/SemaCXX/bool.cpp7
-rw-r--r--test/SemaCXX/builtin-ptrtomember-ambig.cpp2
-rw-r--r--test/SemaCXX/builtin-ptrtomember-overload-1.cpp2
-rw-r--r--test/SemaCXX/builtin-ptrtomember-overload.cpp2
-rw-r--r--test/SemaCXX/cast-conversion.cpp5
-rw-r--r--test/SemaCXX/class.cpp13
-rw-r--r--test/SemaCXX/compare.cpp11
-rw-r--r--test/SemaCXX/complex-init-list.cpp14
-rw-r--r--test/SemaCXX/conditional-expr.cpp23
-rw-r--r--test/SemaCXX/conversion-delete-expr.cpp2
-rw-r--r--test/SemaCXX/convert-to-bool.cpp6
-rw-r--r--test/SemaCXX/cxx0x-class.cpp28
-rw-r--r--test/SemaCXX/cxx0x-compat.cpp24
-rw-r--r--test/SemaCXX/cxx0x-constexpr-const.cpp2
-rw-r--r--test/SemaCXX/cxx0x-cursory-default-delete.cpp4
-rw-r--r--test/SemaCXX/cxx0x-defaulted-functions.cpp2
-rw-r--r--test/SemaCXX/cxx0x-delegating-ctors.cpp2
-rw-r--r--test/SemaCXX/cxx0x-deleted-default-ctor.cpp14
-rw-r--r--test/SemaCXX/cxx0x-initializer-scalars.cpp34
-rw-r--r--test/SemaCXX/cxx0x-nontrivial-union.cpp2
-rw-r--r--test/SemaCXX/cxx0x-return-init-list.cpp6
-rw-r--r--test/SemaCXX/cxx0x-type-convert-construct.cpp21
-rw-r--r--test/SemaCXX/cxx98-compat-pedantic.cpp11
-rw-r--r--test/SemaCXX/cxx98-compat.cpp30
-rw-r--r--test/SemaCXX/decl-init-ref.cpp2
-rw-r--r--test/SemaCXX/decltype-crash.cpp2
-rw-r--r--test/SemaCXX/decltype-overloaded-functions.cpp14
-rw-r--r--test/SemaCXX/decltype-pr4444.cpp2
-rw-r--r--test/SemaCXX/decltype-pr4448.cpp2
-rw-r--r--test/SemaCXX/decltype-this.cpp2
-rw-r--r--test/SemaCXX/decltype.cpp2
-rw-r--r--test/SemaCXX/defaulted-ctor-loop.cpp2
-rw-r--r--test/SemaCXX/delete.cpp2
-rw-r--r--test/SemaCXX/deleted-function.cpp2
-rw-r--r--test/SemaCXX/deleted-operator.cpp13
-rw-r--r--test/SemaCXX/dependent-auto.cpp2
-rw-r--r--test/SemaCXX/dependent-noexcept-unevaluated.cpp2
-rw-r--r--test/SemaCXX/dependent-types.cpp2
-rw-r--r--test/SemaCXX/destructor.cpp2
-rw-r--r--test/SemaCXX/enum-bitfield.cpp2
-rw-r--r--test/SemaCXX/enum-scoped.cpp2
-rw-r--r--test/SemaCXX/explicit.cpp147
-rw-r--r--test/SemaCXX/expression-traits.cpp40
-rw-r--r--test/SemaCXX/expressions.cpp75
-rw-r--r--test/SemaCXX/for-range-examples.cpp2
-rw-r--r--test/SemaCXX/for-range-no-std.cpp3
-rw-r--r--test/SemaCXX/for-range-unused.cpp2
-rw-r--r--test/SemaCXX/function-overload-typo-crash.cpp20
-rw-r--r--test/SemaCXX/function-redecl.cpp71
-rw-r--r--test/SemaCXX/generalized-initializers.cpp23
-rw-r--r--test/SemaCXX/generic-selection.cpp2
-rw-r--r--test/SemaCXX/i-c-e-cxx.cpp6
-rw-r--r--test/SemaCXX/implicit-exception-spec.cpp2
-rw-r--r--test/SemaCXX/issue547.cpp2
-rw-r--r--test/SemaCXX/libstdcxx_is_pod_hack.cpp4
-rw-r--r--test/SemaCXX/linkage-spec.cpp13
-rw-r--r--test/SemaCXX/literal-operators.cpp40
-rw-r--r--test/SemaCXX/literal-type.cpp2
-rw-r--r--test/SemaCXX/member-expr.cpp30
-rw-r--r--test/SemaCXX/member-init.cpp20
-rw-r--r--test/SemaCXX/microsoft-cxx0x.cpp10
-rw-r--r--test/SemaCXX/missing-namespace-qualifier-typo-corrections.cpp14
-rw-r--r--test/SemaCXX/nested-name-spec.cpp10
-rw-r--r--test/SemaCXX/new-array-size-conv.cpp4
-rw-r--r--test/SemaCXX/new-delete.cpp19
-rw-r--r--test/SemaCXX/null_in_arithmetic_ops.cpp14
-rw-r--r--test/SemaCXX/nullptr.cpp2
-rw-r--r--test/SemaCXX/nullptr_in_arithmetic_ops.cpp2
-rw-r--r--test/SemaCXX/out-of-line-def-mismatch.cpp24
-rw-r--r--test/SemaCXX/overload-0x.cpp11
-rw-r--r--test/SemaCXX/overload-call.cpp9
-rw-r--r--test/SemaCXX/overloaded-builtin-operators-0x.cpp2
-rw-r--r--test/SemaCXX/overloaded-name.cpp17
-rw-r--r--test/SemaCXX/overloaded-operator-decl.cpp5
-rw-r--r--test/SemaCXX/overloaded-operator.cpp6
-rw-r--r--test/SemaCXX/ptrtomember-overload-resolution.cpp2
-rw-r--r--test/SemaCXX/ptrtomember.cpp18
-rw-r--r--test/SemaCXX/redeclared-alias-template.cpp2
-rw-r--r--test/SemaCXX/redeclared-auto.cpp2
-rw-r--r--test/SemaCXX/ref-init-ambiguous.cpp2
-rw-r--r--test/SemaCXX/references.cpp3
-rw-r--r--test/SemaCXX/return-noreturn.cpp99
-rw-r--r--test/SemaCXX/rval-references-examples.cpp2
-rw-r--r--test/SemaCXX/rval-references.cpp2
-rw-r--r--test/SemaCXX/scope-check.cpp38
-rw-r--r--test/SemaCXX/static-assert.cpp2
-rw-r--r--test/SemaCXX/switch-0x.cpp2
-rw-r--r--test/SemaCXX/trailing-return-0x.cpp2
-rw-r--r--test/SemaCXX/trivial-constructor.cpp2
-rw-r--r--test/SemaCXX/trivial-destructor.cpp2
-rw-r--r--test/SemaCXX/type-traits.cpp36
-rw-r--r--test/SemaCXX/typo-correction.cpp31
-rw-r--r--test/SemaCXX/underlying_type.cpp2
-rw-r--r--test/SemaCXX/uninit-variables-conditional.cpp2
-rw-r--r--test/SemaCXX/uninit-variables.cpp36
-rw-r--r--test/SemaCXX/uninitialized.cpp74
-rw-r--r--test/SemaCXX/unknown-anytype.cpp11
-rw-r--r--test/SemaCXX/unused-functions.cpp2
-rw-r--r--test/SemaCXX/user-defined-conversions.cpp15
-rw-r--r--test/SemaCXX/using-decl-templates.cpp17
-rw-r--r--test/SemaCXX/value-initialization.cpp2
-rw-r--r--test/SemaCXX/vararg-non-pod.cpp1
-rw-r--r--test/SemaCXX/virtual-override.cpp2
-rw-r--r--test/SemaCXX/virtuals.cpp2
-rw-r--r--test/SemaCXX/warn-assignment-condition.cpp6
-rw-r--r--test/SemaCXX/warn-bad-memaccess.cpp17
-rw-r--r--test/SemaCXX/warn-bool-conversion.cpp12
-rw-r--r--test/SemaCXX/warn-dangling-field.cpp37
-rw-r--r--test/SemaCXX/warn-literal-conversion.cpp18
-rw-r--r--test/SemaCXX/warn-memset-bad-sizeof.cpp38
-rw-r--r--test/SemaCXX/warn-missing-noreturn.cpp34
-rw-r--r--test/SemaCXX/warn-sign-compare.cpp72
-rw-r--r--test/SemaCXX/warn-sign-conversion.cpp80
-rw-r--r--test/SemaCXX/warn-string-conversion.cpp18
-rw-r--r--test/SemaCXX/warn-thread-safety-analysis.cpp1422
-rw-r--r--test/SemaCXX/warn-thread-safety-parsing.cpp1255
-rw-r--r--test/SemaCXX/warn-unreachable.cpp8
-rw-r--r--test/SemaCXX/warn-unused-comparison.cpp94
-rw-r--r--test/SemaCXX/warn-unused-value.cpp15
-rw-r--r--test/SemaCXX/warn-weak-vtables.cpp27
-rw-r--r--test/SemaObjC/arc-bridged-cast.m4
-rw-r--r--test/SemaObjC/arc-cf.m20
-rw-r--r--test/SemaObjC/arc-decls.m21
-rw-r--r--test/SemaObjC/arc-jump-block.m2
-rw-r--r--test/SemaObjC/arc-no-runtime.m2
-rw-r--r--test/SemaObjC/arc-non-pod-memaccess.m12
-rw-r--r--test/SemaObjC/arc-nsconsumed-errors.m20
-rw-r--r--test/SemaObjC/arc-peformselector.m2
-rw-r--r--test/SemaObjC/arc-property-decl-attrs.m16
-rw-r--r--test/SemaObjC/arc-property-lifetime.m21
-rw-r--r--test/SemaObjC/arc-property.m2
-rw-r--r--test/SemaObjC/arc-retain-block-property.m30
-rw-r--r--test/SemaObjC/arc-setter-property-match.m35
-rw-r--r--test/SemaObjC/arc-system-header.m4
-rw-r--r--test/SemaObjC/arc-type-conversion.m2
-rw-r--r--test/SemaObjC/arc-unavailable-for-weakref.m2
-rw-r--r--test/SemaObjC/arc-unavailable-system-function.m13
-rw-r--r--test/SemaObjC/arc-unbridged-cast.m78
-rw-r--r--test/SemaObjC/arc-unsafe-assigns.m2
-rw-r--r--test/SemaObjC/arc-unsafe_unretained.m4
-rw-r--r--test/SemaObjC/arc.m89
-rw-r--r--test/SemaObjC/assign-rvalue-message.m4
-rw-r--r--test/SemaObjC/at-defs.m2
-rw-r--r--test/SemaObjC/atomoic-property-synnthesis-rules.m24
-rw-r--r--test/SemaObjC/attr-availability.m13
-rw-r--r--test/SemaObjC/attr-deprecated.m15
-rw-r--r--test/SemaObjC/attr-ns-bridged.m15
-rw-r--r--test/SemaObjC/bad-property-synthesis-crash.m23
-rw-r--r--test/SemaObjC/blocks.m12
-rw-r--r--test/SemaObjC/builtin_objc_assign_ivar.m6
-rw-r--r--test/SemaObjC/class-bitfield.m2
-rw-r--r--test/SemaObjC/class-protocol-method-match.m48
-rw-r--r--test/SemaObjC/class-unavail-warning.m20
-rw-r--r--test/SemaObjC/comptypes-10.m18
-rw-r--r--test/SemaObjC/comptypes-7.m2
-rw-r--r--test/SemaObjC/conflict-atomic-property.m10
-rw-r--r--test/SemaObjC/conflict-nonfragile-abi2.m2
-rw-r--r--test/SemaObjC/conflicting-ivar-test-1.m2
-rw-r--r--test/SemaObjC/continuation-class-property.m19
-rw-r--r--test/SemaObjC/crash-label.m11
-rw-r--r--test/SemaObjC/default-synthesize-1.m26
-rw-r--r--test/SemaObjC/default-synthesize-2.m116
-rw-r--r--test/SemaObjC/default-synthesize.m8
-rw-r--r--test/SemaObjC/deref-interface.m2
-rw-r--r--test/SemaObjC/direct-synthesized-ivar-access.m7
-rw-r--r--test/SemaObjC/duplicate-ivar-in-class-extension.m2
-rw-r--r--test/SemaObjC/enum-fixed-type.m27
-rw-r--r--test/SemaObjC/error-property-gc-attr.m2
-rw-r--r--test/SemaObjC/iboutletcollection-attr.m5
-rw-r--r--test/SemaObjC/id-isa-ref.m2
-rw-r--r--test/SemaObjC/incomplete-implementation.m9
-rw-r--r--test/SemaObjC/instancetype.m190
-rw-r--r--test/SemaObjC/interface-1.m2
-rw-r--r--test/SemaObjC/interface-layout.m2
-rw-r--r--test/SemaObjC/ivar-in-class-extension-error.m2
-rw-r--r--test/SemaObjC/ivar-in-class-extension.m2
-rw-r--r--test/SemaObjC/ivar-in-implementations.m2
-rw-r--r--test/SemaObjC/ivar-sem-check-2.m2
-rw-r--r--test/SemaObjC/method-no-context.m3
-rw-r--r--test/SemaObjC/missing-atend-metadata.m2
-rw-r--r--test/SemaObjC/missing-method-return-type.m11
-rw-r--r--test/SemaObjC/nested-typedef-decl.m21
-rw-r--r--test/SemaObjC/objc-buffered-methods.m25
-rw-r--r--test/SemaObjC/property-and-class-extension.m2
-rw-r--r--test/SemaObjC/property-and-ivar-use.m2
-rw-r--r--test/SemaObjC/property-category-1.m4
-rw-r--r--test/SemaObjC/property-category-2.m6
-rw-r--r--test/SemaObjC/property-category-3.m2
-rw-r--r--test/SemaObjC/property-category-impl.m4
-rw-r--r--test/SemaObjC/property-inherited.m4
-rw-r--r--test/SemaObjC/property-nonfragile-abi.m2
-rw-r--r--test/SemaObjC/property-ns-returns-not-retained-attr.m2
-rw-r--r--test/SemaObjC/property.m10
-rw-r--r--test/SemaObjC/protocol-archane.m7
-rw-r--r--test/SemaObjC/protocol-implementing-class-methods.m41
-rw-r--r--test/SemaObjC/provisional-ivar-lookup.m2
-rw-r--r--test/SemaObjC/qualified-protocol-method-conflicts.m39
-rw-r--r--test/SemaObjC/related-result-type-inference.m6
-rw-r--r--test/SemaObjC/return.m11
-rw-r--r--test/SemaObjC/self-declared-in-block.m4
-rw-r--r--test/SemaObjC/sizeof-interface.m2
-rw-r--r--test/SemaObjC/super-class-protocol-conformance.m12
-rw-r--r--test/SemaObjC/synth-provisional-ivars-1.m2
-rw-r--r--test/SemaObjC/synth-provisional-ivars.m12
-rw-r--r--test/SemaObjC/synthesized-ivar.m10
-rw-r--r--test/SemaObjC/undeclared-selector.m2
-rw-r--r--test/SemaObjC/unimplemented-protocol-prop.m29
-rw-r--r--test/SemaObjC/uninit-variables.m2
-rw-r--r--test/SemaObjC/warn-deprecated-implementations.m3
-rw-r--r--test/SemaObjC/warn-implicit-atomic-property.m2
-rw-r--r--test/SemaObjC/warn-missing-super.m57
-rw-r--r--test/SemaObjC/warn-retain-cycle.m4
-rw-r--r--test/SemaObjC/weak-property.m2
-rw-r--r--test/SemaObjCXX/arc-0x.mm2
-rw-r--r--test/SemaObjCXX/arc-bool-conversion.mm2
-rw-r--r--test/SemaObjCXX/arc-bridged-cast.mm2
-rw-r--r--test/SemaObjCXX/arc-libcxx.mm11
-rw-r--r--test/SemaObjCXX/arc-libstdcxx.mm2
-rw-r--r--test/SemaObjCXX/arc-memfunc.mm2
-rw-r--r--test/SemaObjCXX/arc-non-pod.mm2
-rw-r--r--test/SemaObjCXX/arc-nsconsumed-errors.mm20
-rw-r--r--test/SemaObjCXX/arc-object-init-destroy.mm2
-rw-r--r--test/SemaObjCXX/arc-overloading.mm29
-rw-r--r--test/SemaObjCXX/arc-system-header.mm2
-rw-r--r--test/SemaObjCXX/arc-templates.mm16
-rw-r--r--test/SemaObjCXX/arc-type-conversion.mm2
-rw-r--r--test/SemaObjCXX/arc-type-traits.mm2
-rw-r--r--test/SemaObjCXX/arc-unavailable-for-weakref.mm2
-rw-r--r--test/SemaObjCXX/exceptions-fragile.mm2
-rw-r--r--test/SemaObjCXX/linkage-spec.mm9
-rw-r--r--test/SemaObjCXX/message.mm2
-rw-r--r--test/SemaObjCXX/nullptr.mm2
-rw-r--r--test/SemaObjCXX/propert-dot-error.mm17
-rw-r--r--test/SemaObjCXX/property-reference.mm4
-rw-r--r--test/SemaObjCXX/property-synthesis-error.mm44
-rw-r--r--test/SemaObjCXX/unknown-anytype.mm8
-rw-r--r--test/SemaOpenCL/local.cl6
-rw-r--r--test/SemaOpenCL/vector_conv_invalid.cl14
-rw-r--r--test/SemaOpenCL/vector_literals_invalid.cl2
-rw-r--r--test/SemaTemplate/alias-church-numerals.cpp2
-rw-r--r--test/SemaTemplate/alias-nested-nontag.cpp2
-rw-r--r--test/SemaTemplate/alias-template-template-param.cpp2
-rw-r--r--test/SemaTemplate/alias-templates.cpp2
-rw-r--r--test/SemaTemplate/atomics.cpp8
-rw-r--r--test/SemaTemplate/attributes.cpp13
-rw-r--r--test/SemaTemplate/canonical-expr-type-0x.cpp2
-rw-r--r--test/SemaTemplate/current-instantiation.cpp20
-rw-r--r--test/SemaTemplate/default-arguments-cxx0x.cpp2
-rw-r--r--test/SemaTemplate/delegating-constructors.cpp18
-rw-r--r--test/SemaTemplate/dependent-names.cpp2
-rw-r--r--test/SemaTemplate/instantiate-array.cpp2
-rw-r--r--test/SemaTemplate/instantiate-expr-1.cpp13
-rw-r--r--test/SemaTemplate/instantiate-expr-4.cpp17
-rw-r--r--test/SemaTemplate/instantiate-expr-basic.cpp2
-rw-r--r--test/SemaTemplate/instantiate-function-2.cpp2
-rw-r--r--test/SemaTemplate/instantiate-member-class.cpp2
-rw-r--r--test/SemaTemplate/instantiate-static-var.cpp2
-rw-r--r--test/SemaTemplate/instantiate-try-catch.cpp2
-rw-r--r--test/SemaTemplate/lookup-dependent-bases.cpp19
-rw-r--r--test/SemaTemplate/member-inclass-init-value-dependent.cpp7
-rw-r--r--test/SemaTemplate/missing-class-keyword-crash.cpp7
-rw-r--r--test/SemaTemplate/ms-function-specialization-class-scope.cpp71
-rw-r--r--test/SemaTemplate/ms-lookup-template-base-classes.cpp31
-rw-r--r--test/SemaTemplate/nested-template.cpp16
-rw-r--r--test/SemaTemplate/operator-template.cpp10
-rw-r--r--test/SemaTemplate/overload-uneval.cpp2
-rw-r--r--test/SemaTemplate/resolve-single-template-id.cpp38
-rw-r--r--test/SemaTemplate/temp_arg_nontype.cpp64
-rw-r--r--test/SemaTemplate/temp_explicit_cxx0x.cpp2
-rw-r--r--test/SemaTemplate/typename-specifier.cpp13
-rw-r--r--test/SemaTemplate/unresolved-construct.cpp2
-rw-r--r--test/lit.cfg4
-rw-r--r--tools/CMakeLists.txt1
-rw-r--r--tools/Makefile2
-rw-r--r--tools/arcmt-test/arcmt-test.cpp47
-rw-r--r--tools/c-index-test/CMakeLists.txt1
-rw-r--r--tools/c-index-test/Makefile3
-rw-r--r--tools/c-index-test/c-index-test.c264
-rw-r--r--tools/diagtool/CMakeLists.txt24
-rw-r--r--tools/diagtool/DiagTool.cpp68
-rw-r--r--tools/diagtool/DiagTool.h70
-rw-r--r--tools/diagtool/ListWarnings.cpp106
-rw-r--r--tools/diagtool/Makefile25
-rw-r--r--tools/diagtool/diagtool_main.cpp26
-rw-r--r--tools/driver/Makefile9
-rw-r--r--tools/driver/cc1_main.cpp17
-rw-r--r--tools/driver/cc1as_main.cpp94
-rw-r--r--tools/driver/driver.cpp71
-rw-r--r--tools/libclang/CIndex.cpp1403
-rw-r--r--tools/libclang/CIndexCXX.cpp11
-rw-r--r--tools/libclang/CIndexCodeCompletion.cpp185
-rw-r--r--tools/libclang/CIndexDiagnostic.cpp18
-rw-r--r--tools/libclang/CIndexHigh.cpp315
-rw-r--r--tools/libclang/CIndexInclusionStack.cpp19
-rw-r--r--tools/libclang/CIndexUSRs.cpp106
-rw-r--r--tools/libclang/CIndexer.cpp2
-rw-r--r--tools/libclang/CMakeLists.txt1
-rw-r--r--tools/libclang/CXCursor.cpp697
-rw-r--r--tools/libclang/CXCursor.h37
-rw-r--r--tools/libclang/CXString.cpp6
-rw-r--r--tools/libclang/CXString.h6
-rw-r--r--tools/libclang/CXTranslationUnit.h9
-rw-r--r--tools/libclang/CXType.cpp36
-rw-r--r--tools/libclang/Index_Internal.h43
-rw-r--r--tools/libclang/libclang.darwin.exports143
-rw-r--r--tools/libclang/libclang.exports26
-rwxr-xr-xtools/scan-build/ccc-analyzer29
-rwxr-xr-xtools/scan-build/scan-build4
-rw-r--r--unittests/AST/APValueTest.cpp83
-rw-r--r--unittests/AST/Makefile15
-rw-r--r--unittests/Basic/FileManagerTest.cpp3
-rw-r--r--unittests/CMakeLists.txt5
-rw-r--r--unittests/Makefile2
-rw-r--r--utils/TableGen/CMakeLists.txt12
-rw-r--r--utils/TableGen/ClangASTNodesEmitter.cpp168
-rw-r--r--utils/TableGen/ClangASTNodesEmitter.h84
-rw-r--r--utils/TableGen/ClangAttrEmitter.cpp788
-rw-r--r--utils/TableGen/ClangAttrEmitter.h114
-rw-r--r--utils/TableGen/ClangDiagnosticsEmitter.cpp378
-rw-r--r--utils/TableGen/ClangDiagnosticsEmitter.h54
-rw-r--r--utils/TableGen/ClangSACheckersEmitter.cpp319
-rw-r--r--utils/TableGen/ClangSACheckersEmitter.h31
-rw-r--r--utils/TableGen/Makefile19
-rw-r--r--utils/TableGen/NeonEmitter.cpp1551
-rw-r--r--utils/TableGen/NeonEmitter.h176
-rw-r--r--utils/TableGen/OptParserEmitter.cpp194
-rw-r--r--utils/TableGen/OptParserEmitter.h34
-rw-r--r--utils/TableGen/TableGen.cpp176
-rwxr-xr-xutils/analyzer/CmpRuns.py (renamed from utils/analyzer/CmpRuns)60
-rw-r--r--utils/analyzer/SATestAdd.py71
-rw-r--r--utils/analyzer/SATestBuild.py307
-rw-r--r--utils/clangVisualizers.txt44
-rw-r--r--www/OpenProjects.html4
-rw-r--r--www/analyzer/latest_checker.html.incl2
-rw-r--r--www/analyzer/release_notes.html13
-rw-r--r--www/comparison.html4
-rw-r--r--www/compatibility.html40
-rw-r--r--www/cxx_status.html977
-rw-r--r--www/demo/index.cgi2
-rw-r--r--www/diagnostics.html33
-rw-r--r--www/get_involved.html31
-rw-r--r--www/get_started.html2
-rw-r--r--www/hacking.html22
-rw-r--r--www/index.html2
-rw-r--r--www/menu.html.incl5
2436 files changed, 101599 insertions, 47629 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..ddd66380adf8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,25 @@
+#==============================================================================#
+# This file specifies intentionally untracked files that git should ignore.
+# See: http://www.kernel.org/pub/software/scm/git/docs/gitignore.html
+#
+# This file is intentionally different from the output of `git svn show-ignore`,
+# as most of those are useless.
+#==============================================================================#
+
+#==============================================================================#
+# File extensions to be ignored anywhere in the tree.
+#==============================================================================#
+# Temp files created by most text editors.
+*~
+# Merge files created by git.
+*.orig
+# Byte compiled python modules.
+*.pyc
+# vim swap files
+.*.swp
+
+#==============================================================================#
+# Explicit files to ignore (only matches one).
+#==============================================================================#
+cscope.files
+cscope.out
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3ad60eaff516..019168f5a915 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,10 +19,10 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
endif()
endif()
- if( NOT EXISTS "${CLANG_PATH_TO_LLVM_BUILD}/bin/tblgen${CMAKE_EXECUTABLE_SUFFIX}" )
- # Looking for bin/Debug/tblgen is a complete hack. How can we get
+ if( NOT EXISTS "${CLANG_PATH_TO_LLVM_BUILD}/bin/llvm-tblgen${CMAKE_EXECUTABLE_SUFFIX}" )
+ # Looking for bin/Debug/llvm-tblgen is a complete hack. How can we get
# around this?
- if( NOT EXISTS "${CLANG_PATH_TO_LLVM_BUILD}/bin/Debug/tblgen${CMAKE_EXECUTABLE_SUFFIX}" )
+ if( NOT EXISTS "${CLANG_PATH_TO_LLVM_BUILD}/bin/Debug/llvm-tblgen${CMAKE_EXECUTABLE_SUFFIX}" )
message(FATAL_ERROR "Please set CLANG_PATH_TO_LLVM_BUILD to a directory containing a LLVM build.")
endif()
endif()
@@ -46,11 +46,11 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
include_directories("${PATH_TO_LLVM_BUILD}/include" "${LLVM_MAIN_INCLUDE_DIR}")
link_directories("${PATH_TO_LLVM_BUILD}/lib")
- if( EXISTS "${CLANG_PATH_TO_LLVM_BUILD}/bin/tblgen${CMAKE_EXECUTABLE_SUFFIX}" )
- set(LLVM_TABLEGEN_EXE "${PATH_TO_LLVM_BUILD}/bin/tblgen")
+ if( EXISTS "${CLANG_PATH_TO_LLVM_BUILD}/bin/llvm-tblgen${CMAKE_EXECUTABLE_SUFFIX}" )
+ set(LLVM_TABLEGEN_EXE "${PATH_TO_LLVM_BUILD}/bin/llvm-tblgen${CMAKE_EXECUTABLE_SUFFIX}")
else()
# FIXME: This is an utter hack.
- set(LLVM_TABLEGEN_EXE "${PATH_TO_LLVM_BUILD}/bin/Debug/tblgen")
+ set(LLVM_TABLEGEN_EXE "${PATH_TO_LLVM_BUILD}/bin/Debug/llvm-tblgen${CMAKE_EXECUTABLE_SUFFIX}")
endif()
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
@@ -153,7 +153,7 @@ function(clang_tablegen)
endif()
set( LLVM_TARGET_DEFINITIONS ${CTG_SOURCE} )
- tablegen( ${CTG_DEFAULT_ARGS} )
+ tablegen( CLANG ${CTG_DEFAULT_ARGS} )
list( GET CTG_DEFAULT_ARGS 0 output_file )
if( CTG_TARGET )
@@ -244,6 +244,7 @@ set(LIBCLANG_LIBRARY_VERSION
"Version number that will be placed into the libclang library , in the form XX.YY")
mark_as_advanced(CLANG_EXECUTABLE_VERSION LIBCLANG_LIBRARY_VERSION)
+add_subdirectory(utils/TableGen)
option(CLANG_BUILD_EXAMPLES "Build CLANG example programs." OFF)
if(CLANG_BUILD_EXAMPLES)
@@ -272,3 +273,6 @@ if( CLANG_BUILT_STANDALONE AND MSVC_VERSION EQUAL 1600 )
file(APPEND "${CLANG_SLN_FILENAME}" "\n# This should be regenerated!\n")
endif()
endif()
+
+set(BUG_REPORT_URL "http://llvm.org/bugs/" CACHE STRING
+ "Default URL where bug reports are to be submitted.")
diff --git a/INPUTS/cfg-nested-var-scopes.cpp b/INPUTS/cfg-nested-var-scopes.cpp
new file mode 100644
index 000000000000..0944ec268f1b
--- /dev/null
+++ b/INPUTS/cfg-nested-var-scopes.cpp
@@ -0,0 +1,59 @@
+// Hammer the CFG with large numbers of overlapping variable scopes, which
+// implicit destructors triggered at each edge.
+
+#define EXPAND_BASIC_STRUCT(i) struct X##i { X##i(int); ~X##i(); };
+#define EXPAND_NORET_STRUCT(i) struct X##i { X##i(int); ~X##i() __attribute__((noreturn)); };
+EXPAND_BASIC_STRUCT(0000); EXPAND_NORET_STRUCT(0001);
+EXPAND_BASIC_STRUCT(0010); EXPAND_BASIC_STRUCT(0011);
+EXPAND_BASIC_STRUCT(0100); EXPAND_NORET_STRUCT(0101);
+EXPAND_NORET_STRUCT(0110); EXPAND_BASIC_STRUCT(0111);
+EXPAND_BASIC_STRUCT(1000); EXPAND_NORET_STRUCT(1001);
+EXPAND_BASIC_STRUCT(1010); EXPAND_BASIC_STRUCT(1011);
+EXPAND_NORET_STRUCT(1100); EXPAND_NORET_STRUCT(1101);
+EXPAND_BASIC_STRUCT(1110); EXPAND_BASIC_STRUCT(1111);
+
+#define EXPAND_2_VARS(c, i, x) const X##i var_##c##_##i##0(x), &var_##c##_##i##1 = X##i(x)
+#define EXPAND_4_VARS(c, i, x) EXPAND_2_VARS(c, i##0, x); EXPAND_2_VARS(c, i##1, x)
+#define EXPAND_8_VARS(c, i, x) EXPAND_4_VARS(c, i##0, x); EXPAND_4_VARS(c, i##1, x)
+#define EXPAND_16_VARS(c, i, x) EXPAND_8_VARS(c, i##0, x); EXPAND_8_VARS(c, i##1, x)
+#define EXPAND_32_VARS(c, x) EXPAND_16_VARS(c, 0, x); EXPAND_16_VARS(c, 1, x)
+
+#define EXPAND_2_INNER_CASES(i, x, y) INNER_CASE(i, x, y); INNER_CASE(i + 1, x, y);
+#define EXPAND_4_INNER_CASES(i, x, y) EXPAND_2_INNER_CASES(i, x, y) EXPAND_2_INNER_CASES(i + 2, x, y)
+#define EXPAND_8_INNER_CASES(i, x, y) EXPAND_4_INNER_CASES(i, x, y) EXPAND_4_INNER_CASES(i + 4, x, y)
+#define EXPAND_16_INNER_CASES(i, x, y) EXPAND_8_INNER_CASES(i, x, y) EXPAND_8_INNER_CASES(i + 8, x, y)
+#define EXPAND_32_INNER_CASES(i, x, y) EXPAND_16_INNER_CASES(i, x, y) EXPAND_16_INNER_CASES(i + 16, x, y)
+
+#define EXPAND_2_OUTER_CASES(i, x, y) OUTER_CASE(i, x, y); OUTER_CASE(i + 1, x, y);
+#define EXPAND_4_OUTER_CASES(i, x, y) EXPAND_2_OUTER_CASES(i, x, y) EXPAND_2_OUTER_CASES(i + 2, x, y)
+#define EXPAND_8_OUTER_CASES(i, x, y) EXPAND_4_OUTER_CASES(i, x, y) EXPAND_4_OUTER_CASES(i + 4, x, y)
+#define EXPAND_16_OUTER_CASES(i, x, y) EXPAND_8_OUTER_CASES(i, x, y) EXPAND_8_OUTER_CASES(i + 8, x, y)
+#define EXPAND_32_OUTER_CASES(i, x, y) EXPAND_16_OUTER_CASES(i, x, y) EXPAND_16_OUTER_CASES(i + 16, x, y)
+
+unsigned cfg_nested_vars(int x) {
+ int y = 0;
+ while (x > 0) {
+ EXPAND_32_VARS(a, x);
+ switch (x) {
+#define INNER_CASE(i, x, y) \
+ case i: { \
+ int case_var = 3*x + i; \
+ EXPAND_32_VARS(c, case_var); \
+ y += case_var - 1; \
+ break; \
+ }
+#define OUTER_CASE(i, x, y) \
+ case i: { \
+ int case_var = y >> 8; \
+ EXPAND_32_VARS(b, y); \
+ switch (case_var) { \
+ EXPAND_32_INNER_CASES(0, x, y); \
+ } \
+ break; \
+ }
+EXPAND_32_OUTER_CASES(0, x, y);
+ }
+ --x;
+ }
+ return y;
+}
diff --git a/Makefile b/Makefile
index b6c630aa10af..bf1a77210b5e 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ ifndef CLANG_LEVEL
IS_TOP_LEVEL := 1
CLANG_LEVEL := .
-DIRS := include lib tools runtime docs unittests
+DIRS := utils/TableGen include lib tools runtime docs unittests
PARALLEL_DIRS :=
@@ -60,6 +60,16 @@ endif
# We can revisit this when LLVM/Clang support it.
CXX.Flags += -fno-strict-aliasing
+# Set up Clang's tblgen.
+ifndef CLANG_TBLGEN
+ ifeq ($(LLVM_CROSS_COMPILING),1)
+ CLANG_TBLGEN := $(BuildLLVMToolDir)/clang-tblgen$(BUILD_EXEEXT)
+ else
+ CLANG_TBLGEN := $(LLVMToolDir)/clang-tblgen$(EXEEXT)
+ endif
+endif
+ClangTableGen = $(CLANG_TBLGEN) $(TableGen.Flags)
+
###
# Clang Top Level specific stuff.
@@ -68,7 +78,7 @@ ifeq ($(IS_TOP_LEVEL),1)
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
$(RecursiveTargets)::
$(Verb) for dir in test unittests; do \
- if [ ! -f $${dir}/Makefile ]; then \
+ if [ -f $(PROJ_SRC_DIR)/$${dir}/Makefile ] && [ ! -f $${dir}/Makefile ]; then \
$(MKDIR) $${dir}; \
$(CP) $(PROJ_SRC_DIR)/$${dir}/Makefile $${dir}/Makefile; \
fi \
diff --git a/NOTES.txt b/NOTES.txt
index f66a96120a81..9f7ed4b9591c 100644
--- a/NOTES.txt
+++ b/NOTES.txt
@@ -83,3 +83,21 @@ enum VerifyConstraintResult {
};
//===---------------------------------------------------------------------===//
+
+Blocks should not capture variables that are only used in dead code.
+
+The rule that we came up with is that blocks are required to capture
+variables if they're referenced in evaluated code, even if that code
+doesn't actually rely on the value of the captured variable.
+
+For example, this requires a capture:
+ (void) var;
+But this does not:
+ if (false) puts(var);
+
+Summary of <rdar://problem/9851835>: if we implement this, we should
+warn about non-POD variables that are referenced but not captured, but
+only if the non-reachability is not due to macro or template
+metaprogramming.
+
+//===---------------------------------------------------------------------===//
diff --git a/TODO.txt b/TODO.txt
deleted file mode 100644
index 8c27515ae74a..000000000000
--- a/TODO.txt
+++ /dev/null
@@ -1,75 +0,0 @@
-//===---------------------------------------------------------------------===//
-// Minor random things that can be improved
-//===---------------------------------------------------------------------===//
-
-Warn about "X && 0x1000" saying that the user may mean "X & 0x1000".
-We should do this for any immediate except zero, so long as it doesn't come
-from a macro expansion. Likewise for ||.
-
-//===---------------------------------------------------------------------===//
-
-Lexer-related diagnostics should point to the problematic character, not the
-start of the token. For example:
-
-int y = 0000\
-00080;
-
-diag.c:4:9: error: invalid digit '8' in octal constant
-int y = 0000\
- ^
-
-should be:
-
-diag.c:4:9: error: invalid digit '8' in octal constant
-00080;
- ^
-
-This specific diagnostic is implemented, but others should be updated.
-
-//===---------------------------------------------------------------------===//
-
-C++ (checker): For iterators, warn of the use of "iterator++" instead
- of "++iterator" when when the value returned by operator++(int) is
- ignored.
-
-//===---------------------------------------------------------------------===//
-
-We want to keep more source range information in Declarator to help
-produce better diagnostics. Declarator::getSourceRange() should be
-implemented to give a range for the whole declarator with all of its
-specifiers, and DeclaratorChunk::ParamInfo should also have a source
-range covering the whole parameter, so that an error message like this:
-
-overloaded-operator-decl.cpp:37:23: error: parameter of overloaded post-increment operator must have type 'int' (not 'float')
-X operator++(X&, const float& f);
- ^
-can be turned into something like this:
-
-overloaded-operator-decl.cpp:37:23: error: parameter of overloaded post-increment operator must have type 'int' (not 'float')
-X operator++(X&, const float& f);
- ^ ~~~~~~~~~~~~~~
-
-//===---------------------------------------------------------------------===//
-
-For terminal output, we should consider limiting the amount of
-diagnostic text we print once the first error h