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 r198450.
details: https://anonhg.NetBSD.org/src/rev/8b33da88d110
branches: trunk
changeset: 792496:8b33da88d110
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Jan 05 15:29:16 2014 +0000
description:
Import clang 3.5svn r198450.
diffstat:
external/bsd/llvm/dist/clang/CMakeLists.txt | 200 +-
external/bsd/llvm/dist/clang/LICENSE.TXT | 2 +-
external/bsd/llvm/dist/clang/bindings/python/clang/cindex.py | 15 +-
external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cdb.py | 21 +
external/bsd/llvm/dist/clang/docs/AddressSanitizer.rst | 7 +
external/bsd/llvm/dist/clang/docs/ClangFormat.rst | 19 +-
external/bsd/llvm/dist/clang/docs/ClangFormatStyleOptions.rst | 56 +-
external/bsd/llvm/dist/clang/docs/LeakSanitizer.rst | 17 +-
external/bsd/llvm/dist/clang/docs/LibTooling.rst | 15 +-
external/bsd/llvm/dist/clang/docs/ReleaseNotes.rst | 120 +-
external/bsd/llvm/dist/clang/docs/UsersManual.rst | 28 +-
external/bsd/llvm/dist/clang/docs/analyzer/conf.py | 2 +-
external/bsd/llvm/dist/clang/docs/conf.py | 6 +-
external/bsd/llvm/dist/clang/docs/index.rst | 6 +-
external/bsd/llvm/dist/clang/docs/tools/clang.pod | 11 +-
external/bsd/llvm/dist/clang/include/clang-c/Index.h | 30 +-
external/bsd/llvm/dist/clang/include/clang/AST/ASTConsumer.h | 1 -
external/bsd/llvm/dist/clang/include/clang/AST/ASTContext.h | 25 +-
external/bsd/llvm/dist/clang/include/clang/AST/ASTTypeTraits.h | 8 +-
external/bsd/llvm/dist/clang/include/clang/AST/ASTVector.h | 24 -
external/bsd/llvm/dist/clang/include/clang/AST/Attr.h | 29 +-
external/bsd/llvm/dist/clang/include/clang/AST/AttrIterator.h | 4 +-
external/bsd/llvm/dist/clang/include/clang/AST/CMakeLists.txt | 5 +
external/bsd/llvm/dist/clang/include/clang/AST/CommentCommands.td | 2 +-
external/bsd/llvm/dist/clang/include/clang/AST/CommentLexer.h | 12 +-
external/bsd/llvm/dist/clang/include/clang/AST/DataRecursiveASTVisitor.h | 2412 ++++++++++
external/bsd/llvm/dist/clang/include/clang/AST/Decl.h | 21 +-
external/bsd/llvm/dist/clang/include/clang/AST/DeclBase.h | 38 +-
external/bsd/llvm/dist/clang/include/clang/AST/DeclCXX.h | 42 +-
external/bsd/llvm/dist/clang/include/clang/AST/DeclObjC.h | 111 +-
external/bsd/llvm/dist/clang/include/clang/AST/DeclTemplate.h | 14 +-
external/bsd/llvm/dist/clang/include/clang/AST/Expr.h | 25 +-
external/bsd/llvm/dist/clang/include/clang/AST/ExprCXX.h | 132 +-
external/bsd/llvm/dist/clang/include/clang/AST/Makefile | 8 +-
external/bsd/llvm/dist/clang/include/clang/AST/Mangle.h | 3 +-
external/bsd/llvm/dist/clang/include/clang/AST/OperationKinds.h | 5 +-
external/bsd/llvm/dist/clang/include/clang/AST/PrettyPrinter.h | 6 +-
external/bsd/llvm/dist/clang/include/clang/AST/RecordLayout.h | 33 +-
external/bsd/llvm/dist/clang/include/clang/AST/RecursiveASTVisitor.h | 53 +-
external/bsd/llvm/dist/clang/include/clang/AST/Stmt.h | 2 +-
external/bsd/llvm/dist/clang/include/clang/AST/Type.h | 70 +-
external/bsd/llvm/dist/clang/include/clang/AST/TypeLoc.h | 15 +-
external/bsd/llvm/dist/clang/include/clang/AST/TypeNodes.def | 3 +-
external/bsd/llvm/dist/clang/include/clang/AST/VTableBuilder.h | 82 +-
external/bsd/llvm/dist/clang/include/clang/ASTMatchers/ASTMatchers.h | 15 +-
external/bsd/llvm/dist/clang/include/clang/ASTMatchers/ASTMatchersInternal.h | 147 +-
external/bsd/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/Parser.h | 19 +-
external/bsd/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/Registry.h | 31 +-
external/bsd/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h | 23 +-
external/bsd/llvm/dist/clang/include/clang/Analysis/FlowSensitive/DataflowSolver.h | 2 +-
external/bsd/llvm/dist/clang/include/clang/Basic/Attr.td | 364 +-
external/bsd/llvm/dist/clang/include/clang/Basic/AttrKinds.h | 1 -
external/bsd/llvm/dist/clang/include/clang/Basic/Builtins.h | 4 +
external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsMips.def | 16 +-
external/bsd/llvm/dist/clang/include/clang/Basic/Diagnostic.h | 21 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticCommonKinds.td | 7 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticDriverKinds.td | 2 -
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticFrontendKinds.td | 4 +
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticGroups.td | 11 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticLexKinds.td | 10 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticParseKinds.td | 48 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticSemaKinds.td | 252 +-
external/bsd/llvm/dist/clang/include/clang/Basic/IdentifierTable.h | 4 +-
external/bsd/llvm/dist/clang/include/clang/Basic/Module.h | 17 +-
external/bsd/llvm/dist/clang/include/clang/Basic/SourceManager.h | 2 +-
external/bsd/llvm/dist/clang/include/clang/Basic/Specifiers.h | 10 +-
external/bsd/llvm/dist/clang/include/clang/Basic/StmtNodes.td | 2 -
external/bsd/llvm/dist/clang/include/clang/Basic/TargetBuiltins.h | 1 +
external/bsd/llvm/dist/clang/include/clang/Basic/TargetCXXABI.h | 6 +-
external/bsd/llvm/dist/clang/include/clang/Basic/TargetInfo.h | 1 +
external/bsd/llvm/dist/clang/include/clang/Basic/TemplateKinds.h | 1 +
external/bsd/llvm/dist/clang/include/clang/Basic/TokenKinds.def | 156 +-
external/bsd/llvm/dist/clang/include/clang/Basic/TokenKinds.h | 4 +-
external/bsd/llvm/dist/clang/include/clang/Basic/TypeTraits.h | 21 +-
external/bsd/llvm/dist/clang/include/clang/Basic/arm_neon.td | 184 +-
external/bsd/llvm/dist/clang/include/clang/CodeGen/BackendUtil.h | 8 +-
external/bsd/llvm/dist/clang/include/clang/CodeGen/CodeGenABITypes.h | 11 +-
external/bsd/llvm/dist/clang/include/clang/Driver/CLCompatOptions.td | 4 +-
external/bsd/llvm/dist/clang/include/clang/Driver/Options.td | 24 +-
external/bsd/llvm/dist/clang/include/clang/Driver/ToolChain.h | 3 +
external/bsd/llvm/dist/clang/include/clang/Format/Format.h | 85 +-
external/bsd/llvm/dist/clang/include/clang/Frontend/ASTUnit.h | 33 +-
external/bsd/llvm/dist/clang/include/clang/Frontend/CompilerInstance.h | 7 +-
external/bsd/llvm/dist/clang/include/clang/Frontend/FrontendOptions.h | 5 +-
external/bsd/llvm/dist/clang/include/clang/Frontend/Utils.h | 5 +
external/bsd/llvm/dist/clang/include/clang/Frontend/VerifyDiagnosticConsumer.h | 20 +-
external/bsd/llvm/dist/clang/include/clang/Lex/HeaderSearch.h | 19 +-
external/bsd/llvm/dist/clang/include/clang/Lex/ModuleMap.h | 27 +-
external/bsd/llvm/dist/clang/include/clang/Lex/PPCallbacks.h | 12 +-
external/bsd/llvm/dist/clang/include/clang/Lex/PPConditionalDirectiveRecord.h | 4 +-
external/bsd/llvm/dist/clang/include/clang/Lex/PreprocessingRecord.h | 10 +
external/bsd/llvm/dist/clang/include/clang/Lex/Preprocessor.h | 548 +-
external/bsd/llvm/dist/clang/include/clang/Parse/Parser.h | 98 +-
external/bsd/llvm/dist/clang/include/clang/Rewrite/Core/RewriteRope.h | 7 +-
external/bsd/llvm/dist/clang/include/clang/Sema/AttributeList.h | 84 +
external/bsd/llvm/dist/clang/include/clang/Sema/DeclSpec.h | 8 -
external/bsd/llvm/dist/clang/include/clang/Sema/DelayedDiagnostic.h | 20 +-
external/bsd/llvm/dist/clang/include/clang/Sema/IdentifierResolver.h | 11 +-
external/bsd/llvm/dist/clang/include/clang/Sema/Lookup.h | 10 +-
external/bsd/llvm/dist/clang/include/clang/Sema/Scope.h | 12 +
external/bsd/llvm/dist/clang/include/clang/Sema/ScopeInfo.h | 29 +-
external/bsd/llvm/dist/clang/include/clang/Sema/Sema.h | 99 +-
external/bsd/llvm/dist/clang/include/clang/Sema/SemaLambda.h | 25 +-
external/bsd/llvm/dist/clang/include/clang/Serialization/ASTBitCodes.h | 6 +-
external/bsd/llvm/dist/clang/include/clang/Serialization/ASTReader.h | 2 +-
external/bsd/llvm/dist/clang/include/clang/Serialization/ASTWriter.h | 4 +-
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h | 5 +-
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h | 4 +-
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h | 43 +
external/bsd/llvm/dist/clang/include/clang/Tooling/CommonOptionsParser.h | 12 +-
external/bsd/llvm/dist/clang/include/clang/Tooling/ReplacementsYaml.h | 12 -
external/bsd/llvm/dist/clang/lib/ARCMigrate/ARCMT.cpp | 38 -
external/bsd/llvm/dist/clang/lib/ARCMigrate/CMakeLists.txt | 13 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/ObjCMT.cpp | 567 ++-
external/bsd/llvm/dist/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/Transforms.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/AST/ASTContext.cpp | 448 +-
external/bsd/llvm/dist/clang/lib/AST/ASTTypeTraits.cpp | 14 +-
external/bsd/llvm/dist/clang/lib/AST/AttrImpl.cpp | 2 -
external/bsd/llvm/dist/clang/lib/AST/CMakeLists.txt | 1 +
external/bsd/llvm/dist/clang/lib/AST/Comment.cpp | 36 +
external/bsd/llvm/dist/clang/lib/AST/CommentLexer.cpp | 13 +
external/bsd/llvm/dist/clang/lib/AST/CommentSema.cpp | 20 +-
external/bsd/llvm/dist/clang/lib/AST/DeclBase.cpp | 27 +-
external/bsd/llvm/dist/clang/lib/AST/DeclCXX.cpp | 208 +-
external/bsd/llvm/dist/clang/lib/AST/DeclFriend.cpp | 14 +-
external/bsd/llvm/dist/clang/lib/AST/DeclOpenMP.cpp | 15 +-
external/bsd/llvm/dist/clang/lib/AST/DeclTemplate.cpp | 164 +-
external/bsd/llvm/dist/clang/lib/AST/ItaniumCXXABI.cpp | 4 +
external/bsd/llvm/dist/clang/lib/AST/MicrosoftCXXABI.cpp | 22 +-
external/bsd/llvm/dist/clang/lib/AST/MicrosoftMangle.cpp | 136 +-
external/bsd/llvm/dist/clang/lib/AST/RecordLayout.cpp | 17 +-
external/bsd/llvm/dist/clang/lib/AST/StmtProfile.cpp | 13 -
external/bsd/llvm/dist/clang/lib/AST/Type.cpp | 3 +
external/bsd/llvm/dist/clang/lib/AST/TypePrinter.cpp | 14 +-
external/bsd/llvm/dist/clang/lib/ASTMatchers/ASTMatchersInternal.cpp | 20 +
external/bsd/llvm/dist/clang/lib/ASTMatchers/CMakeLists.txt | 1 -
external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/CMakeLists.txt | 2 +
external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/Marshallers.h | 142 +-
external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/Parser.cpp | 22 +-
external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/Registry.cpp | 52 +-
external/bsd/llvm/dist/clang/lib/Analysis/CFG.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/Analysis/CMakeLists.txt | 5 +
external/bsd/llvm/dist/clang/lib/Analysis/Consumed.cpp | 131 +-
external/bsd/llvm/dist/clang/lib/Analysis/LiveVariables.cpp | 18 -
external/bsd/llvm/dist/clang/lib/Analysis/ThreadSafety.cpp | 28 +-
external/bsd/llvm/dist/clang/lib/Basic/Builtins.cpp | 51 +-
external/bsd/llvm/dist/clang/lib/Basic/CMakeLists.txt | 7 +-
external/bsd/llvm/dist/clang/lib/Basic/Diagnostic.cpp | 30 +
external/bsd/llvm/dist/clang/lib/Basic/DiagnosticIDs.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/Basic/IdentifierTable.cpp | 4 +
external/bsd/llvm/dist/clang/lib/Basic/Module.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/Basic/SourceManager.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Basic/TargetInfo.cpp | 16 +-
external/bsd/llvm/dist/clang/lib/Basic/Targets.cpp | 358 +-
external/bsd/llvm/dist/clang/lib/Basic/Version.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/CodeGen/BackendUtil.cpp | 60 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGBlocks.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGBuiltin.cpp | 612 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGCXX.cpp | 28 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGCXXABI.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGCXXABI.h | 50 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGCall.cpp | 86 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGClass.cpp | 78 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGDebugInfo.cpp | 35 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGDecl.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGDeclCXX.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGExpr.cpp | 1 +
external/bsd/llvm/dist/clang/lib/CodeGen/CGExprAgg.cpp | 1 +
external/bsd/llvm/dist/clang/lib/CodeGen/CGExprCXX.cpp | 77 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGExprComplex.cpp | 11 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGExprConstant.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGExprScalar.cpp | 24 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGObjC.cpp | 1 -
external/bsd/llvm/dist/clang/lib/CodeGen/CGObjCGNU.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGRecordLayout.h | 4 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGStmt.cpp | 14 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGVTT.cpp | 3 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGVTables.cpp | 40 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGVTables.h | 12 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CMakeLists.txt | 23 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenABITypes.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenAction.cpp | 61 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenFunction.cpp | 44 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenFunction.h | 102 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenModule.cpp | 237 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenModule.h | 43 +-
external/bsd/llvm/dist/clang/lib/CodeGen/ItaniumCXXABI.cpp | 125 +-
external/bsd/llvm/dist/clang/lib/CodeGen/MicrosoftCXXABI.cpp | 257 +-
external/bsd/llvm/dist/clang/lib/CodeGen/ModuleBuilder.cpp | 2 +
external/bsd/llvm/dist/clang/lib/CodeGen/TargetInfo.cpp | 45 +-
external/bsd/llvm/dist/clang/lib/CodeGen/TargetInfo.h | 2 +-
external/bsd/llvm/dist/clang/lib/Edit/CMakeLists.txt | 4 +
external/bsd/llvm/dist/clang/lib/Edit/RewriteObjCFoundationAPI.cpp | 1 +
external/bsd/llvm/dist/clang/lib/Frontend/ASTUnit.cpp | 69 +-
external/bsd/llvm/dist/clang/lib/Frontend/CMakeLists.txt | 5 +
external/bsd/llvm/dist/clang/lib/Frontend/CompilerInstance.cpp | 18 +-
external/bsd/llvm/dist/clang/lib/Frontend/CompilerInvocation.cpp | 24 +-
external/bsd/llvm/dist/clang/lib/Frontend/FrontendAction.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/Frontend/FrontendActions.cpp | 17 +-
external/bsd/llvm/dist/clang/lib/Frontend/InitHeaderSearch.cpp | 28 +-
external/bsd/llvm/dist/clang/lib/Frontend/PrintPreprocessedOutput.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/Frontend/TextDiagnosticBuffer.cpp | 42 +-
external/bsd/llvm/dist/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp | 69 +-
external/bsd/llvm/dist/clang/lib/FrontendTool/CMakeLists.txt | 11 +-
external/bsd/llvm/dist/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/Headers/CMakeLists.txt | 44 +-
external/bsd/llvm/dist/clang/lib/Headers/cpuid.h | 1 +
external/bsd/llvm/dist/clang/lib/Index/CMakeLists.txt | 9 +-
external/bsd/llvm/dist/clang/lib/Parse/CMakeLists.txt | 6 +
external/bsd/llvm/dist/clang/lib/Parse/ParseCXXInlineMethods.cpp | 68 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseDecl.cpp | 506 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseDeclCXX.cpp | 161 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseExpr.cpp | 216 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseExprCXX.cpp | 231 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseInit.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseObjc.cpp | 159 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseOpenMP.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/Parse/ParsePragma.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseStmt.cpp | 124 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseTemplate.cpp | 85 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseTentative.cpp | 38 +-
external/bsd/llvm/dist/clang/lib/Parse/Parser.cpp | 201 +-
external/bsd/llvm/dist/clang/lib/Parse/RAIIObjectsForParser.h | 4 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Core/CMakeLists.txt | 8 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Core/HTMLRewrite.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Core/Rewriter.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Frontend/CMakeLists.txt | 9 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp | 23 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp | 15 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Frontend/RewriteObjC.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Sema/AnalysisBasedWarnings.cpp | 99 +
external/bsd/llvm/dist/clang/lib/Sema/AttributeList.cpp | 39 +-
external/bsd/llvm/dist/clang/lib/Sema/CMakeLists.txt | 5 +-
external/bsd/llvm/dist/clang/lib/Sema/DeclSpec.cpp | 16 -
external/bsd/llvm/dist/clang/lib/Sema/DelayedDiagnostic.cpp | 13 +-
external/bsd/llvm/dist/clang/lib/Sema/IdentifierResolver.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/Sema/JumpDiagnostics.cpp | 118 +-
external/bsd/llvm/dist/clang/lib/Sema/ScopeInfo.cpp | 13 +-
external/bsd/llvm/dist/clang/lib/Sema/Sema.cpp | 18 +
external/bsd/llvm/dist/clang/lib/Sema/SemaAccess.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaCXXScopeSpec.cpp | 19 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaCast.cpp | 5 +
external/bsd/llvm/dist/clang/lib/Sema/SemaChecking.cpp | 71 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaCodeComplete.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaDecl.cpp | 283 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaDeclAttr.cpp | 1803 ++-----
external/bsd/llvm/dist/clang/lib/Sema/SemaDeclCXX.cpp | 301 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaDeclObjC.cpp | 323 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaExceptionSpec.cpp | 2 -
external/bsd/llvm/dist/clang/lib/Sema/SemaExpr.cpp | 160 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaExprCXX.cpp | 302 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaExprMember.cpp | 3 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaExprObjC.cpp | 319 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaInit.cpp | 30 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaLambda.cpp | 271 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaLookup.cpp | 3 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaObjCProperty.cpp | 89 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaOverload.cpp | 8 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaPseudoObject.cpp | 22 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaStmt.cpp | 81 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaTemplate.cpp | 117 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaTemplateDeduction.cpp | 13 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaTemplateInstantiate.cpp | 3 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 167 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaTemplateVariadic.cpp | 8 -
external/bsd/llvm/dist/clang/lib/Sema/SemaType.cpp | 104 +-
external/bsd/llvm/dist/clang/lib/Sema/TargetAttributesSema.cpp | 140 +-
external/bsd/llvm/dist/clang/lib/Sema/TreeTransform.h | 151 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTReader.cpp | 13 +
external/bsd/llvm/dist/clang/lib/Serialization/ASTReaderDecl.cpp | 15 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTReaderStmt.cpp | 36 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTWriter.cpp | 13 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTWriterDecl.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTWriterStmt.cpp | 30 +-
external/bsd/llvm/dist/clang/lib/Serialization/CMakeLists.txt | 9 +-
external/bsd/llvm/dist/clang/lib/Tooling/CMakeLists.txt | 7 +-
external/bsd/llvm/dist/clang/lib/Tooling/CommonOptionsParser.cpp | 20 +-
external/bsd/llvm/dist/clang/lib/Tooling/CompilationDatabase.cpp | 10 +-
external/bsd/llvm/dist/clang/lib/Tooling/JSONCompilationDatabase.cpp | 2 +-
external/bsd/llvm/dist/clang/runtime/compiler-rt/Makefile | 9 +-
external/bsd/llvm/dist/clang/tools/CMakeLists.txt | 1 +
external/bsd/llvm/dist/clang/tools/c-arcmt-test/CMakeLists.txt | 5 -
external/bsd/llvm/dist/clang/tools/c-arcmt-test/Makefile | 1 +
external/bsd/llvm/dist/clang/tools/c-index-test/CMakeLists.txt | 5 -
external/bsd/llvm/dist/clang/tools/c-index-test/c-index-test.c | 117 +-
external/bsd/llvm/dist/clang/tools/clang-check/CMakeLists.txt | 12 +-
external/bsd/llvm/dist/clang/tools/clang-check/ClangCheck.cpp | 56 +-
external/bsd/llvm/dist/clang/tools/clang-format-vs/CMakeLists.txt | 16 +
external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/ClangFormat.csproj | 3 +
external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/ClangFormatPackage.cs | 6 +-
external/bsd/llvm/dist/clang/tools/clang-format-vs/README.txt | 9 +-
external/bsd/llvm/dist/clang/tools/clang-format/CMakeLists.txt | 6 +-
external/bsd/llvm/dist/clang/tools/clang-format/ClangFormat.cpp | 38 +-
external/bsd/llvm/dist/clang/tools/clang-format/clang-format-diff.py | 28 +-
external/bsd/llvm/dist/clang/tools/diag-build/diag-build.sh | 9 +
external/bsd/llvm/dist/clang/tools/diagtool/CMakeLists.txt | 8 +-
external/bsd/llvm/dist/clang/tools/driver/CMakeLists.txt | 49 +-
external/bsd/llvm/dist/clang/tools/driver/Makefile | 6 +-
external/bsd/llvm/dist/clang/tools/driver/cc1_main.cpp | 3 +-
external/bsd/llvm/dist/clang/tools/libclang/CIndex.cpp | 94 +-
external/bsd/llvm/dist/clang/tools/libclang/CMakeLists.txt | 25 +-
external/bsd/llvm/dist/clang/tools/libclang/CXCompilationDatabase.cpp | 2 +-
external/bsd/llvm/dist/clang/tools/libclang/CXCursor.cpp | 2 -
external/bsd/llvm/dist/clang/tools/libclang/IndexBody.cpp | 6 +-
external/bsd/llvm/dist/clang/tools/libclang/IndexTypeSourceInfo.cpp | 4 +-
external/bsd/llvm/dist/clang/tools/libclang/IndexingContext.cpp | 7 +-
external/bsd/llvm/dist/clang/tools/libclang/IndexingContext.h | 4 +-
external/bsd/llvm/dist/clang/tools/libclang/Makefile | 4 +-
external/bsd/llvm/dist/clang/tools/libclang/libclang.exports | 2 +
external/bsd/llvm/dist/clang/tools/scan-build/ccc-analyzer | 8 +-
external/bsd/llvm/dist/clang/tools/scan-build/scan-build | 18 +-
external/bsd/llvm/dist/clang/unittests/AST/ASTTypeTraitsTest.cpp | 13 +
external/bsd/llvm/dist/clang/unittests/AST/CMakeLists.txt | 10 +-
external/bsd/llvm/dist/clang/unittests/ASTMatchers/CMakeLists.txt | 13 +-
external/bsd/llvm/dist/clang/unittests/ASTMatchers/Dynamic/CMakeLists.txt | 11 +-
external/bsd/llvm/dist/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp | 28 +-
external/bsd/llvm/dist/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp | 52 +-
external/bsd/llvm/dist/clang/unittests/Basic/CMakeLists.txt | 4 +
external/bsd/llvm/dist/clang/unittests/Format/CMakeLists.txt | 9 +-
external/bsd/llvm/dist/clang/unittests/Format/FormatTest.cpp | 967 +++-
external/bsd/llvm/dist/clang/unittests/Format/FormatTestJS.cpp | 84 +
external/bsd/llvm/dist/clang/unittests/Format/FormatTestUtils.h | 67 +
external/bsd/llvm/dist/clang/unittests/Frontend/CMakeLists.txt | 7 +-
external/bsd/llvm/dist/clang/unittests/Frontend/FrontendActionTest.cpp | 38 +-
external/bsd/llvm/dist/clang/unittests/Lex/CMakeLists.txt | 10 +-
external/bsd/llvm/dist/clang/unittests/Sema/CMakeLists.txt | 11 +-
external/bsd/llvm/dist/clang/unittests/Tooling/CMakeLists.txt | 12 +-
external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTest.cpp | 39 +
external/bsd/llvm/dist/clang/utils/TableGen/CMakeLists.txt | 1 +
external/bsd/llvm/dist/clang/utils/TableGen/ClangAttrEmitter.cpp | 615 ++-
external/bsd/llvm/dist/clang/utils/TableGen/NeonEmitter.cpp | 132 +-
external/bsd/llvm/dist/clang/utils/TableGen/TableGen.cpp | 7 +
external/bsd/llvm/dist/clang/utils/TableGen/TableGenBackends.h | 1 +
external/bsd/llvm/dist/clang/utils/analyzer/SATestBuild.py | 4 +-
external/bsd/llvm/dist/clang/www/comparison.html | 19 +-
external/bsd/llvm/dist/clang/www/cxx_dr_status.html | 61 +-
external/bsd/llvm/dist/clang/www/cxx_status.html | 54 +-
external/bsd/llvm/dist/clang/www/make_cxx_dr_status | 8 +-
340 files changed, 13668 insertions(+), 7963 deletions(-)
diffs (truncated from 40039 to 300 lines):
diff -r 1bcdb16a2ec6 -r 8b33da88d110 external/bsd/llvm/dist/clang/CMakeLists.txt
--- a/external/bsd/llvm/dist/clang/CMakeLists.txt Sun Jan 05 15:19:39 2014 +0000
+++ b/external/bsd/llvm/dist/clang/CMakeLists.txt Sun Jan 05 15:29:16 2014 +0000
@@ -4,67 +4,138 @@
project(Clang)
cmake_minimum_required(VERSION 2.8)
- set(CLANG_PATH_TO_LLVM_SOURCE "" CACHE PATH
- "Path to LLVM source code. Not necessary if using an installed LLVM.")
- set(CLANG_PATH_TO_LLVM_BUILD "" CACHE PATH
- "Path to the directory where LLVM was built or installed.")
-
- if( CLANG_PATH_TO_LLVM_SOURCE )
- if( NOT EXISTS "${CLANG_PATH_TO_LLVM_SOURCE}/cmake/config-ix.cmake" )
- message(FATAL_ERROR "Please set CLANG_PATH_TO_LLVM_SOURCE to the root directory of LLVM source code.")
+ # Rely on llvm-config.
+ set(CONFIG_OUTPUT)
+ find_program(LLVM_CONFIG "llvm-config")
+ if(LLVM_CONFIG)
+ message(STATUS "Found LLVM_CONFIG as ${LLVM_CONFIG}")
+ set(CONFIG_COMMAND ${LLVM_CONFIG}
+ "--assertion-mode"
+ "--bindir"
+ "--libdir"
+ "--includedir"
+ "--prefix"
+ "--src-root")
+ execute_process(
+ COMMAND ${CONFIG_COMMAND}
+ RESULT_VARIABLE HAD_ERROR
+ OUTPUT_VARIABLE CONFIG_OUTPUT
+ )
+ if(NOT HAD_ERROR)
+ string(REGEX REPLACE
+ "[ \t]*[\r\n]+[ \t]*" ";"
+ CONFIG_OUTPUT ${CONFIG_OUTPUT})
else()
- get_filename_component(LLVM_MAIN_SRC_DIR ${CLANG_PATH_TO_LLVM_SOURCE}
- ABSOLUTE)
- list(APPEND CMAKE_MODULE_PATH "${LLVM_MAIN_SRC_DIR}/cmake/modules")
+ string(REPLACE ";" " " CONFIG_COMMAND_STR "${CONFIG_COMMAND}")
+ message(STATUS "${CONFIG_COMMAND_STR}")
+ message(FATAL_ERROR "llvm-config failed with status ${HAD_ERROR}")
endif()
+ else()
+ message(FATAL_ERROR "llvm-config not found -- ${LLVM_CONFIG}")
endif()
- if (EXISTS "${CLANG_PATH_TO_LLVM_BUILD}/bin/llvm-config${CMAKE_EXECUTABLE_SUFFIX}")
- set (PATH_TO_LLVM_CONFIG "${CLANG_PATH_TO_LLVM_BUILD}/bin/llvm-config${CMAKE_EXECUTABLE_SUFFIX}")
- elseif (EXISTS "${CLANG_PATH_TO_LLVM_BUILD}/bin/Debug/llvm-config${CMAKE_EXECUTABLE_SUFFIX}")
- # Looking for bin/Debug/llvm-config is a complete hack. How can we get
- # around this?
- set (PATH_TO_LLVM_CONFIG "${CLANG_PATH_TO_LLVM_BUILD}/bin/Debug/llvm-config${CMAKE_EXECUTABLE_SUFFIX}")
- else()
- message(FATAL_ERROR "Please set CLANG_PATH_TO_LLVM_BUILD to a directory containing a LLVM build.")
+ list(GET CONFIG_OUTPUT 0 ENABLE_ASSERTIONS)
+ list(GET CONFIG_OUTPUT 1 TOOLS_BINARY_DIR)
+ list(GET CONFIG_OUTPUT 2 LIBRARY_DIR)
+ list(GET CONFIG_OUTPUT 3 INCLUDE_DIR)
+ list(GET CONFIG_OUTPUT 4 LLVM_OBJ_ROOT)
+ list(GET CONFIG_OUTPUT 5 MAIN_SRC_DIR)
+
+ if(NOT MSVC_IDE)
+ set(LLVM_ENABLE_ASSERTIONS ${ENABLE_ASSERTIONS}
+ CACHE BOOL "Enable assertions")
+ # Assertions should follow llvm-config's.
+ mark_as_advanced(LLVM_ENABLE_ASSERTIONS)
endif()
- list(APPEND CMAKE_MODULE_PATH "${CLANG_PATH_TO_LLVM_BUILD}/share/llvm/cmake")
+ set(LLVM_TOOLS_BINARY_DIR ${TOOLS_BINARY_DIR} CACHE PATH "Path to llvm/bin")
+ set(LLVM_LIBRARY_DIR ${LIBRARY_DIR} CACHE PATH "Path to llvm/lib")
+ set(LLVM_MAIN_INCLUDE_DIR ${INCLUDE_DIR} CACHE PATH "Path to llvm/include")
+ set(LLVM_BINARY_DIR ${LLVM_OBJ_ROOT} CACHE PATH "Path to LLVM build tree")
+ set(LLVM_MAIN_SRC_DIR ${MAIN_SRC_DIR} CACHE PATH "Path to LLVM source tree")
+
+ find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR}
+ NO_DEFAULT_PATH)
- get_filename_component(PATH_TO_LLVM_BUILD ${CLANG_PATH_TO_LLVM_BUILD}
- ABSOLUTE)
+ set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR}/share/llvm/cmake")
+ set(LLVMCONFIG_FILE "${LLVM_CMAKE_PATH}/LLVMConfig.cmake")
+ if(EXISTS ${LLVMCONFIG_FILE})
+ list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_PATH}")
+ include(${LLVMCONFIG_FILE})
+ else()
+ 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})
option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install' target." OFF)
include(AddLLVM)
include(TableGen)
- include("${CLANG_PATH_TO_LLVM_BUILD}/share/llvm/cmake/LLVMConfig.cmake")
include(HandleLLVMOptions)
set(PACKAGE_VERSION "${LLVM_PACKAGE_VERSION}")
- set(LLVM_MAIN_INCLUDE_DIR "${LLVM_MAIN_SRC_DIR}/include")
- set(LLVM_BINARY_DIR ${CMAKE_BINARY_DIR})
+ if (NOT DEFINED LLVM_INCLUDE_TESTS)
+ set(LLVM_INCLUDE_TESTS ON)
+ endif()
set(CMAKE_INCLUDE_CURRENT_DIR ON)
- include_directories("${PATH_TO_LLVM_BUILD}/include" "${LLVM_MAIN_INCLUDE_DIR}")
- link_directories("${PATH_TO_LLVM_BUILD}/lib")
-
- exec_program("${PATH_TO_LLVM_CONFIG} --bindir" OUTPUT_VARIABLE LLVM_BINARY_DIR)
- set(LLVM_TABLEGEN_EXE "${LLVM_BINARY_DIR}/llvm-tblgen${CMAKE_EXECUTABLE_SUFFIX}")
-
- # Define the default arguments to use with 'lit', and an option for the user
- # to override.
- set(LIT_ARGS_DEFAULT "-sv")
- if (MSVC OR XCODE)
- set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar")
- endif()
- set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
+ include_directories("${LLVM_BINARY_DIR}/include" "${LLVM_MAIN_INCLUDE_DIR}")
+ link_directories("${LLVM_LIBRARY_DIR}")
set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib )
+ 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})
+ 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)
+ 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)
+ endif()
+ else()
+ # Seek installed Lit.
+ find_program(LLVM_LIT "lit.py" ${LLVM_MAIN_SRC_DIR}/utils/lit
+ DOC "Path to lit.py")
+ endif()
+
+ if(LLVM_LIT)
+ # Define the default arguments to use with 'lit', and an option for the user
+ # to override.
+ set(LIT_ARGS_DEFAULT "-sv")
+ if (MSVC OR XCODE)
+ 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")
+ endif()
+ else()
+ set(LLVM_INCLUDE_TESTS OFF)
+ endif()
+ endif()
+
set( CLANG_BUILT_STANDALONE 1 )
find_package(LibXml2)
@@ -103,6 +174,9 @@
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 "
@@ -199,41 +273,6 @@
endif()
endfunction(clang_tablegen)
-# FIXME: Generalize and move to llvm.
-function(add_clang_symbol_exports target_name export_file)
- # Makefile.rules contains special cases for different platforms.
- # We restrict ourselves to Darwin for the time being.
- if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
- add_custom_command(OUTPUT symbol.exports
- COMMAND sed -e "s/^/_/" < ${export_file} > symbol.exports
- DEPENDS ${export_file}
- VERBATIM
- COMMENT "Creating export file for ${target_name}")
- add_custom_target(${target_name}_exports DEPENDS symbol.exports)
- set_property(DIRECTORY APPEND
- PROPERTY ADDITIONAL_MAKE_CLEAN_FILES symbol.exports)
-
- get_property(srcs TARGET ${target_name} PROPERTY SOURCES)
- foreach(src ${srcs})
- get_filename_component(extension ${src} EXT)
- if(extension STREQUAL ".cpp")
- set(first_source_file ${src})
- break()
- endif()
- endforeach()
-
- # Force re-linking when the exports file changes. Actually, it
- # forces recompilation of the source file. The LINK_DEPENDS target
- # property only works for makefile-based generators.
- set_property(SOURCE ${first_source_file} APPEND PROPERTY
- OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/symbol.exports)
-
- set_property(TARGET ${target_name} APPEND_STRING PROPERTY
- LINK_FLAGS " -Wl,-exported_symbols_list,${CMAKE_CURRENT_BINARY_DIR}/symbol.exports")
- add_dependencies(${target_name} ${target_name}_exports)
- endif()
-endfunction(add_clang_symbol_exports)
-
macro(add_clang_library name)
llvm_process_sources(srcs ${ARGN})
if(MSVC_IDE OR XCODE)
@@ -266,6 +305,8 @@
set(libkind)
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 )
@@ -274,8 +315,8 @@
target_link_libraries( ${name} ${LLVM_COMMON_LIBS} )
link_system_libs( ${name} )
- if (SHARED_LIBRARY AND EXPORTED_SYMBOL_FILE)
- add_clang_symbol_exports( ${name} ${EXPORTED_SYMBOL_FILE} )
+ if ((SHARED_LIBRARY OR MODULE) AND LLVM_EXPORTED_SYMBOL_FILE)
+ add_llvm_symbol_exports( ${name} ${LLVM_EXPORTED_SYMBOL_FILE} )
endif()
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "libclang")
@@ -291,6 +332,7 @@
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)
include_directories(BEFORE
@@ -375,8 +417,14 @@
${LLVM_INCLUDE_TESTS})
if( CLANG_INCLUDE_TESTS )
+ if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include/gtest/gtest.h)
+ add_subdirectory(unittests)
+ list(APPEND CLANG_TEST_DEPS ClangUnitTests)
+ list(APPEND CLANG_TEST_PARAMS
+ clang_unit_site_config=${CMAKE_CURRENT_BINARY_DIR}/test/Unit/lit.site.cfg
+ )
+ endif()
add_subdirectory(test)
- add_subdirectory(unittests)
endif()
option(CLANG_INCLUDE_DOCS "Generate build targets for the Clang docs."
diff -r 1bcdb16a2ec6 -r 8b33da88d110 external/bsd/llvm/dist/clang/LICENSE.TXT
--- a/external/bsd/llvm/dist/clang/LICENSE.TXT Sun Jan 05 15:19:39 2014 +0000
+++ b/external/bsd/llvm/dist/clang/LICENSE.TXT Sun Jan 05 15:29:16 2014 +0000
@@ -4,7 +4,7 @@
University of Illinois/NCSA
Open Source License
-Copyright (c) 2007-2013 University of Illinois at Urbana-Champaign.
+Copyright (c) 2007-2014 University of Illinois at Urbana-Champaign.
All rights reserved.
Developed by:
diff -r 1bcdb16a2ec6 -r 8b33da88d110 external/bsd/llvm/dist/clang/bindings/python/clang/cindex.py
--- a/external/bsd/llvm/dist/clang/bindings/python/clang/cindex.py Sun Jan 05 15:19:39 2014 +0000
+++ b/external/bsd/llvm/dist/clang/bindings/python/clang/cindex.py Sun Jan 05 15:29:16 2014 +0000
@@ -2501,7 +2501,7 @@
constants in this class.
"""
- # An unknown error occured
+ # An unknown error occurred
ERROR_UNKNOWN = 0
# The database could not be loaded
Home |
Main Index |
Thread Index |
Old Index