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 r202566.
details: https://anonhg.NetBSD.org/src/rev/ee115e7ef02c
branches: trunk
changeset: 327320:ee115e7ef02c
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Mar 04 19:53:10 2014 +0000
description:
Import Clang 3.5svn r202566.
diffstat:
external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_translation_unit.py | 11 +-
external/bsd/llvm/dist/clang/docs/AttributeReference.rst | 1020 +++
external/bsd/llvm/dist/clang/docs/ClangFormatStyleOptions.rst | 26 +-
external/bsd/llvm/dist/clang/docs/InternalsManual.rst | 26 +-
external/bsd/llvm/dist/clang/docs/LanguageExtensions.rst | 865 +---
external/bsd/llvm/dist/clang/docs/LibASTMatchersReference.html | 225 +-
external/bsd/llvm/dist/clang/docs/LibASTMatchersTutorial.rst | 8 +-
external/bsd/llvm/dist/clang/docs/MSVCCompatibility.rst | 121 +
external/bsd/llvm/dist/clang/docs/Modules.rst | 36 +-
external/bsd/llvm/dist/clang/docs/ReleaseNotes.rst | 22 +-
external/bsd/llvm/dist/clang/docs/ThreadSafetyAnalysis.rst | 818 +++
external/bsd/llvm/dist/clang/docs/UsersManual.rst | 12 +-
external/bsd/llvm/dist/clang/docs/index.rst | 3 +
external/bsd/llvm/dist/clang/docs/tools/dump_ast_matchers.py | 17 +-
external/bsd/llvm/dist/clang/docs/tools/dump_format_style.py | 4 +-
external/bsd/llvm/dist/clang/examples/CMakeLists.txt | 1 +
external/bsd/llvm/dist/clang/examples/PrintFunctionNames/CMakeLists.txt | 26 +-
external/bsd/llvm/dist/clang/examples/PrintFunctionNames/Makefile | 2 +-
external/bsd/llvm/dist/clang/examples/analyzer-plugin/CMakeLists.txt | 26 +-
external/bsd/llvm/dist/clang/examples/analyzer-plugin/MainCallChecker.cpp | 2 +-
external/bsd/llvm/dist/clang/include/clang-c/BuildSystem.h | 87 +
external/bsd/llvm/dist/clang/include/clang-c/CXErrorCode.h | 64 +
external/bsd/llvm/dist/clang/include/clang-c/Index.h | 126 +-
external/bsd/llvm/dist/clang/include/clang/AST/ASTContext.h | 8 +-
external/bsd/llvm/dist/clang/include/clang/AST/CharUnits.h | 7 +-
external/bsd/llvm/dist/clang/include/clang/AST/DataRecursiveASTVisitor.h | 20 +-
external/bsd/llvm/dist/clang/include/clang/AST/DeclCXX.h | 12 +-
external/bsd/llvm/dist/clang/include/clang/AST/ExternalASTSource.h | 2 +-
external/bsd/llvm/dist/clang/include/clang/AST/OpenMPClause.h | 438 +
external/bsd/llvm/dist/clang/include/clang/AST/RecursiveASTVisitor.h | 20 +-
external/bsd/llvm/dist/clang/include/clang/AST/StmtOpenMP.h | 471 +-
external/bsd/llvm/dist/clang/include/clang/AST/TemplateBase.h | 16 +-
external/bsd/llvm/dist/clang/include/clang/AST/VTableBuilder.h | 114 +-
external/bsd/llvm/dist/clang/include/clang/ASTMatchers/ASTMatchers.h | 69 +-
external/bsd/llvm/dist/clang/include/clang/ASTMatchers/ASTMatchersInternal.h | 20 +
external/bsd/llvm/dist/clang/include/clang/Analysis/CFG.h | 77 +-
external/bsd/llvm/dist/clang/include/clang/Analysis/ProgramPoint.h | 6 +-
external/bsd/llvm/dist/clang/include/clang/Basic/Attr.td | 388 +-
external/bsd/llvm/dist/clang/include/clang/Basic/AttrDocs.td | 939 +++
external/bsd/llvm/dist/clang/include/clang/Basic/Builtins.def | 5 +
external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsX86.def | 1 +
external/bsd/llvm/dist/clang/include/clang/Basic/Diagnostic.h | 1 +
external/bsd/llvm/dist/clang/include/clang/Basic/Diagnostic.td | 3 +
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticDriverKinds.td | 7 +
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticFrontendKinds.td | 6 +
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticGroups.td | 10 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticIDs.h | 17 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticLexKinds.td | 2 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticParseKinds.td | 7 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticSemaKinds.td | 97 +-
external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticSerializationKinds.td | 5 +-
external/bsd/llvm/dist/clang/include/clang/Basic/FileManager.h | 65 +-
external/bsd/llvm/dist/clang/include/clang/Basic/FileSystemStatCache.h | 25 +-
external/bsd/llvm/dist/clang/include/clang/Basic/LangOptions.def | 2 +
external/bsd/llvm/dist/clang/include/clang/Basic/LangOptions.h | 7 +
external/bsd/llvm/dist/clang/include/clang/Basic/Module.h | 9 +-
external/bsd/llvm/dist/clang/include/clang/Basic/OpenMPKinds.def | 10 +
external/bsd/llvm/dist/clang/include/clang/Basic/SourceLocation.h | 2 +-
external/bsd/llvm/dist/clang/include/clang/Basic/StmtNodes.td | 1 +
external/bsd/llvm/dist/clang/include/clang/Basic/TokenKinds.def | 7 +-
external/bsd/llvm/dist/clang/include/clang/Basic/VirtualFileSystem.h | 170 +
external/bsd/llvm/dist/clang/include/clang/Basic/arm_neon.td | 295 +-
external/bsd/llvm/dist/clang/include/clang/CodeGen/CGFunctionInfo.h | 12 +
external/bsd/llvm/dist/clang/include/clang/Driver/CC1Options.td | 4 +
external/bsd/llvm/dist/clang/include/clang/Driver/CLCompatOptions.td | 19 +-
external/bsd/llvm/dist/clang/include/clang/Driver/Job.h | 2 +
external/bsd/llvm/dist/clang/include/clang/Driver/Multilib.h | 167 +
external/bsd/llvm/dist/clang/include/clang/Driver/Options.td | 28 +-
external/bsd/llvm/dist/clang/include/clang/Driver/SanitizerArgs.h | 4 +-
external/bsd/llvm/dist/clang/include/clang/Driver/ToolChain.h | 5 +
external/bsd/llvm/dist/clang/include/clang/Format/Format.h | 3 +-
external/bsd/llvm/dist/clang/include/clang/Frontend/ASTUnit.h | 26 +-
external/bsd/llvm/dist/clang/include/clang/Frontend/ChainedIncludesSource.h | 4 +-
external/bsd/llvm/dist/clang/include/clang/Frontend/CodeGenOptions.def | 1 +
external/bsd/llvm/dist/clang/include/clang/Frontend/CompilerInstance.h | 33 +-
external/bsd/llvm/dist/clang/include/clang/Frontend/Utils.h | 11 +
external/bsd/llvm/dist/clang/include/clang/Lex/CMakeLists.txt | 2 +-
external/bsd/llvm/dist/clang/include/clang/Lex/DirectoryLookup.h | 9 +-
external/bsd/llvm/dist/clang/include/clang/Lex/HeaderMap.h | 5 +
external/bsd/llvm/dist/clang/include/clang/Lex/HeaderSearchOptions.h | 22 +-
external/bsd/llvm/dist/clang/include/clang/Lex/Lexer.h | 22 +-
external/bsd/llvm/dist/clang/include/clang/Lex/LiteralSupport.h | 7 +-
external/bsd/llvm/dist/clang/include/clang/Lex/Preprocessor.h | 5 +
external/bsd/llvm/dist/clang/include/clang/Parse/Parser.h | 16 +-
external/bsd/llvm/dist/clang/include/clang/Sema/AttributeList.h | 34 -
external/bsd/llvm/dist/clang/include/clang/Sema/DeclSpec.h | 49 +-
external/bsd/llvm/dist/clang/include/clang/Sema/Sema.h | 93 +-
external/bsd/llvm/dist/clang/include/clang/Sema/TypoCorrection.h | 5 +-
external/bsd/llvm/dist/clang/include/clang/Serialization/ASTBitCodes.h | 1 +
external/bsd/llvm/dist/clang/include/clang/Serialization/ASTReader.h | 64 +-
external/bsd/llvm/dist/clang/include/clang/Serialization/Module.h | 13 +
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h | 11 +-
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h | 28 +-
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h | 6 +-
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/Checker.h | 17 +-
external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h | 23 +
external/bsd/llvm/dist/clang/lib/ARCMigrate/CMakeLists.txt | 15 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/FileRemapper.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/ObjCMT.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/ARCMigrate/PlistReporter.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/AST/ASTContext.cpp | 34 +-
external/bsd/llvm/dist/clang/lib/AST/CMakeLists.txt | 24 +-
external/bsd/llvm/dist/clang/lib/AST/Decl.cpp | 8 +-
external/bsd/llvm/dist/clang/lib/AST/DeclPrinter.cpp | 24 +-
external/bsd/llvm/dist/clang/lib/AST/DeclarationName.cpp | 2 +
external/bsd/llvm/dist/clang/lib/AST/Expr.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/AST/ExprConstant.cpp | 10 +-
external/bsd/llvm/dist/clang/lib/AST/ItaniumMangle.cpp | 12 +-
external/bsd/llvm/dist/clang/lib/AST/MicrosoftCXXABI.cpp | 6 +
external/bsd/llvm/dist/clang/lib/AST/MicrosoftMangle.cpp | 56 +-
external/bsd/llvm/dist/clang/lib/AST/RecordLayoutBuilder.cpp | 203 +-
external/bsd/llvm/dist/clang/lib/AST/Stmt.cpp | 79 +-
external/bsd/llvm/dist/clang/lib/AST/StmtPrinter.cpp | 44 +-
external/bsd/llvm/dist/clang/lib/AST/StmtProfile.cpp | 15 +-
external/bsd/llvm/dist/clang/lib/AST/Type.cpp | 4 +
external/bsd/llvm/dist/clang/lib/AST/TypePrinter.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/AST/VTableBuilder.cpp | 273 +-
external/bsd/llvm/dist/clang/lib/ASTMatchers/CMakeLists.txt | 13 +-
external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/CMakeLists.txt | 3 +-
external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/Registry.cpp | 1 +
external/bsd/llvm/dist/clang/lib/Analysis/AnalysisDeclContext.cpp | 10 +-
external/bsd/llvm/dist/clang/lib/Analysis/CFG.cpp | 91 +-
external/bsd/llvm/dist/clang/lib/Analysis/CFGReachabilityAnalysis.cpp | 3 +-
external/bsd/llvm/dist/clang/lib/Analysis/CMakeLists.txt | 13 +-
external/bsd/llvm/dist/clang/lib/Analysis/CallGraph.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/Analysis/ProgramPoint.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/Analysis/ReachableCode.cpp | 132 +-
external/bsd/llvm/dist/clang/lib/Analysis/ThreadSafety.cpp | 27 +-
external/bsd/llvm/dist/clang/lib/Analysis/UninitializedValues.cpp | 5 +
external/bsd/llvm/dist/clang/lib/Basic/CMakeLists.txt | 18 +-
external/bsd/llvm/dist/clang/lib/Basic/DiagnosticIDs.cpp | 15 +-
external/bsd/llvm/dist/clang/lib/Basic/FileManager.cpp | 153 +-
external/bsd/llvm/dist/clang/lib/Basic/FileSystemStatCache.cpp | 45 +-
external/bsd/llvm/dist/clang/lib/Basic/OpenMPKinds.cpp | 11 +
external/bsd/llvm/dist/clang/lib/Basic/SourceManager.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/Basic/Targets.cpp | 81 +-
external/bsd/llvm/dist/clang/lib/Basic/VirtualFileSystem.cpp | 832 +++
external/bsd/llvm/dist/clang/lib/CodeGen/BackendUtil.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGBuiltin.cpp | 2651 ++++-----
external/bsd/llvm/dist/clang/lib/CodeGen/CGCXXABI.cpp | 15 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGCXXABI.h | 16 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGCall.cpp | 24 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGDebugInfo.cpp | 50 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGExpr.cpp | 11 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGExprAgg.cpp | 4 -
external/bsd/llvm/dist/clang/lib/CodeGen/CGExprCXX.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGExprComplex.cpp | 4 -
external/bsd/llvm/dist/clang/lib/CodeGen/CGExprScalar.cpp | 10 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGObjC.cpp | 8 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGObjCGNU.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGObjCMac.cpp | 269 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGObjCRuntime.h | 3 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp | 1522 ++---
external/bsd/llvm/dist/clang/lib/CodeGen/CGStmt.cpp | 146 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CMakeLists.txt | 15 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenAction.cpp | 25 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenFunction.cpp | 41 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenFunction.h | 27 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenModule.cpp | 13 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenPGO.cpp | 419 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenPGO.h | 91 +-
external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenTypes.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/CodeGen/ItaniumCXXABI.cpp | 20 +-
external/bsd/llvm/dist/clang/lib/CodeGen/MicrosoftCXXABI.cpp | 156 +-
external/bsd/llvm/dist/clang/lib/CodeGen/TargetInfo.cpp | 44 +
external/bsd/llvm/dist/clang/lib/Driver/CMakeLists.txt | 10 +-
external/bsd/llvm/dist/clang/lib/Driver/Compilation.cpp | 3 +-
external/bsd/llvm/dist/clang/lib/Driver/Driver.cpp | 69 +-
external/bsd/llvm/dist/clang/lib/Driver/Job.cpp | 7 +
external/bsd/llvm/dist/clang/lib/Driver/Multilib.cpp | 360 +
external/bsd/llvm/dist/clang/lib/Driver/ToolChain.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/Driver/ToolChains.cpp | 587 +-
external/bsd/llvm/dist/clang/lib/Driver/ToolChains.h | 56 +-
external/bsd/llvm/dist/clang/lib/Driver/Tools.cpp | 642 +-
external/bsd/llvm/dist/clang/lib/Driver/Tools.h | 4 +
external/bsd/llvm/dist/clang/lib/Edit/CMakeLists.txt | 12 +-
external/bsd/llvm/dist/clang/lib/Format/CMakeLists.txt | 12 +-
external/bsd/llvm/dist/clang/lib/Format/TokenAnnotator.cpp | 12 +-
external/bsd/llvm/dist/clang/lib/Frontend/ASTUnit.cpp | 184 +-
external/bsd/llvm/dist/clang/lib/Frontend/CMakeLists.txt | 18 +-
external/bsd/llvm/dist/clang/lib/Frontend/CacheTokens.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/Frontend/ChainedIncludesSource.cpp | 22 +-
external/bsd/llvm/dist/clang/lib/Frontend/CompilerInstance.cpp | 70 +-
external/bsd/llvm/dist/clang/lib/Frontend/CompilerInvocation.cpp | 52 +-
external/bsd/llvm/dist/clang/lib/Frontend/DependencyFile.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Frontend/DependencyGraph.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Frontend/FrontendAction.cpp | 36 +-
external/bsd/llvm/dist/clang/lib/Frontend/FrontendActions.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Frontend/HeaderIncludeGen.cpp | 3 +-
external/bsd/llvm/dist/clang/lib/Frontend/InitPreprocessor.cpp | 8 +-
external/bsd/llvm/dist/clang/lib/Frontend/LogDiagnosticPrinter.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/Frontend/PrintPreprocessedOutput.cpp | 53 +-
external/bsd/llvm/dist/clang/lib/Frontend/TextDiagnostic.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/FrontendTool/CMakeLists.txt | 26 +-
external/bsd/llvm/dist/clang/lib/Headers/Intrin.h | 18 -
external/bsd/llvm/dist/clang/lib/Headers/float.h | 2 +-
external/bsd/llvm/dist/clang/lib/Headers/limits.h | 5 +-
external/bsd/llvm/dist/clang/lib/Headers/stdarg.h | 2 +-
external/bsd/llvm/dist/clang/lib/Headers/stddef.h | 10 +
external/bsd/llvm/dist/clang/lib/Headers/stdint.h | 3 +-
external/bsd/llvm/dist/clang/lib/Headers/xmmintrin.h | 2 +
external/bsd/llvm/dist/clang/lib/Index/CMakeLists.txt | 3 +-
external/bsd/llvm/dist/clang/lib/Index/USRGeneration.cpp | 47 +-
external/bsd/llvm/dist/clang/lib/Lex/CMakeLists.txt | 9 +-
external/bsd/llvm/dist/clang/lib/Lex/HeaderMap.cpp | 25 +-
external/bsd/llvm/dist/clang/lib/Lex/HeaderSearch.cpp | 86 +-
external/bsd/llvm/dist/clang/lib/Lex/Lexer.cpp | 153 +-
external/bsd/llvm/dist/clang/lib/Lex/LiteralSupport.cpp | 79 +-
external/bsd/llvm/dist/clang/lib/Lex/MacroInfo.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Lex/PPMacroExpansion.cpp | 10 +-
external/bsd/llvm/dist/clang/lib/Lex/PTHLexer.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/Lex/Pragma.cpp | 35 +-
external/bsd/llvm/dist/clang/lib/Lex/Preprocessor.cpp | 62 +-
external/bsd/llvm/dist/clang/lib/Lex/TokenLexer.cpp | 10 +-
external/bsd/llvm/dist/clang/lib/Parse/CMakeLists.txt | 15 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseDecl.cpp | 11 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseDeclCXX.cpp | 50 +-
external/bsd/llvm/dist/clang/lib/Parse/ParseOpenMP.cpp | 53 +-
external/bsd/llvm/dist/clang/lib/Parse/ParsePragma.cpp | 324 +-
external/bsd/llvm/dist/clang/lib/Parse/Parser.cpp | 123 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Core/CMakeLists.txt | 14 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Frontend/CMakeLists.txt | 14 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Frontend/FixItRewriter.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp | 78 +-
external/bsd/llvm/dist/clang/lib/Rewrite/Frontend/RewriteObjC.cpp | 43 +-
external/bsd/llvm/dist/clang/lib/Sema/AnalysisBasedWarnings.cpp | 11 +
external/bsd/llvm/dist/clang/lib/Sema/CMakeLists.txt | 22 +-
external/bsd/llvm/dist/clang/lib/Sema/DeclSpec.cpp | 28 +-
external/bsd/llvm/dist/clang/lib/Sema/Sema.cpp | 12 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaAttr.cpp | 43 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaChecking.cpp | 667 ++-
external/bsd/llvm/dist/clang/lib/Sema/SemaCodeComplete.cpp | 13 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaDecl.cpp | 151 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaDeclAttr.cpp | 196 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaDeclCXX.cpp | 115 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaDeclObjC.cpp | 16 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaExpr.cpp | 70 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaExprCXX.cpp | 8 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaExprObjC.cpp | 12 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaInit.cpp | 15 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaLambda.cpp | 11 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaLookup.cpp | 32 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaObjCProperty.cpp | 200 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaOpenMP.cpp | 75 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaOverload.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaTemplate.cpp | 1 -
external/bsd/llvm/dist/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 13 +-
external/bsd/llvm/dist/clang/lib/Sema/SemaType.cpp | 91 +-
external/bsd/llvm/dist/clang/lib/Sema/TreeTransform.h | 72 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTReader.cpp | 399 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTReaderDecl.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTReaderStmt.cpp | 35 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTWriter.cpp | 142 +-
external/bsd/llvm/dist/clang/lib/Serialization/ASTWriterStmt.cpp | 17 +-
external/bsd/llvm/dist/clang/lib/Serialization/CMakeLists.txt | 18 +-
external/bsd/llvm/dist/clang/lib/Serialization/ModuleManager.cpp | 10 +
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp | 3 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp | 25 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt | 12 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp | 46 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp | 13 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp | 50 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp | 86 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp | 16 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp | 17 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp | 51 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp | 8 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/Checkers.td | 8 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp | 17 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp | 21 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp | 346 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp | 47 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp | 36 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 235 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp | 14 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp | 29 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp | 1 -
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp | 15 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp | 27 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | 76 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp | 8 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp | 8 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp | 14 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp | 22 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/TaintTesterChecker.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp | 3 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp | 3 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp | 18 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp | 7 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp | 3 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp | 22 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/BugReporter.cpp | 28 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/CMakeLists.txt | 12 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/Checker.cpp | 19 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/CheckerRegistry.cpp | 1 +
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp | 9 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 17 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp | 4 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp | 5 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp | 2 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp | 6 +-
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt | 13 +-
external/bsd/llvm/dist/clang/lib/Tooling/CMakeLists.txt | 12 +-
external/bsd/llvm/dist/clang/runtime/CMakeLists.txt | 66 +-
external/bsd/llvm/dist/clang/test/Analysis/NewDeleteLeaks-PR18394.cpp | 16 +
external/bsd/llvm/dist/clang/test/Analysis/auto-obj-dtors-cfg-output.cpp | 16 +-
external/bsd/llvm/dist/clang/test/Analysis/casts.c | 3 +-
external/bsd/llvm/dist/clang/test/Analysis/cfg.cpp | 7 +-
external/bsd/llvm/dist/clang/test/Analysis/identical-expressions.cpp | 248 +
external/bsd/llvm/dist/clang/test/Analysis/inlining/path-notes.cpp | 6 +-
external/bsd/llvm/dist/clang/test/Analysis/malloc.c | 216 +
external/bsd/llvm/dist/clang/test/Analysis/misc-ps-region-store.cpp | 1 +
external/bsd/llvm/dist/clang/test/Analysis/no-outofbounds.c | 4 +-
external/bsd/llvm/dist/clang/test/Analysis/nonnull.m | 47 +-
external/bsd/llvm/dist/clang/test/Analysis/ptr-arith.c | 4 +-
external/bsd/llvm/dist/clang/test/Analysis/stackaddrleak.c | 4 +-
external/bsd/llvm/dist/clang/test/Analysis/superclass.m | 2 +-
external/bsd/llvm/dist/clang/test/Analysis/temp-obj-dtors-cfg-output.cpp | 93 +-
external/bsd/llvm/dist/clang/test/Analysis/weak-functions.c | 2 +-
external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.link/p2.cpp | 14 +
external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/p5-cxx0x.cpp | 32 +-
external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p2-0x.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/p7-0x.cpp | 3 +-
external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/p7-cxx11-nowarn.cpp | 3 +-
external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/p6-0x.cpp | 5 +-
external/bsd/llvm/dist/clang/test/CXX/drs/dr0xx.cpp | 5 +-
external/bsd/llvm/dist/clang/test/CXX/drs/dr1xx.cpp | 8 +-
external/bsd/llvm/dist/clang/test/CXX/drs/dr2xx.cpp | 27 +-
external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.unary.op/p6.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CXX/special/class.dtor/p9.cpp | 19 -
external/bsd/llvm/dist/clang/test/CodeCompletion/objc-message.mm | 46 +
external/bsd/llvm/dist/clang/test/CodeGen/2010-06-17-asmcrash.c | 3 +-
external/bsd/llvm/dist/clang/test/CodeGen/Inputs/instr-profile.pgodata | 67 +-
external/bsd/llvm/dist/clang/test/CodeGen/PR4611-bitfield-layout.c | 2 +-
external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-fma.c | 29 +
external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-ld-sideeffect.c | 14 +
external/bsd/llvm/dist/clang/test/CodeGen/arm-neon-vcvtX.c | 99 +
external/bsd/llvm/dist/clang/test/CodeGen/arm_neon_intrinsics.c | 24 +
external/bsd/llvm/dist/clang/test/CodeGen/bitfield-2.c | 8 +-
external/bsd/llvm/dist/clang/test/CodeGen/debug-info-block.c | 1 -
external/bsd/llvm/dist/clang/test/CodeGen/instr-profile.c | 221 +-
external/bsd/llvm/dist/clang/test/CodeGen/libcalls.c | 4 +-
external/bsd/llvm/dist/clang/test/CodeGen/ms_struct-bitfield.c | 76 +-
external/bsd/llvm/dist/clang/test/CodeGen/noduplicate-cxx11-test.cpp | 20 +
external/bsd/llvm/dist/clang/test/CodeGen/packed-nest-unpacked.c | 2 +-
external/bsd/llvm/dist/clang/test/CodeGen/packed-union.c | 4 +-
external/bsd/llvm/dist/clang/test/CodeGen/pragma-pack-1.c | 4 +-
external/bsd/llvm/dist/clang/test/CodeGen/pragma-pack-2.c | 3 +-
external/bsd/llvm/dist/clang/test/CodeGen/sparcv9-dwarf.c | 99 +
external/bsd/llvm/dist/clang/test/CodeGen/struct-x86-darwin.c | 20 +-
external/bsd/llvm/dist/clang/test/CodeGen/union.c | 13 +
external/bsd/llvm/dist/clang/test/CodeGen/volatile.c | 21 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp | 4 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/Inputs/instr-profile-throws.pgodata | 4 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/aarch64-mangle-neon-vectors.cpp | 4 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/abstract-class-ctors-dtors.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/bitfield-layout.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/class-layout.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp | 12 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/ctor-dtor-alias.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp | 6 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-namespace.cpp | 12 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-varargs.cpp | 22 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/extern-c.cpp | 9 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/inline-functions.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/instr-profile-throws.cpp | 18 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/int64_uint64.cpp | 25 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/linkage.cpp | 34 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-arg-qualifiers.cpp | 20 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-return-qualifiers.cpp | 6 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms.cpp | 8 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-byval-sret.cpp | 7 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-member-pointers.cpp | 38 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-structors.cpp | 75 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp | 7 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-single-inheritance.cpp | 31 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance-pr18967.cpp | 27 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp | 43 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-interface.cpp | 3 -
external/bsd/llvm/dist/clang/test/CodeGenCXX/new.cpp | 4 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/pr18962.cpp | 32 +
external/bsd/llvm/dist/clang/test/CodeGenCXX/pragma-pack-3.cpp | 3 +-
external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-layout-abi-examples.cpp | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/Inputs/instr-profile.profdata | 7 +
external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-foreach.m | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/arc.m | 4 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/block-var-layout.m | 8 +
external/bsd/llvm/dist/clang/test/CodeGenObjC/boxing.m | 24 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/complex-property.m | 4 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-property-synth.m | 28 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/encode-cstyle-method.m | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/encode-test-6.m | 8 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/encode-test.m | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/externally-initialized-selectors.m | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/instr-profile.m | 38 +
external/bsd/llvm/dist/clang/test/CodeGenObjC/interface-layout-64.m | 18 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/ivar-layout-64.m | 26 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/metadata-symbols-32.m | 46 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/metadata-symbols-64.m | 44 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/metadata_symbols.m | 4 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/non-lazy-classes.m | 4 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-align.m | 34 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-weak-block-call.m | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-weak-import-attribute.m | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/property-array-type.m | 30 +
external/bsd/llvm/dist/clang/test/CodeGenObjC/property-category-impl.m | 4 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/property-list-in-class.m | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjC/reorder-synthesized-ivars.m | 36 +-
external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-blocks.mm | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjCXX/encode.mm | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjCXX/externally-initialized-selectors.mm | 2 +-
external/bsd/llvm/dist/clang/test/CodeGenObjCXX/lambda-expressions.mm | 4 +-
external/bsd/llvm/dist/clang/test/Driver/aarch64-mfpu.c | 2 +
external/bsd/llvm/dist/clang/test/Driver/arm-mfpu.c | 15 +-
external/bsd/llvm/dist/clang/test/Driver/cl-fallback.c | 9 +-
external/bsd/llvm/dist/clang/test/Driver/cl-options.c | 29 +-
external/bsd/llvm/dist/clang/test/Driver/clang_f_opts.c | 11 +-
external/bsd/llvm/dist/clang/test/Driver/coverage-ld.c | 9 +
external/bsd/llvm/dist/clang/test/Driver/darwin-asan-nofortify.c | 4 +-
external/bsd/llvm/dist/clang/test/Driver/darwin-dsymutil.c | 3 +
external/bsd/llvm/dist/clang/test/Driver/debug-options.c | 6 +-
external/bsd/llvm/dist/clang/test/Driver/freebsd.c | 26 +-
external/bsd/llvm/dist/clang/test/Driver/integrated-as.c | 11 +
external/bsd/llvm/dist/clang/test/Driver/linux-ld.c | 40 +
external/bsd/llvm/dist/clang/test/Driver/mips-as.c | 14 +-
external/bsd/llvm/dist/clang/test/Driver/modules.m | 10 +
external/bsd/llvm/dist/clang/test/Driver/netbsd.c | 75 +-
external/bsd/llvm/dist/clang/test/Driver/netbsd.cpp | 40 +
external/bsd/llvm/dist/clang/test/Driver/no-integrated-as.c | 19 +
external/bsd/llvm/dist/clang/test/Driver/nostdincxx.cpp | 4 +-
external/bsd/llvm/dist/clang/test/Driver/openbsd.c | 6 +
external/bsd/llvm/dist/clang/test/Driver/ppc-features.cpp | 6 +
external/bsd/llvm/dist/clang/test/Driver/preprocess-multiple.c | 6 +
external/bsd/llvm/dist/clang/test/Driver/qa_override.c | 2 -
external/bsd/llvm/dist/clang/test/Driver/sanitize_unwind_tables.c | 11 +
external/bsd/llvm/dist/clang/test/Driver/sanitizer-ld.c | 2 +
external/bsd/llvm/dist/clang/test/Driver/unknown-gcc-arch.c | 2 +-
external/bsd/llvm/dist/clang/test/Driver/vfsoverlay.c | 5 +
external/bsd/llvm/dist/clang/test/Driver/visibility.cpp | 16 +-
external/bsd/llvm/dist/clang/test/Driver/xcore-opts.c | 22 +-
external/bsd/llvm/dist/clang/test/Frontend/backend-diagnostic.c | 8 +-
external/bsd/llvm/dist/clang/test/Headers/c11.c | 4 +
external/bsd/llvm/dist/clang/test/Index/annotate-comments-typedef.m | 2 +-
external/bsd/llvm/dist/clang/test/Index/comment-cplus-decls.cpp | 2 +-
external/bsd/llvm/dist/clang/test/Index/comment-cplus-template-decls.cpp | 2 +-
external/bsd/llvm/dist/clang/test/Index/comment-to-html-xml-conversion.cpp | 4 +-
external/bsd/llvm/dist/clang/test/Index/complete-property-flags.m | 12 +-
external/bsd/llvm/dist/clang/test/Index/crash-recovery-code-complete.c | 2 +-
external/bsd/llvm/dist/clang/test/Index/cxx11-lambdas.cpp | 4 +-
external/bsd/llvm/dist/clang/test/Index/index-refs.cpp | 2 +-
external/bsd/llvm/dist/clang/test/Index/pch-depending-on-deleted-module.c | 14 +
external/bsd/llvm/dist/clang/test/Index/print-type.cpp | 97 +-
external/bsd/llvm/dist/clang/test/Index/usrs.cpp | 14 +-
external/bsd/llvm/dist/clang/test/Index/usrs.m | 18 +-
external/bsd/llvm/dist/clang/test/Layout/ms-x86-basic-layout.cpp | 36 +-
external/bsd/llvm/dist/clang/test/Layout/ms-x86-empty-virtual-base.cpp | 73 +-
external/bsd/llvm/dist/clang/test/Layout/ms-x86-pack-and-align.cpp | 70 +-
external/bsd/llvm/dist/clang/test/Layout/ms-x86-primary-bases.cpp | 16 +-
external/bsd/llvm/dist/clang/test/Layout/ms-x86-vfvb-alignment.cpp | 12 +-
external/bsd/llvm/dist/clang/test/Layout/ms-x86-vtordisp.cpp | 122 +-
external/bsd/llvm/dist/clang/test/Lexer/cxx1y_digit_separators.cpp | 22 +
external/bsd/llvm/dist/clang/test/Misc/ast-dump-attr.cpp | 6 +-
external/bsd/llvm/dist/clang/test/Misc/ast-dump-color.cpp | 2 +-
external/bsd/llvm/dist/clang/test/Misc/ast-dump-decl.cpp | 2 +-
external/bsd/llvm/dist/clang/test/Modules/Inputs/macros_other.h | 7 +-
external/bsd/llvm/dist/clang/test/Modules/Inputs/macros_right.h | 2 +
external/bsd/llvm/dist/clang/test/Modules/Inputs/macros_right_undef.h | 3 +
external/bsd/llvm/dist/clang/test/Modules/Inputs/macros_top.h | 6 +
external/bsd/llvm/dist/clang/test/Modules/Inputs/module.map | 1 +
external/bsd/llvm/dist/clang/test/Modules/fatal-module-loader-error.m | 2 +-
external/bsd/llvm/dist/clang/test/Modules/fmodules-validate-once-per-build-session.c | 45 +
external/bsd/llvm/dist/clang/test/Modules/macros.c | 39 +-
external/bsd/llvm/dist/clang/test/Modules/macros2.c | 77 +
external/bsd/llvm/dist/clang/test/Modules/namespaces.cpp | 4 +-
external/bsd/llvm/dist/clang/test/OpenMP/parallel_ast_print.cpp | 12 +-
external/bsd/llvm/dist/clang/test/OpenMP/parallel_if_messages.cpp | 43 +
external/bsd/llvm/dist/clang/test/OpenMP/simd_ast_print.cpp | 75 +
external/bsd/llvm/dist/clang/test/OpenMP/simd_misc_messages.c | 73 +
external/bsd/llvm/dist/clang/test/PCH/macro-undef.cpp | 36 +
external/bsd/llvm/dist/clang/test/PCH/objc_container.m | 4 +-
external/bsd/llvm/dist/clang/test/Parser/cxx-reference.cpp | 2 +-
external/bsd/llvm/dist/clang/test/Parser/cxx0x-rvalue-reference.cpp | 2 +-
external/bsd/llvm/dist/clang/test/Parser/cxx11-user-defined-literals.cpp | 34 +-
external/bsd/llvm/dist/clang/test/Parser/diag-crash.c | 6 +
external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/headermap-rel/Foo.framework/Headers/Foo.h | 2 +
external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/headermap-rel/foo.hmap | Bin
external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/microsoft-header-search/a/b/include3.h | 4 +-
external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/microsoft-header-search/falsepos.h | 3 +
external/bsd/llvm/dist/clang/test/Preprocessor/aarch64-target-features.c | 4 +-
external/bsd/llvm/dist/clang/test/Preprocessor/arm-target-features.c | 2 +-
external/bsd/llvm/dist/clang/test/Preprocessor/headermap-rel.c | 10 +
external/bsd/llvm/dist/clang/test/Preprocessor/init.c | 126 +-
external/bsd/llvm/dist/clang/test/Preprocessor/macro_expand_empty.c | 9 +-
external/bsd/llvm/dist/clang/test/Preprocessor/microsoft-header-search.c | 2 +
external/bsd/llvm/dist/clang/test/Preprocessor/print-pragma-microsoft.c | 20 +
external/bsd/llvm/dist/clang/test/Preprocessor/x86_target_features.c | 10 +-
external/bsd/llvm/dist/clang/test/Rewriter/dllimport-typedef.c | 2 +-
external/bsd/llvm/dist/clang/test/Rewriter/no-integrated-preprocessing.m | 4 +-
external/bsd/llvm/dist/clang/test/Sema/Inputs/warn-unreachable.h | 7 +
external/bsd/llvm/dist/clang/test/Sema/aarch64-neon-ranges.c | 217 +
external/bsd/llvm/dist/clang/test/Sema/attr-aligned.c | 7 +
external/bsd/llvm/dist/clang/test/Sema/attr-capabilities.c | 57 +
external/bsd/llvm/dist/clang/test/Sema/attr-noduplicate.c | 8 +
external/bsd/llvm/dist/clang/test/Sema/bitfield-layout.c | 15 +
external/bsd/llvm/dist/clang/test/Sema/const-eval.c | 2 +-
external/bsd/llvm/dist/clang/test/Sema/decl-in-prototype.c | 4 +-
external/bsd/llvm/dist/clang/test/Sema/dllexport.c | 113 +
external/bsd/llvm/dist/clang/test/Sema/dllimport.c | 72 +
external/bsd/llvm/dist/clang/test/Sema/format-strings.c | 15 +
external/bsd/llvm/dist/clang/test/Sema/ms_class_layout.cpp | 18 +-
external/bsd/llvm/dist/clang/test/Sema/return.c | 7 +
external/bsd/llvm/dist/clang/test/Sema/static-init.c | 2 +-
external/bsd/llvm/dist/clang/test/Sema/warn-absolute-value-header.c | 36 +
external/bsd/llvm/dist/clang/test/Sema/warn-absolute-value.c | 782 ++
external/bsd/llvm/dist/clang/test/Sema/warn-null.c | 4 +-
external/bsd/llvm/dist/clang/test/Sema/warn-unreachable.c | 66 +-
external/bsd/llvm/dist/clang/test/SemaCXX/alias-template.cpp | 2 +-
external/bsd/llvm/dist/clang/test/SemaCXX/ast-print.cpp | 25 +-
external/bsd/llvm/dist/clang/test/SemaCXX/constant-expression-cxx11.cpp | 2 +-
external/bsd/llvm/dist/clang/test/SemaCXX/constant-expression.cpp | 8 +
external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-attr-print.cpp | 3 -
external/bsd/llvm/dist/clang/test/SemaCXX/decltype.cpp | 10 +
external/bsd/llvm/dist/clang/test/SemaCXX/dllexport.cpp | 189 +
external/bsd/llvm/dist/clang/test/SemaCXX/dllimport.cpp | 131 +
external/bsd/llvm/dist/clang/test/SemaCXX/enable_if.cpp | 7 +
external/bsd/llvm/dist/clang/test/SemaCXX/member-pointer-ms.cpp | 53 +-
external/bsd/llvm/dist/clang/test/SemaCXX/microsoft-dtor-lookup.cpp | 9 +-
external/bsd/llvm/dist/clang/test/SemaCXX/ms_struct.cpp | 26 +-
external/bsd/llvm/dist/clang/test/SemaCXX/null_in_arithmetic_ops.cpp | 2 +-
external/bsd/llvm/dist/clang/test/SemaCXX/nullptr_in_arithmetic_ops.cpp | 2 +-
external/bsd/llvm/dist/clang/test/SemaCXX/pragma-vtordisp.cpp | 40 +
external/bsd/llvm/dist/clang/test/SemaCXX/references.cpp | 12 +-
external/bsd/llvm/dist/clang/test/SemaCXX/switch-implicit-fallthrough.cpp | 13 +
external/bsd/llvm/dist/clang/test/SemaCXX/trailing-return-0x.cpp | 4 +-
external/bsd/llvm/dist/clang/test/SemaCXX/typo-correction-pt2.cpp | 20 +
external/bsd/llvm/dist/clang/test/SemaCXX/undefined-internal.cpp | 4 +-
external/bsd/llvm/dist/clang/test/SemaCXX/vararg-class.cpp | 48 +
external/bsd/llvm/dist/clang/test/SemaCXX/vtordisp-mode.cpp | 26 +
external/bsd/llvm/dist/clang/test/SemaCXX/warn-absolute-value-header.cpp | 37 +
external/bsd/llvm/dist/clang/test/SemaCXX/warn-bool-conversion.cpp | 96 +
external/bsd/llvm/dist/clang/test/SemaCXX/warn-tautological-compare.cpp | 111 +
external/bsd/llvm/dist/clang/test/SemaCXX/warn-thread-safety-parsing.cpp | 32 +-
external/bsd/llvm/dist/clang/test/SemaObjC/format-strings-objc.m | 3 +
external/bsd/llvm/dist/clang/test/SemaObjC/property-inherited.m | 26 +
external/bsd/llvm/dist/clang/test/SemaObjC/protocols-suppress-conformance.m | 47 +-
external/bsd/llvm/dist/clang/test/SemaOpenCL/func_ptr.cl | 16 +
external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-enum.cpp | 15 +
external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-local-class.cpp | 15 +-
external/bsd/llvm/dist/clang/test/SemaTemplate/resolve-single-template-id.cpp | 16 +-
external/bsd/llvm/dist/clang/test/Unit/lit.cfg | 24 +-
external/bsd/llvm/dist/clang/test/Unit/lit.site.cfg.in | 1 -
external/bsd/llvm/dist/clang/test/VFS/Inputs/actual_header.h | 1 +
external/bsd/llvm/dist/clang/test/VFS/Inputs/actual_module.map | 4 +
external/bsd/llvm/dist/clang/test/VFS/Inputs/external-names.h | 4 +
external/bsd/llvm/dist/clang/test/VFS/Inputs/include_real.h | 1 +
external/bsd/llvm/dist/clang/test/VFS/Inputs/invalid-yaml.yaml | 4 +
external/bsd/llvm/dist/clang/test/VFS/Inputs/missing-key.yaml | 4 +
external/bsd/llvm/dist/clang/test/VFS/Inputs/public_header.h | 1 +
external/bsd/llvm/dist/clang/test/VFS/Inputs/unknown-key.yaml | 5 +
external/bsd/llvm/dist/clang/test/VFS/Inputs/unknown-value.yaml | 5 +
external/bsd/llvm/dist/clang/test/VFS/Inputs/use-external-names.yaml | 7 +
external/bsd/llvm/dist/clang/test/VFS/Inputs/vfsoverlay.yaml | 21 +
external/bsd/llvm/dist/clang/test/VFS/external-names.c | 35 +
external/bsd/llvm/dist/clang/test/VFS/framework-import.m | 9 +
external/bsd/llvm/dist/clang/test/VFS/implicit-include.c | 7 +
external/bsd/llvm/dist/clang/test/VFS/include-mixed-real-and-virtual.c | 14 +
external/bsd/llvm/dist/clang/test/VFS/include-real-from-virtual.c | 12 +
external/bsd/llvm/dist/clang/test/VFS/include-virtual-from-real.c | 12 +
external/bsd/llvm/dist/clang/test/VFS/include.c | 9 +
external/bsd/llvm/dist/clang/test/VFS/module-import.m | 10 +
external/bsd/llvm/dist/clang/test/VFS/parse-errors.c | 14 +
external/bsd/llvm/dist/clang/test/lit.cfg | 18 +
external/bsd/llvm/dist/clang/tools/c-index-test/c-index-test.c | 268 +-
external/bsd/llvm/dist/clang/tools/clang-format/ClangFormat.cpp | 7 +-
external/bsd/llvm/dist/clang/tools/diagtool/CMakeLists.txt | 4 -
external/bsd/llvm/dist/clang/tools/diagtool/ShowEnabledWarnings.cpp | 1 +
external/bsd/llvm/dist/clang/tools/driver/cc1as_main.cpp | 2 +-
external/bsd/llvm/dist/clang/tools/driver/driver.cpp | 6 +-
external/bsd/llvm/dist/clang/tools/libclang/BuildSystem.cpp | 195 +
external/bsd/llvm/dist/clang/tools/libclang/CIndex.cpp | 166 +-
external/bsd/llvm/dist/clang/tools/libclang/CIndexDiagnostic.cpp | 8 +-
external/bsd/llvm/dist/clang/tools/libclang/CMakeLists.txt | 86 +-
external/bsd/llvm/dist/clang/tools/libclang/CXCursor.cpp | 6 +-
external/bsd/llvm/dist/clang/tools/libclang/CXStoredDiagnostic.cpp | 1 +
external/bsd/llvm/dist/clang/tools/libclang/CXTranslationUnit.h | 4 +
external/bsd/llvm/dist/clang/tools/libclang/CXType.cpp | 34 +
external/bsd/llvm/dist/clang/tools/libclang/Indexing.cpp | 38 +-
external/bsd/llvm/dist/clang/tools/libclang/Makefile | 7 -
external/bsd/llvm/dist/clang/tools/libclang/libclang.exports | 9 +
external/bsd/llvm/dist/clang/tools/scan-build/ccc-analyzer | 84 +-
external/bsd/llvm/dist/clang/tools/scan-build/scan-build | 353 +-
external/bsd/llvm/dist/clang/tools/scan-build/scan-build.1 | 4 +-
external/bsd/llvm/dist/clang/tools/scan-build/scanview.css | 6 +-
external/bsd/llvm/dist/clang/tools/scan-build/set-xcode-analyzer | 11 +-
external/bsd/llvm/dist/clang/tools/scan-build/sorttable.js | 55 +-
external/bsd/llvm/dist/clang/unittests/AST/DeclPrinterTest.cpp | 49 +-
external/bsd/llvm/dist/clang/unittests/AST/SourceLocationTest.cpp | 10 +
external/bsd/llvm/dist/clang/unittests/AST/StmtPrinterTest.cpp | 56 +-
external/bsd/llvm/dist/clang/unittests/ASTMatchers/ASTMatchersTest.cpp | 66 +-
external/bsd/llvm/dist/clang/unittests/Basic/CMakeLists.txt | 1 +
external/bsd/llvm/dist/clang/unittests/Basic/FileManagerTest.cpp | 11 +-
external/bsd/llvm/dist/clang/unittests/Basic/VirtualFileSystemTest.cpp | 579 ++
external/bsd/llvm/dist/clang/unittests/CMakeLists.txt | 4 +
external/bsd/llvm/dist/clang/unittests/Driver/CMakeLists.txt | 11 +
external/bsd/llvm/dist/clang/unittests/Driver/Makefile | 16 +
external/bsd/llvm/dist/clang/unittests/Driver/MultilibTest.cpp | 356 +
external/bsd/llvm/dist/clang/unittests/Format/FormatTest.cpp | 24 +-
external/bsd/llvm/dist/clang/unittests/Makefile | 2 +-
external/bsd/llvm/dist/clang/unittests/libclang/CMakeLists.txt | 7 +
external/bsd/llvm/dist/clang/unittests/libclang/LibclangTest.cpp | 141 +
external/bsd/llvm/dist/clang/unittests/libclang/Makefile | 27 +
external/bsd/llvm/dist/clang/utils/TableGen/ClangAttrEmitter.cpp | 251 +-
external/bsd/llvm/dist/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp | 13 +
external/bsd/llvm/dist/clang/utils/TableGen/NeonEmitter.cpp | 378 +-
external/bsd/llvm/dist/clang/utils/TableGen/TableGen.cpp | 8 +-
external/bsd/llvm/dist/clang/utils/TableGen/TableGenBackends.h | 2 +
external/bsd/llvm/dist/clang/www/analyzer/latest_checker.html.incl | 2 +-
external/bsd/llvm/dist/clang/www/analyzer/release_notes.html | 12 +
external/bsd/llvm/dist/clang/www/cxx_dr_status.html | 4 +-
external/bsd/llvm/dist/clang/www/cxx_status.html | 12 +-
647 files changed, 23800 insertions(+), 9618 deletions(-)
diffs (truncated from 53424 to 300 lines):
diff -r ca59e7a63c3a -r ee115e7ef02c external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_translation_unit.py
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_translation_unit.py Tue Mar 04 19:41:04 2014 +0000
+++ b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_translation_unit.py Tue Mar 04 19:53:10 2014 +0000
@@ -1,5 +1,6 @@
import gc
import os
+import tempfile
from clang.cindex import CursorKind
from clang.cindex import Cursor
@@ -93,15 +94,7 @@
Returns the filename it was saved to.
"""
-
- # FIXME Generate a temp file path using system APIs.
- base = 'TEMP_FOR_TRANSLATIONUNIT_SAVE.c'
- path = os.path.join(kInputsDir, base)
-
- # Just in case.
- if os.path.exists(path):
- os.unlink(path)
-
+ _, path = tempfile.mkstemp()
tu.save(path)
return path
diff -r ca59e7a63c3a -r ee115e7ef02c external/bsd/llvm/dist/clang/docs/AttributeReference.rst
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/llvm/dist/clang/docs/AttributeReference.rst Tue Mar 04 19:53:10 2014 +0000
@@ -0,0 +1,1020 @@
+..
+ -------------------------------------------------------------------
+ NOTE: This file is automatically generated by running clang-tblgen
+ -gen-attr-docs. Do not edit this file by hand!!
+ -------------------------------------------------------------------
+
+===================
+Attributes in Clang
+===================
+.. contents::
+ :local:
+
+Introduction
+============
+
+This page lists the attributes currently supported by Clang.
+
+Function Attributes
+===================
+
+
+interrupt
+---------
+.. csv-table:: Supported Syntaxes
+ :header: "GNU", "C++11", "__declspec", "Keyword"
+
+ "X","","",""
+
+Clang supports the GNU style ``__attribute__((interrupt("TYPE")))`` attribute on
+ARM targets. This attribute may be attached to a function definition and
+instructs the backend to generate appropriate function entry/exit code so that
+it can be used directly as an interrupt service routine.
+
+The parameter passed to the interrupt attribute is optional, but if
+provided it must be a string literal with one of the following values: "IRQ",
+"FIQ", "SWI", "ABORT", "UNDEF".
+
+The semantics are as follows:
+
+- If the function is AAPCS, Clang instructs the backend to realign the stack to
+ 8 bytes on entry. This is a general requirement of the AAPCS at public
+ interfaces, but may not hold when an exception is taken. Doing this allows
+ other AAPCS functions to be called.
+- If the CPU is M-class this is all that needs to be done since the architecture
+ itself is designed in such a way that functions obeying the normal AAPCS ABI
+ constraints are valid exception handlers.
+- If the CPU is not M-class, the prologue and epilogue are modified to save all
+ non-banked registers that are used, so that upon return the user-mode state
+ will not be corrupted. Note that to avoid unnecessary overhead, only
+ general-purpose (integer) registers are saved in this way. If VFP operations
+ are needed, that state must be saved manually.
+
+ Specifically, interrupt kinds other than "FIQ" will save all core registers
+ except "lr" and "sp". "FIQ" interrupts will save r0-r7.
+- If the CPU is not M-class, the return instruction is changed to one of the
+ canonical sequences permitted by the architecture for exception return. Where
+ possible the function itself will make the necessary "lr" adjustments so that
+ the "preferred return address" is selected.
+
+ Unfortunately the compiler is unable to make this guarantee for an "UNDEF"
+ handler, where the offset from "lr" to the preferred return address depends on
+ the execution state of the code which generated the exception. In this case
+ a sequence equivalent to "movs pc, lr" will be used.
+
+
+acquire_capability (acquire_shared_capability, clang::acquire_capability, clang::acquire_shared_capability)
+-----------------------------------------------------------------------------------------------------------
+.. csv-table:: Supported Syntaxes
+ :header: "GNU", "C++11", "__declspec", "Keyword"
+
+ "X","X","",""
+
+Marks a function as acquiring a capability.
+
+
+assert_capability (assert_shared_capability, clang::assert_capability, clang::assert_shared_capability)
+-------------------------------------------------------------------------------------------------------
+.. csv-table:: Supported Syntaxes
+ :header: "GNU", "C++11", "__declspec", "Keyword"
+
+ "X","X","",""
+
+Marks a function that dynamically tests whether a capability is held, and halts
+the program if it is not held.
+
+
+availability
+------------
+.. csv-table:: Supported Syntaxes
+ :header: "GNU", "C++11", "__declspec", "Keyword"
+
+ "X","","",""
+
+The ``availability`` attribute can be placed on declarations to describe the
+lifecycle of that declaration relative to operating system versions. Consider
+the function declaration for a hypothetical function ``f``:
+
+.. code-block:: c++
+
+ void f(void) __attribute__((availability(macosx,introduced=10.4,deprecated=10.6,obsoleted=10.7)));
+
+The availability attribute states that ``f`` was introduced in Mac OS X 10.4,
+deprecated in Mac OS X 10.6, and obsoleted in Mac OS X 10.7. This information
+is used by Clang to determine when it is safe to use ``f``: for example, if
+Clang is instructed to compile code for Mac OS X 10.5, a call to ``f()``
+succeeds. If Clang is instructed to compile code for Mac OS X 10.6, the call
+succeeds but Clang emits a warning specifying that the function is deprecated.
+Finally, if Clang is instructed to compile code for Mac OS X 10.7, the call
+fails because ``f()`` is no longer available.
+
+The availability attribute is a comma-separated list starting with the
+platform name and then including clauses specifying important milestones in the
+declaration's lifetime (in any order) along with additional information. Those
+clauses can be:
+
+introduced=\ *version*
+ The first version in which this declaration was introduced.
+
+deprecated=\ *version*
+ The first version in which this declaration was deprecated, meaning that
+ users should migrate away from this API.
+
+obsoleted=\ *version*
+ The first version in which this declaration was obsoleted, meaning that it
+ was removed completely and can no longer be used.
+
+unavailable
+ This declaration is never available on this platform.
+
+message=\ *string-literal*
+ Additional message text that Clang will provide when emitting a warning or
+ error about use of a deprecated or obsoleted declaration. Useful to direct
+ users to replacement APIs.
+
+Multiple availability attributes can be placed on a declaration, which may
+correspond to different platforms. Only the availability attribute with the
+platform corresponding to the target platform will be used; any others will be
+ignored. If no availability attribute specifies availability for the current
+target platform, the availability attributes are ignored. Supported platforms
+are:
+
+``ios``
+ Apple's iOS operating system. The minimum deployment target is specified by
+ the ``-mios-version-min=*version*`` or ``-miphoneos-version-min=*version*``
+ command-line arguments.
+
+``macosx``
+ Apple's Mac OS X operating system. The minimum deployment target is
+ specified by the ``-mmacosx-version-min=*version*`` command-line argument.
+
+A declaration can be used even when deploying back to a platform version prior
+to when the declaration was introduced. When this happens, the declaration is
+`weakly linked
+<https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html>`_,
+as if the ``weak_import`` attribute were added to the declaration. A
+weakly-linked declaration may or may not be present a run-time, and a program
+can determine whether the declaration is present by checking whether the
+address of that declaration is non-NULL.
+
+If there are multiple declarations of the same entity, the availability
+attributes must either match on a per-platform basis or later
+declarations must not have availability attributes for that
+platform. For example:
+
+.. code-block:: c
+
+ void g(void) __attribute__((availability(macosx,introduced=10.4)));
+ void g(void) __attribute__((availability(macosx,introduced=10.4))); // okay, matches
+ void g(void) __attribute__((availability(ios,introduced=4.0))); // okay, adds a new platform
+ void g(void); // okay, inherits both macosx and ios availability from above.
+ void g(void) __attribute__((availability(macosx,introduced=10.5))); // error: mismatch
+
+When one method overrides another, the overriding method can be more widely available than the overridden method, e.g.,:
+
+.. code-block:: objc
+
+ @interface A
+ - (id)method __attribute__((availability(macosx,introduced=10.4)));
+ - (id)method2 __attribute__((availability(macosx,introduced=10.4)));
+ @end
+
+ @interface B : A
+ - (id)method __attribute__((availability(macosx,introduced=10.3))); // okay: method moved into base class later
+ - (id)method __attribute__((availability(macosx,introduced=10.5))); // error: this method was available via the base class in 10.4
+ @end
+
+
+_Noreturn
+---------
+.. csv-table:: Supported Syntaxes
+ :header: "GNU", "C++11", "__declspec", "Keyword"
+
+ "","","","X"
+
+A function declared as ``_Noreturn`` shall not return to its caller. The
+compiler will generate a diagnostic for a function declared as ``_Noreturn``
+that appears to be capable of returning to its caller.
+
+
+noreturn
+--------
+.. csv-table:: Supported Syntaxes
+ :header: "GNU", "C++11", "__declspec", "Keyword"
+
+ "","X","",""
+
+A function declared as ``[[noreturn]]`` shall not return to its caller. The
+compiler will generate a diagnostic for a function declared as ``[[noreturn]]``
+that appears to be capable of returning to its caller.
+
+
+carries_dependency
+------------------
+.. csv-table:: Supported Syntaxes
+ :header: "GNU", "C++11", "__declspec", "Keyword"
+
+ "X","X","",""
+
+The ``carries_dependency`` attribute specifies dependency propagation into and
+out of functions.
+
+When specified on a function or Objective-C method, the ``carries_depedency``
+attribute means that the return value carries a dependency out of the function,
+so that the implementation need not constrain ordering upon return from that
+function. Implementations of the function and its caller may choose to preserve
+dependencies instead of emitting memory ordering instructions such as fences.
+
+Note, this attribute does not change the meaning of the program, but may result
+in generatation of more efficient code.
+
+
+enable_if
+---------
+.. csv-table:: Supported Syntaxes
+ :header: "GNU", "C++11", "__declspec", "Keyword"
+
+ "X","","",""
+
+The ``enable_if`` attribute can be placed on function declarations to control
+which overload is selected based on the values of the function's arguments.
+When combined with the ``overloadable`` attribute, this feature is also
+available in C.
+
+.. code-block:: c++
+
+ int isdigit(int c);
+ int isdigit(int c) __attribute__((enable_if(c <= -1 || c > 255, "chosen when 'c' is out of range"))) __attribute__((unavailable("'c' must have the value of an unsigned char or EOF")));
+
+ void foo(char c) {
+ isdigit(c);
+ isdigit(10);
+ isdigit(-10); // results in a compile-time error.
+ }
+
+The enable_if attribute takes two arguments, the first is an expression written
+in terms of the function parameters, the second is a string explaining why this
+overload candidate could not be selected to be displayed in diagnostics. The
+expression is part of the function signature for the purposes of determining
+whether it is a redeclaration (following the rules used when determining
+whether a C++ template specialization is ODR-equivalent), but is not part of
+the type.
+
+The enable_if expression is evaluated as if it were the body of a
+bool-returning constexpr function declared with the arguments of the function
+it is being applied to, then called with the parameters at the callsite. If the
+result is false or could not be determined through constant expression
+evaluation, then this overload will not be chosen and the provided string may
+be used in a diagnostic if the compile fails as a result.
+
Home |
Main Index |
Thread Index |
Old Index