Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/llvm/dist/clang Import Clang 3.5svn r201163.
details: https://anonhg.NetBSD.org/src/rev/188a5e5a5b74
branches: trunk
changeset: 326717:188a5e5a5b74
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Feb 14 20:04:58 2014 +0000
description:
Import Clang 3.5svn r201163.
diffstat:
external/bsd/llvm/dist/clang/CMakeLists.txt | 116 +-
external/bsd/llvm/dist/clang/docs/AddressSanitizer.rst | 35 +-
external/bsd/llvm/dist/clang/docs/ClangPlugins.rst | 64 +-
external/bsd/llvm/dist/clang/docs/InternalsManual.rst | 10 +
external/bsd/llvm/dist/clang/docs/LanguageExtensions.rst | 55 +-
external/bsd/llvm/dist/clang/docs/LibTooling.rst | 6 +-
external/bsd/llvm/dist/clang/docs/MemorySanitizer.rst | 2 +-
external/bsd/llvm/dist/clang/docs/ObjectiveCLiterals.rst | 4 +-
external/bsd/llvm/dist/clang/docs/ThreadSanitizer.rst | 6 +-
external/bsd/llvm/dist/clang/docs/UsersManual.rst | 16 +-
external/bsd/llvm/dist/clang/examples/CMakeLists.txt | 2 +
external/bsd/llvm/dist/clang/examples/PrintFunctionNames/CMakeLists.txt | 4 +-
external/bsd/llvm/dist/clang/examples/analyzer-plugin/CMakeLists.txt | 4 +-
external/bsd/llvm/dist/clang/include/clang-c/Index.h | 8 +-
external/bsd/llvm/dist/clang/include/clang/AST/ASTContext.h | 15 +-
external/bsd/llvm/dist/clang/include/clang/AST/ASTTypeTraits.h | 10 +
external/bsd/llvm/dist/clang/include/clang/AST/Attr.h | 15 +-
external/bsd/llvm/dist/clang/include/clang/AST/CanonicalType.h | 24 +-
external/bsd/llvm/dist/clang/include/clang/AST/Comment.h | 4 +-
external/bsd/llvm/dist/clang/include/clang/AST/DataRecursiveASTVisitor.h | 73 +-
external/bsd/llvm/dist/clang/include/clang/AST/Decl.h | 28 +-
external/bsd/llvm/dist/clang/include/clang/AST/DeclBase.h | 20 +-
external/bsd/llvm/dist/clang/include/clang/AST/DeclCXX.h | 29 +-
external/bsd/llvm/dist/clang/include/clang/AST/DeclObjC.h | 87 +-
external/bsd/llvm/dist/clang/include/clang/AST/DeclTemplate.h | 4 +-
external/bsd/llvm/dist/clang/include/clang/AST/Expr.h | 10 +-
external/bsd/llvm/dist/clang/include/clang/AST/ExprObjC.h | 4 +-
external/bsd/llvm/dist/clang/include/clang/AST/Mangle.h | 1 -
external/bsd/llvm/dist/clang/include/clang/AST/RecursiveASTVisitor.h | 73 +-
external/bsd/llvm/dist/clang/include/clang/AST/Type.h | 116 +-
external/bsd/llvm/dist/clang/include/clang/AST/TypeLoc.h | 22 +-
external/bsd/llvm/dist/clang/include/clang/ASTMatchers/ASTMatchers.h | 39 +-
external/bsd/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/Parser.h | 16 +
external/bsd/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/Registry.h | 39 +
external/bsd/llvm/dist/clang/include/clang/Basic/Attr.td | 240 +-
external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsAArch64.def | 5 -
external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsARM.def | 5 -
external/bsd/llvm/dist/clang/include/clang/Basic/Diagnostic.h | 23 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticCategories.td | 1 +
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticCommonKinds.td | 11 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticDriverKinds.td | 4 +
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticFrontendKinds.td | 9 +
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticGroups.td | 14 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticIDs.h | 9 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticLexKinds.td | 5 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticParseKinds.td | 50 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticSemaKinds.td | 75 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticSerializationKinds.td | 8 +-
external/bsd/llvm/dist/clang/include/clang/Basic/FileManager.h | 2 +
external/bsd/llvm/dist/clang/include/clang/Basic/LangOptions.h | 2 +-
external/bsd/llvm/dist/clang/include/clang/Basic/Module.h | 10 -
external/bsd/llvm/dist/clang/include/clang/Basic/ObjCRuntime.h | 5 +
external/bsd/llvm/dist/clang/include/clang/Basic/PlistSupport.h | 113 +
external/bsd/llvm/dist/clang/include/clang/Basic/TargetBuiltins.h | 17 +-
external/bsd/llvm/dist/clang/include/clang/Basic/TargetInfo.h | 18 -
external/bsd/llvm/dist/clang/include/clang/Basic/TokenKinds.def | 12 +
external/bsd/llvm/dist/clang/include/clang/Basic/TypeTraits.h | 5 +
external/bsd/llvm/dist/clang/include/clang/CodeGen/CGFunctionInfo.h | 44 +-
external/bsd/llvm/dist/clang/include/clang/CodeGen/CodeGenABITypes.h | 2 +-
external/bsd/llvm/dist/clang/include/clang/Driver/Action.h | 29 +-
external/bsd/llvm/dist/clang/include/clang/Driver/CC1Options.td | 6 +-
external/bsd/llvm/dist/clang/include/clang/Driver/CLCompatOptions.td | 7 +-
external/bsd/llvm/dist/clang/include/clang/Driver/Options.td | 67 +-
external/bsd/llvm/dist/clang/include/clang/Driver/ToolChain.h | 2 +-
external/bsd/llvm/dist/clang/include/clang/Format/Format.h | 30 +-
external/bsd/llvm/dist/clang/include/clang/Frontend/ASTUnit.h | 15 +-
external/bsd/llvm/dist/clang/include/clang/Frontend/CodeGenOptions.def | 2 -
external/bsd/llvm/dist/clang/include/clang/Frontend/FrontendActions.h | 11 +
external/bsd/llvm/dist/clang/include/clang/Frontend/FrontendOptions.h | 1 +
external/bsd/llvm/dist/clang/include/clang/Lex/MacroInfo.h | 46 +-
external/bsd/llvm/dist/clang/include/clang/Lex/Preprocessor.h | 31 +-
external/bsd/llvm/dist/clang/include/clang/Lex/TokenLexer.h | 15 +
external/bsd/llvm/dist/clang/include/clang/Parse/CMakeLists.txt | 19 +-
external/bsd/llvm/dist/clang/include/clang/Parse/Makefile | 26 +-
external/bsd/llvm/dist/clang/include/clang/Parse/Parser.h | 9 +-
external/bsd/llvm/dist/clang/include/clang/Sema/AttributeList.h | 8 +
external/bsd/llvm/dist/clang/include/clang/Sema/DeclSpec.h | 2 +
external/bsd/llvm/dist/clang/include/clang/Sema/Ownership.h | 2 +
external/bsd/llvm/dist/clang/include/clang/Sema/Scope.h | 5 +
external/bsd/llvm/dist/clang/include/clang/Sema/Sema.h | 79 +-
external/bsd/llvm/dist/clang/include/clang/Serialization/ASTBitCodes.h | 10 +-
external/bsd/llvm/dist/clang/include/clang/Serialization/ASTReader.h | 24 +-
external/bsd/llvm/dist/clang/include/clang/Serialization/ASTWriter.h | 13 +-
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h | 10 +
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h | 1 -
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h | 111 +-
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h | 5 +-
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h | 16 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/ARCMT.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/FileRemapper.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/Internals.h | 4 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/ObjCMT.cpp | 43 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/PlistReporter.cpp | 84 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/TransAPIUses.cpp | 16 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/TransGCCalls.cpp | 10 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/TransformActions.cpp | 71 +-
external/bsd/llvm/dist/clang/lib/AST/ASTContext.cpp | 237 +-
external/bsd/llvm/dist/clang/lib/AST/ASTDumper.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/AST/ASTImporter.cpp | 61 +-
external/bsd/llvm/dist/clang/lib/AST/Comment.cpp | 10 +-
external/bsd/llvm/dist/clang/lib/AST/CommentSema.cpp | 15 +-
external/bsd/llvm/dist/clang/lib/AST/Decl.cpp | 48 +-
external/bsd/llvm/dist/clang/lib/AST/DeclBase.cpp | 29 +-
external/bsd/llvm/dist/clang/lib/AST/DeclCXX.cpp | 10 +-
external/bsd/llvm/dist/clang/lib/AST/DeclObjC.cpp | 32 +-
external/bsd/llvm/dist/clang/lib/AST/DeclPrinter.cpp | 11 +-
external/bsd/llvm/dist/clang/lib/AST/DeclTemplate.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/AST/DeclarationName.cpp | 16 +-
external/bsd/llvm/dist/clang/lib/AST/Expr.cpp | 38 +-
external/bsd/llvm/dist/clang/lib/AST/ExprCXX.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/AST/ExprClassification.cpp | 19 +-
external/bsd/llvm/dist/clang/lib/AST/ExprConstant.cpp | 14 +-
external/bsd/llvm/dist/clang/lib/AST/ItaniumMangle.cpp | 8 +-
external/bsd/llvm/dist/clang/lib/AST/Mangle.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/AST/MangleNumberingContext.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/AST/MicrosoftCXXABI.cpp | 102 +-
external/bsd/llvm/dist/clang/lib/AST/MicrosoftMangle.cpp | 195 +-
external/bsd/llvm/dist/clang/lib/AST/RecordLayoutBuilder.cpp | 234 +-
external/bsd/llvm/dist/clang/lib/AST/StmtPrinter.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/AST/Type.cpp | 121 +-
external/bsd/llvm/dist/clang/lib/AST/TypePrinter.cpp | 20 +-
external/bsd/llvm/dist/clang/lib/AST/VTableBuilder.cpp | 16 +-
external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/CMakeLists.txt | 4 -
external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/Marshallers.h | 485 +-
external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/Parser.cpp | 174 +-
external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/Registry.cpp | 150 +
external/bsd/llvm/dist/clang/lib/Analysis/BodyFarm.cpp | 34 +-
external/bsd/llvm/dist/clang/lib/Analysis/BodyFarm.h | 2 +-
external/bsd/llvm/dist/clang/lib/Analysis/Consumed.cpp | 28 +-
external/bsd/llvm/dist/clang/lib/Basic/Diagnostic.cpp | 37 +-
external/bsd/llvm/dist/clang/lib/Basic/DiagnosticIDs.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/Basic/Targets.cpp | 151 +-
external/bsd/llvm/dist/clang/lib/CodeGen/BackendUtil.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGBlocks.cpp | 33 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGBuiltin.cpp | 2944 ++++-----
external/bsd/llvm/dist/clang/lib/CodeGen/CGCall.cpp | 418 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGCall.h | 21 +
external/bsd/llvm/dist/clang/lib/CodeGen/CGClass.cpp | 17 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGCleanup.cpp | 27 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGDebugInfo.cpp | 50 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGDebugInfo.h | 29 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGDecl.cpp | 46 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGDeclCXX.cpp | 8 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGException.cpp | 8 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGExpr.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGExprAgg.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGExprCXX.cpp | 40 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGExprScalar.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGObjC.cpp | 59 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGObjCMac.cpp | 31 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGRTTI.cpp | 43 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp | 14 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGStmt.cpp | 52 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGVTT.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGVTables.cpp | 58 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGVTables.h | 9 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenABITypes.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenAction.cpp | 114 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenFunction.cpp | 43 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenFunction.h | 27 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenModule.cpp | 126 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenModule.h | 15 -
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenPGO.cpp | 45 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenPGO.h | 10 +
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenTypes.cpp | 23 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenTypes.h | 17 +-
external/bsd/llvm/dist/clang/lib/CodeGen/ItaniumCXXABI.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/CodeGen/MicrosoftCXXABI.cpp | 181 +-
external/bsd/llvm/dist/clang/lib/CodeGen/TargetInfo.cpp | 477 +-
external/bsd/llvm/dist/clang/lib/Driver/Action.cpp | 30 +-
external/bsd/llvm/dist/clang/lib/Driver/Driver.cpp | 71 +-
external/bsd/llvm/dist/clang/lib/Driver/SanitizerArgs.cpp | 21 +-
external/bsd/llvm/dist/clang/lib/Driver/ToolChain.cpp | 16 +-
external/bsd/llvm/dist/clang/lib/Driver/ToolChains.cpp | 377 +-
external/bsd/llvm/dist/clang/lib/Driver/ToolChains.h | 243 +-
external/bsd/llvm/dist/clang/lib/Driver/Tools.cpp | 427 +-
external/bsd/llvm/dist/clang/lib/Driver/Tools.h | 41 +-
external/bsd/llvm/dist/clang/lib/Driver/Types.cpp | 2 +
external/bsd/llvm/dist/clang/lib/Driver/WindowsToolChain.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Format/ContinuationIndenter.cpp | 55 +-
external/bsd/llvm/dist/clang/lib/Format/Format.cpp | 72 +-
external/bsd/llvm/dist/clang/lib/Format/FormatToken.cpp | 30 +
external/bsd/llvm/dist/clang/lib/Format/FormatToken.h | 4 +
external/bsd/llvm/dist/clang/lib/Format/TokenAnnotator.cpp | 126 +-
external/bsd/llvm/dist/clang/lib/Format/UnwrappedLineParser.cpp | 66 +-
external/bsd/llvm/dist/clang/lib/Format/UnwrappedLineParser.h | 1 -
external/bsd/llvm/dist/clang/lib/Frontend/ASTUnit.cpp | 110 +-
external/bsd/llvm/dist/clang/lib/Frontend/CompilerInstance.cpp | 37 +-
external/bsd/llvm/dist/clang/lib/Frontend/CompilerInvocation.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/Frontend/FrontendActions.cpp | 24 +
external/bsd/llvm/dist/clang/lib/Frontend/InitPreprocessor.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 1 +
external/bsd/llvm/dist/clang/lib/Headers/CMakeLists.txt | 2 +-
external/bsd/llvm/dist/clang/lib/Headers/Intrin.h | 154 +-
external/bsd/llvm/dist/clang/lib/Index/CMakeLists.txt | 4 +-
external/bsd/llvm/dist/clang/lib/Index/USRGeneration.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/Lex/MacroInfo.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/Lex/PPDirectives.cpp | 12 +-
external/bsd/llvm/dist/clang/lib/Lex/PPLexerChange.cpp | 32 +-
external/bsd/llvm/dist/clang/lib/Lex/PTHLexer.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Lex/Preprocessor.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Lex/TokenLexer.cpp | 68 +-
external/bsd/llvm/dist/clang/lib/Lex/UnicodeCharSets.h | 2 +-
external/bsd/llvm/dist/clang/lib/Parse/CMakeLists.txt | 5 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseCXXInlineMethods.cpp | 25 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseDecl.cpp | 58 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseDeclCXX.cpp | 167 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseOpenMP.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Parse/ParsePragma.cpp | 103 +-
external/bsd/llvm/dist/clang/lib/Parse/ParsePragma.h | 7 +
external/bsd/llvm/dist/clang/lib/Parse/ParseStmt.cpp | 21 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseTemplate.cpp | 10 +-
external/bsd/llvm/dist/clang/lib/Parse/Parser.cpp | 16 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp | 88 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Frontend/RewriteObjC.cpp | 79 +-
external/bsd/llvm/dist/clang/lib/Sema/AnalysisBasedWarnings.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/Sema/AttributeList.cpp | 10 +
external/bsd/llvm/dist/clang/lib/Sema/Scope.cpp | 15 +
external/bsd/llvm/dist/clang/lib/Sema/Sema.cpp | 16 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaAccess.cpp | 43 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaAttr.cpp | 22 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaCXXScopeSpec.cpp | 31 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaCast.cpp | 15 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaChecking.cpp | 272 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaCodeComplete.cpp | 82 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaDecl.cpp | 671 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaDeclAttr.cpp | 423 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaDeclCXX.cpp | 147 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaDeclObjC.cpp | 131 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaExceptionSpec.cpp | 61 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaExpr.cpp | 512 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaExprCXX.cpp | 193 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaExprMember.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaExprObjC.cpp | 96 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaInit.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaLambda.cpp | 42 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaLookup.cpp | 110 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaObjCProperty.cpp | 44 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaOpenMP.cpp | 87 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaOverload.cpp | 289 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaPseudoObject.cpp | 25 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaStmt.cpp | 85 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaStmtAttr.cpp | 3 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaTemplate.cpp | 179 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaTemplateDeduction.cpp | 99 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaTemplateInstantiate.cpp | 32 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 139 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaType.cpp | 97 +-
external/bsd/llvm/dist/clang/lib/Sema/TreeTransform.h | 56 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTReader.cpp | 74 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTReaderDecl.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTWriter.cpp | 23 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTWriterDecl.cpp | 18 +-
external/bsd/llvm/dist/clang/lib/Serialization/CMakeLists.txt | 6 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp | 30 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt | 1 -
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp | 33 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp | 5 +
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 19 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp | 8 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp | 10 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | 18 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp | 6 +
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 21 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/CallEvent.cpp | 67 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp | 5 +
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 18 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp | 26 +
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp | 2 +
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp | 108 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp | 42 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt | 4 -
external/bsd/llvm/dist/clang/runtime/compiler-rt/Makefile | 6 +-
external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator-cxx.h | 29 +-
external/bsd/llvm/dist/clang/test/Analysis/NSContainers.m | 10 +-
external/bsd/llvm/dist/clang/test/Analysis/NewDelete-variadic.cpp | 16 +-
external/bsd/llvm/dist/clang/test/Analysis/bitwise-ops.c | 20 +-
external/bsd/llvm/dist/clang/test/Analysis/cfg.cpp | 27 +-
external/bsd/llvm/dist/clang/test/Analysis/dead-stores.c | 2 +-
external/bsd/llvm/dist/clang/test/Analysis/inline.cpp | 3 +-
external/bsd/llvm/dist/clang/test/Analysis/inlining/stl.cpp | 5 +
external/bsd/llvm/dist/clang/test/Analysis/nonnull.m | 9 +
external/bsd/llvm/dist/clang/test/Analysis/objc-boxing.m | 17 +-
external/bsd/llvm/dist/clang/test/Analysis/objc-string.mm | 2 +-
external/bsd/llvm/dist/clang/test/Analysis/properties.m | 60 +-
external/bsd/llvm/dist/clang/test/Analysis/properties.mm | 5 +-
external/bsd/llvm/dist/clang/test/CMakeLists.txt | 5 +-
external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/class.qual/p2.cpp | 3 +-
external/bsd/llvm/dist/clang/test/CXX/basic/basic.start/basic.start.init/p3.cpp | 24 +
external/bsd/llvm/dist/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.allocation/p1.cpp | 3 +-
external/bsd/llvm/dist/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/p1.cpp | 3 +-
external/bsd/llvm/dist/clang/test/CXX/class.access/class.access.base/p1.cpp | 15 +
external/bsd/llvm/dist/clang/test/CXX/class.access/p4.cpp | 4 +-
external/bsd/llvm/dist/clang/test/CXX/class.access/p6.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p11.cpp | 26 +-
external/bsd/llvm/dist/clang/test/CXX/drs/dr0xx.cpp | 16 +-
external/bsd/llvm/dist/clang/test/CXX/drs/dr15xx.cpp | 20 +
external/bsd/llvm/dist/clang/test/CXX/drs/dr1xx.cpp | 4 +-
external/bsd/llvm/dist/clang/test/CXX/drs/dr3xx.cpp | 759 ++-
external/bsd/llvm/dist/clang/test/CXX/except/except.spec/canonical.cpp | 10 +-
external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p15.cpp | 20 +-
external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.general/p4-0x.cpp | 2 +
external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p11.0x.copy.cpp | 4 +-
external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p11.0x.move.cpp | 34 +-
external/bsd/llvm/dist/clang/test/CXX/special/class.dtor/p10-0x.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/temp.local/p3.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/cxx1y-variable-template-no-body.cpp | 6 +-
external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp | 42 +-
external/bsd/llvm/dist/clang/test/CodeGen/Inputs/instr-attribute.pgodata | 39 +
external/bsd/llvm/dist/clang/test/CodeGen/Inputs/instr-profile.pgodata | 12 +
external/bsd/llvm/dist/clang/test/CodeGen/PR8880.c | 173 +
external/bsd/llvm/dist/clang/test/CodeGen/aarch64-arguments.c | 7 +-
external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-copy.c | 97 +-
external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-intrinsics.c | 56 +-
external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c | 35 +
external/bsd/llvm/dist/clang/test/CodeGen/arm-aapcs-vfp.c | 15 +
external/bsd/llvm/dist/clang/test/CodeGen/arm-cortex-cpus.c | 11 +
external/bsd/llvm/dist/clang/test/CodeGen/arm-homogenous.c | 19 +
external/bsd/llvm/dist/clang/test/CodeGen/cfstring.c | 6 +-
external/bsd/llvm/dist/clang/test/CodeGen/darwin-string-literals.c | 12 +-
external/bsd/llvm/dist/clang/test/CodeGen/debug-dead-local-var.c | 3 +-
external/bsd/llvm/dist/clang/test/CodeGen/debug-info-typedef.c | 11 +
external/bsd/llvm/dist/clang/test/CodeGen/debug-info-var-location.c | 3 +-
external/bsd/llvm/dist/clang/test/CodeGen/instr-attribute.c | 47 +
external/bsd/llvm/dist/clang/test/CodeGen/instr-profile.c | 46 +-
external/bsd/llvm/dist/clang/test/CodeGen/le32-vaarg.c | 28 +
external/bsd/llvm/dist/clang/test/CodeGen/malign-double-x86-nacl.c | 43 +
external/bsd/llvm/dist/clang/test/CodeGen/ms-inline-asm.c | 6 +
external/bsd/llvm/dist/clang/test/CodeGen/ms_struct-pack.c | 21 +-
external/bsd/llvm/dist/clang/test/CodeGen/neon-crypto.c | 95 +
external/bsd/llvm/dist/clang/test/CodeGen/noinline.c | 7 +
external/bsd/llvm/dist/clang/test/CodeGen/sparcv9-abi.c | 3 +
external/bsd/llvm/dist/clang/test/CodeGen/stack-protector.c | 6 +-
external/bsd/llvm/dist/clang/test/CodeGen/utf16-cfstrings.c | 2 +-
external/bsd/llvm/dist/clang/test/CodeGen/xcore-abi.c | 18 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/Inputs/instr-profile-class.pgodata | 20 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/Inputs/instr-profile-throws.pgodata | 16 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/bitfield.cpp | 52 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-constructor-elim.cpp | 9 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-byval.cpp | 3 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-ctor2.cpp | 3 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-member.cpp | 3 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-method-spec.cpp | 3 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-namespace.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template-fwd.cpp | 27 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/destructors.cpp | 7 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/exceptions-no-rtti.cpp | 10 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/instr-profile-class.cpp | 82 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/instr-profile-throws.cpp | 76 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/linetable-eh.cpp | 43 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-cxx11.cpp | 3 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-template-callback.cpp | 17 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-templates-memptrs.cpp | 143 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-arg-order.cpp | 19 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-byval-sret.cpp | 26 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-byval-vararg.cpp | 27 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-cdecl-method-sret.cpp | 35 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-exceptions.cpp | 63 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-member-pointers.cpp | 58 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp | 64 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-structors-alias.cpp | 21 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/pr18661.cpp | 14 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/pragma-pack-3.cpp | 17 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/rtti-fundamental.cpp | 120 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/rtti-linkage.cpp | 50 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/rtti-visibility.cpp | 12 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/throw-expressions.cpp | 13 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/thunks.cpp | 9 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/type_visibility.cpp | 36 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/virt-dtor-key.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/visibility-ms-compat.cpp | 12 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-available-externally.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-key-function-arm.cpp | 24 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-key-function-ios.cpp | 16 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-linkage.cpp | 32 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/weak-extern-typeinfo.cpp | 14 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/2009-08-05-utf16.m | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/2010-02-01-utf16-with-null.m | 6 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-property.m | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/arc.m | 4 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/constant-strings.m | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-class-extension.m | 3 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-class-extension2.m | 3 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-property.m | 3 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-property2.m | 3 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-property4.m | 3 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-property5.m | 3 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-property-synth.m | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/encode-test.m | 8 +
external/bsd/llvm/dist/clang/test/CodeGenObjC/getter-property-mismatch.m | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/property-dbg.m | 3 +-
external/bsd/llvm/dist/clang/test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm | 6 +-
external/bsd/llvm/dist/clang/test/CodeGenObjCXX/rtti.mm | 14 +-
external/bsd/llvm/dist/clang/test/Driver/aarch64-mfpu.c | 5 -
external/bsd/llvm/dist/clang/test/Driver/aarch64-mgeneral_regs_only.c | 7 +
external/bsd/llvm/dist/clang/test/Driver/cl-inputs.c | 8 +
external/bsd/llvm/dist/clang/test/Driver/cl-options.c | 1 +
external/bsd/llvm/dist/clang/test/Driver/clang-translation.c | 52 +-
external/bsd/llvm/dist/clang/test/Driver/clang_f_opts.c | 4 +-
external/bsd/llvm/dist/clang/test/Driver/darwin-embedded.c | 32 +-
external/bsd/llvm/dist/clang/test/Driver/darwin-ld.c | 24 +
external/bsd/llvm/dist/clang/test/Driver/darwin-objc-defaults.m | 9 +
external/bsd/llvm/dist/clang/test/Driver/darwin-verify-debug.c | 10 +-
external/bsd/llvm/dist/clang/test/Driver/debug-options.c | 14 +-
external/bsd/llvm/dist/clang/test/Driver/freebsd-mips-as.c | 24 +-
external/bsd/llvm/dist/clang/test/Driver/fsanitize.c | 22 +-
external/bsd/llvm/dist/clang/test/Driver/function-sections.c | 62 +
external/bsd/llvm/dist/clang/test/Driver/integrated-as.c | 5 +
external/bsd/llvm/dist/clang/test/Driver/integrated-as.s | 13 +-
external/bsd/llvm/dist/clang/test/Driver/linux-header-search.cpp | 23 +
external/bsd/llvm/dist/clang/test/Driver/linux-ld.c | 90 +
external/bsd/llvm/dist/clang/test/Driver/macho-embedded.c | 14 +
external/bsd/llvm/dist/clang/test/Driver/mips-as.c | 34 +-
external/bsd/llvm/dist/clang/test/Driver/mips-eleb.c | 8 +-
external/bsd/llvm/dist/clang/test/Driver/netbsd.c | 80 +
external/bsd/llvm/dist/clang/test/Driver/pic.c | 8 +
external/bsd/llvm/dist/clang/test/Driver/sanitizer-ld.c | 19 +
external/bsd/llvm/dist/clang/test/Driver/stack-protector.c | 8 +
external/bsd/llvm/dist/clang/test/Driver/verify_pch.m | 12 +
external/bsd/llvm/dist/clang/test/Driver/x86_m16.c | 4 +
external/bsd/llvm/dist/clang/test/Driver/xcore-opts.c | 4 +-
external/bsd/llvm/dist/clang/test/FixIt/fixit-unicode-with-utf8-output.c | 1 +
external/bsd/llvm/dist/clang/test/FixIt/typo-location-bugs.cpp | 15 +
external/bsd/llvm/dist/clang/test/Frontend/backend-diagnostic.c | 34 +
external/bsd/llvm/dist/clang/test/Frontend/darwin-eabi.c | 2 +-
external/bsd/llvm/dist/clang/test/Headers/Inputs/include/setjmp.h | 8 +
external/bsd/llvm/dist/clang/test/Headers/carbon.c | 4 +
external/bsd/llvm/dist/clang/test/Headers/cxx11.cpp | 2 +-
external/bsd/llvm/dist/clang/test/Headers/ms-intrin.cpp | 14 +-
external/bsd/llvm/dist/clang/test/Headers/warn-sysheader.cpp | 33 +
external/bsd/llvm/dist/clang/test/Index/annotate-deep-statements.cpp | 4 +-
external/bsd/llvm/dist/clang/test/Index/annotate-tokens-cxx0x.cpp | 4 +-
external/bsd/llvm/dist/clang/test/Index/annotate-tokens.cpp | 16 +-
external/bsd/llvm/dist/clang/test/Index/index-templates.cpp | 2 +-
external/bsd/llvm/dist/clang/test/Index/load-classes.cpp | 2 +-
external/bsd/llvm/dist/clang/test/Index/load-decls.c | 7 +
external/bsd/llvm/dist/clang/test/Index/load-namespaces.cpp | 2 +-
external/bsd/llvm/dist/clang/test/Index/preamble.c | 2 +-
external/bsd/llvm/dist/clang/test/Index/recursive-cxx-member-calls.cpp | 16 +-
external/bsd/llvm/dist/clang/test/Index/usrs.m | 6 +-
external/bsd/llvm/dist/clang/test/Layout/ms-x86-alias-avoidance-padding.cpp | 28 +-
external/bsd/llvm/dist/clang/test/Layout/ms-x86-member-pointers.cpp | 80 +
external/bsd/llvm/dist/clang/test/Layout/ms-x86-pack-and-align.cpp | 16 +-
external/bsd/llvm/dist/clang/test/Layout/ms-x86-primary-bases.cpp | 21 +-
external/bsd/llvm/dist/clang/test/Misc/ast-dump-attr.cpp | 17 +-
external/bsd/llvm/dist/clang/test/Misc/ast-dump-decl.m | 9 +
external/bsd/llvm/dist/clang/test/Misc/driver-verify.c | 6 +
external/bsd/llvm/dist/clang/test/Misc/warning-flags.c | 25 +-
external/bsd/llvm/dist/clang/test/Modules/Inputs/autolink-sub3.h | 1 +
external/bsd/llvm/dist/clang/test/Modules/Inputs/autolink-sub3.pch | 1 +
external/bsd/llvm/dist/clang/test/Modules/Inputs/module.map | 5 +
external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules/import-self-b.h | 4 +-
external/bsd/llvm/dist/clang/test/Modules/autolink.m | 12 +-
external/bsd/llvm/dist/clang/test/Modules/config_macros.m | 2 +-
external/bsd/llvm/dist/clang/test/Modules/diag-pragma.c | 2 +-
external/bsd/llvm/dist/clang/test/Modules/diamond-pch.c | 2 +-
external/bsd/llvm/dist/clang/test/Modules/diamond.c | 2 +-
external/bsd/llvm/dist/clang/test/Modules/irgen.c | 2 +-
external/bsd/llvm/dist/clang/test/Modules/linkage-merge.cpp | 5 +-
external/bsd/llvm/dist/clang/test/Modules/linkage-merge.m | 2 +-
external/bsd/llvm/dist/clang/test/Modules/load_failure.c | 4 +-
external/bsd/llvm/dist/clang/test/Modules/lookup.cpp | 4 +-
external/bsd/llvm/dist/clang/test/Modules/lookup.m | 4 +-
external/bsd/llvm/dist/clang/test/Modules/macros.c | 4 +-
external/bsd/llvm/dist/clang/test/Modules/module-private.cpp | 2 +-
external/bsd/llvm/dist/clang/test/Modules/objc-categories.m | 2 +-
external/bsd/llvm/dist/clang/test/Modules/objc_redef.m | 2 +-
external/bsd/llvm/dist/clang/test/Modules/redecl-namespaces.mm | 2 +-
external/bsd/llvm/dist/clang/test/Modules/redeclarations.m | 2 +-
external/bsd/llvm/dist/clang/test/Modules/redecls/main.m | 4 +-
external/bsd/llvm/dist/clang/test/OpenMP/threadprivate_ast_print.cpp | 2 -
external/bsd/llvm/dist/clang/test/PCH/different-diagnostic-level.c | 17 +
external/bsd/llvm/dist/clang/test/PCH/local_static.cpp | 20 +
external/bsd/llvm/dist/clang/test/PCH/local_static.h | 7 +
external/bsd/llvm/dist/clang/test/PCH/modified-module-dependency.m | 20 +
external/bsd/llvm/dist/clang/test/PCH/modified-module-dependency.module.map | 4 +
external/bsd/llvm/dist/clang/test/PCH/verify_pch.m | 30 +
external/bsd/llvm/dist/clang/test/Parser/bad-control.c | 15 +
external/bsd/llvm/dist/clang/test/Parser/cxx0x-decl.cpp | 7 +
external/bsd/llvm/dist/clang/test/Preprocessor/arm-target-features.c | 9 +
external/bsd/llvm/dist/clang/test/Preprocessor/init.c | 214 +-
external/bsd/llvm/dist/clang/test/Preprocessor/macho-embedded-predefines.c | 5 +
external/bsd/llvm/dist/clang/test/Preprocessor/macro_arg_empty.c | 7 +
external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_commaext.c | 4 +-
external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_spacing.c | 16 +-
external/bsd/llvm/dist/clang/test/Preprocessor/macro_space.c | 36 +-
external/bsd/llvm/dist/clang/test/Preprocessor/ucn-allowed-chars.c | 2 +-
external/bsd/llvm/dist/clang/test/Sema/enable_if.c | 4 +-
external/bsd/llvm/dist/clang/test/Sema/ext_vector_casts.c | 2 +-
external/bsd/llvm/dist/clang/test/Sema/implicit-builtin-decl.c | 9 +
external/bsd/llvm/dist/clang/test/Sema/lit.local.cfg | 4 +
external/bsd/llvm/dist/clang/test/Sema/loop-control.c | 121 +
external/bsd/llvm/dist/clang/test/Sema/nonnull.c | 32 +
external/bsd/llvm/dist/clang/test/Sema/pragma-pack-apple.c | 4 +-
external/bsd/llvm/dist/clang/test/Sema/return.c | 2 +-
external/bsd/llvm/dist/clang/test/Sema/statements.c | 3 -
external/bsd/llvm/dist/clang/test/Sema/transparent-union.c | 22 +-
external/bsd/llvm/dist/clang/test/Sema/unused-expr.c | 2 +-
external/bsd/llvm/dist/clang/test/Sema/vector-cast.c | 10 +
external/bsd/llvm/dist/clang/test/Sema/warn-missing-variable-declarations.c | 2 +-
external/bsd/llvm/dist/clang/test/Sema/warn-null.c | 3 +
external/bsd/llvm/dist/clang/test/Sema/warn-thread-safety-analysis.c | 19 +-
external/bsd/llvm/dist/clang/test/Sema/warn-unreachable.c | 2 +-
external/bsd/llvm/dist/clang/test/Sema/wchar.c | 4 +-
external/bsd/llvm/dist/clang/test/SemaCXX/MicrosoftCompatibility.cpp | 24 +
external/bsd/llvm/dist/clang/test/SemaCXX/anonymous-struct.cpp | 7 +
external/bsd/llvm/dist/clang/test/SemaCXX/attr-selectany.cpp | 5 +-
external/bsd/llvm/dist/clang/test/SemaCXX/attr-weak.cpp | 6 +-
external/bsd/llvm/dist/clang/test/SemaCXX/attr-weakref.cpp | 4 +-
external/bsd/llvm/dist/clang/test/SemaCXX/c99-variable-length-array.cpp | 21 +
external/bsd/llvm/dist/clang/test/SemaCXX/conditional-expr.cpp | 27 +-
external/bsd/llvm/dist/clang/test/SemaCXX/constant-expression.cpp | 9 +
external/bsd/llvm/dist/clang/test/SemaCXX/constructor-initializer.cpp | 2 +-
external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-cursory-default-delete.cpp | 4 +
external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp | 4 +-
external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-type-convert-construct.cpp | 4 +-
external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-variable-templates_top_level.cpp | 18 +-
external/bsd/llvm/dist/clang/test/SemaCXX/cxx98-compat.cpp | 9 +-
external/bsd/llvm/dist/clang/test/SemaCXX/deprecated.cpp | 9 +-
external/bsd/llvm/dist/clang/test/SemaCXX/enable_if.cpp | 2 +-
external/bsd/llvm/dist/clang/test/SemaCXX/enum-scoped.cpp | 5 +
external/bsd/llvm/dist/clang/test/SemaCXX/explicit.cpp | 5 +
external/bsd/llvm/dist/clang/test/SemaCXX/expression-traits.cpp | 15 +-
external/bsd/llvm/dist/clang/test/SemaCXX/lambda-expressions.cpp | 78 +-
external/bsd/llvm/dist/clang/test/SemaCXX/linkage.cpp | 19 +
external/bsd/llvm/dist/clang/test/SemaCXX/member-init.cpp | 10 +
external/bsd/llvm/dist/clang/test/SemaCXX/member-pointer-ms.cpp | 71 +-
external/bsd/llvm/dist/clang/test/SemaCXX/member-pointer.cpp | 2 +-
external/bsd/llvm/dist/clang/test/SemaCXX/nested-name-spec.cpp | 13 +-
external/bsd/llvm/dist/clang/test/SemaCXX/new-delete.cpp | 6 +-
external/bsd/llvm/dist/clang/test/SemaCXX/new-null.cpp | 63 +
external/bsd/llvm/dist/clang/test/SemaCXX/nonnull.cpp | 15 +
external/bsd/llvm/dist/clang/test/SemaCXX/overload-0x.cpp | 84 +-
external/bsd/llvm/dist/clang/test/SemaCXX/overloaded-operator.cpp | 55 +
external/bsd/llvm/dist/clang/test/SemaCXX/return-stack-addr.cpp | 23 +-
external/bsd/llvm/dist/clang/test/SemaCXX/sourceranges.cpp | 9 +
external/bsd/llvm/dist/clang/test/SemaCXX/static-cast.cpp | 3 +
external/bsd/llvm/dist/clang/test/SemaCXX/type-traits.cpp | 35 +
external/bsd/llvm/dist/clang/test/SemaCXX/typeid-ref.cpp | 2 +-
external/bsd/llvm/dist/clang/test/SemaCXX/typo-correction-pt2.cpp | 24 +
external/bsd/llvm/dist/clang/test/SemaCXX/undefined-internal.cpp | 2 +-
external/bsd/llvm/dist/clang/test/SemaCXX/vector-casts.cpp | 17 +
external/bsd/llvm/dist/clang/test/SemaCXX/vla.cpp | 14 +
external/bsd/llvm/dist/clang/test/SemaCXX/warn-consumed-analysis.cpp | 50 +-
external/bsd/llvm/dist/clang/test/SemaCXX/warn-new-overaligned.cpp | 4 +-
external/bsd/llvm/dist/clang/test/SemaCXX/warn-string-conversion.cpp | 8 +-
external/bsd/llvm/dist/clang/test/SemaCXX/warn-thread-safety-analysis.cpp | 21 +
external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-value.cpp | 2 +-
external/bsd/llvm/dist/clang/test/SemaObjC/continuation-class-property.m | 12 +
external/bsd/llvm/dist/clang/test/SemaObjC/dealloc.m | 14 +
external/bsd/llvm/dist/clang/test/SemaObjC/format-arg-attribute.m | 28 +-
external/bsd/llvm/dist/clang/test/SemaObjC/nonnull.m | 28 +
external/bsd/llvm/dist/clang/test/SemaObjC/protocols-suppress-conformance.m | 55 +-
external/bsd/llvm/dist/clang/test/SemaObjC/unused-backing-ivar-warning.m | 54 +
external/bsd/llvm/dist/clang/test/SemaObjCXX/propert-dot-error.mm | 6 +-
external/bsd/llvm/dist/clang/test/SemaObjCXX/warn-objc-literal-conversion.mm | 74 +
external/bsd/llvm/dist/clang/test/SemaOpenCL/extern.cl | 9 +
external/bsd/llvm/dist/clang/test/SemaTemplate/class-template-decl.cpp | 7 +
external/bsd/llvm/dist/clang/test/SemaTemplate/class-template-spec.cpp | 58 +
external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-var-template.cpp | 36 +
external/bsd/llvm/dist/clang/test/lit.cfg | 7 +
external/bsd/llvm/dist/clang/tools/arcmt-test/CMakeLists.txt | 9 +-
external/bsd/llvm/dist/clang/tools/clang-format/ClangFormat.cpp | 2 +-
external/bsd/llvm/dist/clang/tools/clang-format/clang-format-diff.py | 3 +-
external/bsd/llvm/dist/clang/tools/driver/CMakeLists.txt | 31 +-
external/bsd/llvm/dist/clang/tools/driver/cc1as_main.cpp | 3 +-
external/bsd/llvm/dist/clang/tools/libclang/CIndex.cpp | 142 +-
external/bsd/llvm/dist/clang/tools/libclang/CIndexCodeCompletion.cpp | 9 +-
external/bsd/llvm/dist/clang/tools/libclang/CIndexDiagnostic.cpp | 15 +-
external/bsd/llvm/dist/clang/tools/libclang/CIndexHigh.cpp | 9 +-
external/bsd/llvm/dist/clang/tools/libclang/CIndexInclusionStack.cpp | 6 +-
external/bsd/llvm/dist/clang/tools/libclang/CLog.h | 3 +-
external/bsd/llvm/dist/clang/tools/libclang/CMakeLists.txt | 38 +-
external/bsd/llvm/dist/clang/tools/libclang/CXSourceLocation.cpp | 14 +-
external/bsd/llvm/dist/clang/tools/libclang/CXTranslationUnit.h | 12 +
external/bsd/llvm/dist/clang/tools/libclang/CXType.cpp | 16 +-
external/bsd/llvm/dist/clang/tools/libclang/IndexDecl.cpp | 2 +-
external/bsd/llvm/dist/clang/tools/libclang/Indexing.cpp | 4 +-
external/bsd/llvm/dist/clang/tools/libclang/Makefile | 9 +-
external/bsd/llvm/dist/clang/tools/scan-build/ccc-analyzer | 5 +-
external/bsd/llvm/dist/clang/unittests/AST/CommentParser.cpp | 20 +
external/bsd/llvm/dist/clang/unittests/AST/DeclPrinterTest.cpp | 9 +-
external/bsd/llvm/dist/clang/unittests/AST/StmtPrinterTest.cpp | 7 +-
external/bsd/llvm/dist/clang/unittests/ASTMatchers/ASTMatchersTest.cpp | 22 +-
external/bsd/llvm/dist/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp | 14 +
external/bsd/llvm/dist/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp | 85 +
external/bsd/llvm/dist/clang/unittests/Format/CMakeLists.txt | 1 +
external/bsd/llvm/dist/clang/unittests/Format/FormatTest.cpp | 132 +-
external/bsd/llvm/dist/clang/unittests/Format/FormatTestJS.cpp | 22 +-
external/bsd/llvm/dist/clang/unittests/Format/FormatTestProto.cpp | 96 +
external/bsd/llvm/dist/clang/unittests/Tooling/CompilationDatabaseTest.cpp | 2 +-
external/bsd/llvm/dist/clang/utils/TableGen/CMakeLists.txt | 1 -
external/bsd/llvm/dist/clang/utils/TableGen/ClangAttrEmitter.cpp | 602 +-
external/bsd/llvm/dist/clang/utils/TableGen/NeonEmitter.cpp | 207 +-
external/bsd/llvm/dist/clang/utils/TableGen/TableGen.cpp | 36 +-
external/bsd/llvm/dist/clang/utils/TableGen/TableGenBackends.h | 5 +-
external/bsd/llvm/dist/clang/utils/clang.natvis | 44 +
external/bsd/llvm/dist/clang/www/cxx_dr_status.html | 558 +-
external/bsd/llvm/dist/clang/www/cxx_status.html | 26 +-
external/bsd/llvm/dist/clang/www/diagnostics.html | 287 +-
external/bsd/llvm/dist/clang/www/get_involved.html | 8 +-
external/bsd/llvm/dist/clang/www/get_started.html | 5 +-
external/bsd/llvm/dist/clang/www/hacking.html | 26 +-
external/bsd/llvm/dist/clang/www/index.html | 6 +-
external/bsd/llvm/dist/clang/www/make_cxx_dr_status | 7 +-
external/bsd/llvm/dist/clang/www/menu.html.incl | 3 +-
610 files changed, 16961 insertions(+), 8914 deletions(-)
diffs (truncated from 48909 to 300 lines):
diff -r b3da98718261 -r 188a5e5a5b74 external/bsd/llvm/dist/clang/CMakeLists.txt
--- a/external/bsd/llvm/dist/clang/CMakeLists.txt Fri Feb 14 16:35:40 2014 +0000
+++ b/external/bsd/llvm/dist/clang/CMakeLists.txt Fri Feb 14 20:04:58 2014 +0000
@@ -1,8 +1,9 @@
+cmake_minimum_required(VERSION 2.8.8)
+
# If we are not building as a part of LLVM, build Clang as an
# standalone project, using LLVM as an external library:
if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
project(Clang)
- cmake_minimum_required(VERSION 2.8.8)
# Rely on llvm-config.
set(CONFIG_OUTPUT)
@@ -66,13 +67,15 @@
message(FATAL_ERROR "Not found: ${LLVMCONFIG_FILE}")
endif()
- set(LLVM_RUNTIME_OUTPUT_INTDIR ${LLVM_TOOLS_BINARY_DIR})
- set(LLVM_LIBRARY_OUTPUT_INTDIR ${LLVM_LIBRARY_DIR})
+ # They are used as destination of target generators.
+ set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin)
+ set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib)
- option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install' target." OFF)
+ option(LLVM_INSTALL_TOOLCHAIN_ONLY
+ "Only include toolchain files in the 'install' target." OFF)
option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
- "Set to ON to force using an old, unsupported host toolchain." OFF)
+ "Set to ON to force using an old, unsupported host toolchain." OFF)
include(AddLLVM)
include(TableGen)
@@ -84,7 +87,6 @@
set(LLVM_INCLUDE_TESTS ON)
endif()
- set(CMAKE_INCLUDE_CURRENT_DIR ON)
include_directories("${LLVM_BINARY_DIR}/include" "${LLVM_MAIN_INCLUDE_DIR}")
link_directories("${LLVM_LIBRARY_DIR}")
@@ -95,30 +97,30 @@
if(LLVM_INCLUDE_TESTS)
# Check prebuilt llvm/utils.
if(EXISTS ${LLVM_TOOLS_BINARY_DIR}/FileCheck${CMAKE_EXECUTABLE_SUFFIX}
- AND EXISTS ${LLVM_TOOLS_BINARY_DIR}/count${CMAKE_EXECUTABLE_SUFFIX}
- AND EXISTS ${LLVM_TOOLS_BINARY_DIR}/not${CMAKE_EXECUTABLE_SUFFIX})
+ AND EXISTS ${LLVM_TOOLS_BINARY_DIR}/count${CMAKE_EXECUTABLE_SUFFIX}
+ AND EXISTS ${LLVM_TOOLS_BINARY_DIR}/not${CMAKE_EXECUTABLE_SUFFIX})
set(LLVM_UTILS_PROVIDED ON)
endif()
if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
set(LLVM_LIT ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
if(NOT LLVM_UTILS_PROVIDED)
- add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/FileCheck utils/FileCheck)
- add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/count utils/count)
- add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/not utils/not)
- set(LLVM_UTILS_PROVIDED ON)
- set(CLANG_TEST_DEPS FileCheck count not)
+ add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/FileCheck utils/FileCheck)
+ add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/count utils/count)
+ add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/not utils/not)
+ set(LLVM_UTILS_PROVIDED ON)
+ set(CLANG_TEST_DEPS FileCheck count not)
endif()
set(UNITTEST_DIR ${LLVM_MAIN_SRC_DIR}/utils/unittest)
if(EXISTS ${UNITTEST_DIR}/googletest/include/gtest/gtest.h
AND NOT EXISTS ${LLVM_LIBRARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}gtest${CMAKE_STATIC_LIBRARY_SUFFIX}
- AND EXISTS ${UNITTEST_DIR}/CMakeLists.txt)
- add_subdirectory(${UNITTEST_DIR} utils/unittest)
+ AND EXISTS ${UNITTEST_DIR}/CMakeLists.txt)
+ add_subdirectory(${UNITTEST_DIR} utils/unittest)
endif()
else()
# Seek installed Lit.
find_program(LLVM_LIT "lit.py" ${LLVM_MAIN_SRC_DIR}/utils/lit
- DOC "Path to lit.py")
+ DOC "Path to lit.py")
endif()
if(LLVM_LIT)
@@ -126,13 +128,13 @@
# to override.
set(LIT_ARGS_DEFAULT "-sv")
if (MSVC OR XCODE)
- set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar")
+ set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar")
endif()
set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
# On Win32 hosts, provide an option to specify the path to the GnuWin32 tools.
if( WIN32 AND NOT CYGWIN )
- set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to GnuWin32 tools")
+ set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to GnuWin32 tools")
endif()
else()
set(LLVM_INCLUDE_TESTS OFF)
@@ -177,9 +179,6 @@
set(CLANG_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(CLANG_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
-set(CLANG_RUNTIME_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin)
-set(CLANG_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib)
-
if( CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE )
message(FATAL_ERROR "In-source builds are not allowed. CMake would overwrite "
"the makefiles distributed with LLVM. Please create a directory and run cmake "
@@ -237,15 +236,11 @@
endif()
endif ()
-if (APPLE)
- set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-flat_namespace -Wl,-undefined -Wl,suppress")
-endif ()
-
configure_file(
${CLANG_SOURCE_DIR}/include/clang/Config/config.h.cmake
${CLANG_BINARY_DIR}/include/clang/Config/config.h)
-include(LLVMParseArguments)
+include(CMakeParseArguments)
function(clang_tablegen)
# Syntax:
@@ -260,16 +255,16 @@
# executing the custom command depending on output-file. It is
# possible to list more files to depend after DEPENDS.
- parse_arguments( CTG "SOURCE;TARGET;DEPENDS" "" ${ARGN} )
+ cmake_parse_arguments(CTG "" "SOURCE;TARGET" "DEPENDS" ${ARGN})
if( NOT CTG_SOURCE )
message(FATAL_ERROR "SOURCE source-file required by clang_tablegen")
endif()
set( LLVM_TARGET_DEFINITIONS ${CTG_SOURCE} )
- tablegen( CLANG ${CTG_DEFAULT_ARGS} )
+ tablegen(CLANG ${CTG_UNPARSED_ARGUMENTS})
- list( GET CTG_DEFAULT_ARGS 0 output_file )
+ list(GET CTG_UNPARSED_ARGUMENTS 0 output_file)
if( CTG_TARGET )
add_custom_target( ${CTG_TARGET} DEPENDS ${output_file} ${CTG_DEPENDS} )
set_target_properties( ${CTG_TARGET} PROPERTIES FOLDER "Clang tablegenning")
@@ -277,7 +272,12 @@
endfunction(clang_tablegen)
macro(add_clang_library name)
- llvm_process_sources(srcs ${ARGN})
+ cmake_parse_arguments(ARG
+ ""
+ ""
+ "ADDITIONAL_HEADERS"
+ ${ARGN})
+ set(srcs)
if(MSVC_IDE OR XCODE)
# Add public headers
file(RELATIVE_PATH lib_path
@@ -297,34 +297,21 @@
source_group("TableGen descriptions" FILES ${tds})
set_source_files_properties(${tds}} PROPERTIES HEADER_FILE_ONLY ON)
- set(srcs ${srcs} ${headers} ${tds})
+ if(headers OR tds)
+ set(srcs ${headers} ${tds})
+ endif()
endif()
endif(MSVC_IDE OR XCODE)
- if (MODULE)
- set(libkind MODULE)
- elseif (SHARED_LIBRARY)
- set(libkind SHARED)
- else()
- set(libkind)
+ if(srcs OR ARG_ADDITIONAL_HEADERS)
+ set(srcs
+ ADDITIONAL_HEADERS
+ ${srcs}
+ ${ARG_ADDITIONAL_HEADERS} # It may contain unparsed unknown args.
+ )
endif()
- add_library( ${name} ${libkind} ${srcs} )
- add_dead_strip( ${name} )
- set_output_directory(${name} ${CLANG_RUNTIME_OUTPUT_INTDIR} ${CLANG_LIBRARY_OUTPUT_INTDIR})
- if( LLVM_COMMON_DEPENDS )
- add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} )
- endif( LLVM_COMMON_DEPENDS )
+ llvm_add_library(${name} ${ARG_UNPARSED_ARGUMENTS} ${srcs})
- llvm_config( ${name} ${LLVM_LINK_COMPONENTS} )
target_link_libraries( ${name} ${LLVM_COMMON_LIBS} )
- link_system_libs( ${name} )
-
- if ((SHARED_LIBRARY OR MODULE) AND LLVM_EXPORTED_SYMBOL_FILE)
- add_llvm_symbol_exports( ${name} ${LLVM_EXPORTED_SYMBOL_FILE} )
- endif()
-
- if (MODULE)
- set_property(TARGET ${name} PROPERTY SUFFIX ${LLVM_PLUGIN_EXT})
- endif ()
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "libclang")
install(TARGETS ${name}
@@ -339,16 +326,17 @@
macro(add_clang_executable name)
add_llvm_executable( ${name} ${ARGN} )
set_target_properties(${name} PROPERTIES FOLDER "Clang executables")
- set_output_directory(${name} ${CLANG_RUNTIME_OUTPUT_INTDIR} ${CLANG_LIBRARY_OUTPUT_INTDIR})
endmacro(add_clang_executable)
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
include_directories(BEFORE
${CMAKE_CURRENT_BINARY_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/include
)
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
- install(DIRECTORY include/
+ install(DIRECTORY include/clang include/clang-c
DESTINATION include
FILES_MATCHING
PATTERN "*.def"
@@ -357,7 +345,7 @@
PATTERN ".svn" EXCLUDE
)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/clang
DESTINATION include
FILES_MATCHING
PATTERN "CMakeFiles" EXCLUDE
@@ -437,6 +425,22 @@
)
endif()
add_subdirectory(test)
+
+ if(CLANG_BUILT_STANDALONE)
+ # Add a global check rule now that all subdirectories have been traversed
+ # and we know the total set of lit testsuites.
+ get_property(LLVM_LIT_TESTSUITES GLOBAL PROPERTY LLVM_LIT_TESTSUITES)
+ get_property(LLVM_LIT_PARAMS GLOBAL PROPERTY LLVM_LIT_PARAMS)
+ get_property(LLVM_LIT_DEPENDS GLOBAL PROPERTY LLVM_LIT_DEPENDS)
+ get_property(LLVM_LIT_EXTRA_ARGS GLOBAL PROPERTY LLVM_LIT_EXTRA_ARGS)
+ add_lit_target(check-all
+ "Running all regression tests"
+ ${LLVM_LIT_TESTSUITES}
+ PARAMS ${LLVM_LIT_PARAMS}
+ DEPENDS ${LLVM_LIT_DEPENDS}
+ ARGS ${LLVM_LIT_EXTRA_ARGS}
+ )
+ endif()
endif()
option(CLANG_INCLUDE_DOCS "Generate build targets for the Clang docs."
diff -r b3da98718261 -r 188a5e5a5b74 external/bsd/llvm/dist/clang/docs/AddressSanitizer.rst
--- a/external/bsd/llvm/dist/clang/docs/AddressSanitizer.rst Fri Feb 14 16:35:40 2014 +0000
+++ b/external/bsd/llvm/dist/clang/docs/AddressSanitizer.rst Fri Feb 14 20:04:58 2014 +0000
@@ -61,14 +61,14 @@
% clang -g -fsanitize=address example_UseAfterFree.o
If a bug is detected, the program will print an error message to stderr and
-exit with a non-zero exit code. Currently, AddressSanitizer does not symbolize
-its output, so you may need to use a separate script to symbolize the result
-offline (this will be fixed in future).
+exit with a non-zero exit code. To make AddressSanitizer symbolize its output
+you need to set the ``ASAN_SYMBOLIZER_PATH`` environment variable to point to
+the ``llvm-symbolizer`` binary (or make sure ``llvm-symbolizer`` is in your
+``$PATH``):
.. code-block:: console
- % ./a.out 2> log
- % projects/compiler-rt/lib/asan/scripts/asan_symbolize.py / < log | c++filt
+ % ASAN_SYMBOLIZER_PATH=/usr/local/bin/llvm-symbolizer ./a.out
==9442== ERROR: AddressSanitizer heap-use-after-free on address 0x7f7ddab8c084 at pc 0x403c8c bp 0x7fff87fb82d0 sp 0x7fff87fb82c8
READ of size 4 at 0x7f7ddab8c084 thread T0
#0 0x403c8c in main example_UseAfterFree.cc:4
@@ -84,6 +84,23 @@
#2 0x7f7ddabcac4d in __libc_start_main ??:0
==9442== ABORTING
+If that does not work for you (e.g. your process is sandboxed), you can use a
+separate script to symbolize the result offline (online symbolization can be
+force disabled by setting ``ASAN_OPTIONS=symbolize=0``):
+
+.. code-block:: console
+
+ % ASAN_OPTIONS=symbolize=0 ./a.out 2> log
+ % projects/compiler-rt/lib/asan/scripts/asan_symbolize.py / < log | c++filt
+ ==9442== ERROR: AddressSanitizer heap-use-after-free on address 0x7f7ddab8c084 at pc 0x403c8c bp 0x7fff87fb82d0 sp 0x7fff87fb82c8
+ READ of size 4 at 0x7f7ddab8c084 thread T0
+ #0 0x403c8c in main example_UseAfterFree.cc:4
+ #1 0x7f7ddabcac4d in __libc_start_main ??:0
+ ...
+
+Note that on OS X you may need to run ``dsymutil`` on your binary to have the
+file\:line info in the AddressSanitizer reports.
Home |
Main Index |
Thread Index |
Old Index