svn commit: r221339 - in vendor/clang/dist: . docs docs/tools
examples examples/Tooling examples/clang-interpreter
include/clang include/clang-c include/clang/AST
include/clang/Analysis include/cla...
Dimitry Andric
dim at FreeBSD.org
Mon May 2 19:39:55 UTC 2011
Author: dim
Date: Mon May 2 19:39:53 2011
New Revision: 221339
URL: http://svn.freebsd.org/changeset/base/221339
Log:
Vendor import of clang trunk r130700:
http://llvm.org/svn/llvm-project/cfe/trunk@130700
Added:
vendor/clang/dist/examples/Tooling/
vendor/clang/dist/examples/Tooling/CMakeLists.txt
vendor/clang/dist/examples/Tooling/ClangCheck.cpp
vendor/clang/dist/examples/Tooling/Makefile
vendor/clang/dist/include/clang/Basic/AddressSpaces.h
vendor/clang/dist/include/clang/Basic/BuiltinsPTX.def
vendor/clang/dist/include/clang/Basic/ExceptionSpecificationType.h
vendor/clang/dist/include/clang/Basic/ExpressionTraits.h
vendor/clang/dist/include/clang/Basic/OpenCL.h
vendor/clang/dist/include/clang/Basic/VersionTuple.h
vendor/clang/dist/include/clang/Frontend/LogDiagnosticPrinter.h
vendor/clang/dist/include/clang/Serialization/ChainedIncludesSource.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/Checker.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h
vendor/clang/dist/include/clang/Tooling/
vendor/clang/dist/include/clang/Tooling/Tooling.h
vendor/clang/dist/lib/AST/ExternalASTSource.cpp
vendor/clang/dist/lib/Basic/VersionTuple.cpp
vendor/clang/dist/lib/CodeGen/CGObjCRuntime.cpp
vendor/clang/dist/lib/Frontend/CreateInvocationFromCommandLine.cpp
vendor/clang/dist/lib/Frontend/LogDiagnosticPrinter.cpp
vendor/clang/dist/lib/Headers/mm3dnow.h
vendor/clang/dist/lib/Sema/DelayedDiagnostic.cpp
vendor/clang/dist/lib/Sema/Scope.cpp
vendor/clang/dist/lib/Serialization/ChainedIncludesSource.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/IteratorsChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/CheckerContext.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/ExprEngine.cpp
vendor/clang/dist/lib/Tooling/
vendor/clang/dist/lib/Tooling/CMakeLists.txt
vendor/clang/dist/lib/Tooling/JsonCompileCommandLineDatabase.cpp
vendor/clang/dist/lib/Tooling/JsonCompileCommandLineDatabase.h
vendor/clang/dist/lib/Tooling/Makefile
vendor/clang/dist/lib/Tooling/Tooling.cpp
vendor/clang/dist/runtime/compiler-rt/
vendor/clang/dist/runtime/compiler-rt/Makefile
vendor/clang/dist/test/AST/
vendor/clang/dist/test/Analysis/OSAtomic_mac.cpp
vendor/clang/dist/test/Analysis/PR9741.cpp
vendor/clang/dist/test/Analysis/iterators.cpp
vendor/clang/dist/test/Analysis/method-arg-decay.m
vendor/clang/dist/test/Analysis/nullptr.cpp
vendor/clang/dist/test/Analysis/variadic-method-types.m
vendor/clang/dist/test/CXX/basic/basic.scope/basic.scope.local/p4-0x.cpp
vendor/clang/dist/test/CXX/basic/basic.scope/basic.scope.pdecl/p3.cpp
vendor/clang/dist/test/CXX/class/class.mem/p2.cpp
vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/p3-0x.cpp
vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p2-0x.cpp
vendor/clang/dist/test/CXX/dcl.decl/dcl.init/dcl.init.string/p2.cpp
vendor/clang/dist/test/CXX/except/except.spec/p1.cpp
vendor/clang/dist/test/CXX/except/except.spec/p11.cpp
vendor/clang/dist/test/CXX/except/except.spec/p15.cpp
vendor/clang/dist/test/CXX/except/except.spec/p2-dynamic-types.cpp
vendor/clang/dist/test/CXX/except/except.spec/p2-places.cpp
vendor/clang/dist/test/CXX/except/except.spec/p3.cpp
vendor/clang/dist/test/CXX/except/except.spec/p5-pointers.cpp
vendor/clang/dist/test/CXX/except/except.spec/p5-virtual.cpp
vendor/clang/dist/test/CXX/except/except.spec/p9-dynamic.cpp
vendor/clang/dist/test/CXX/except/except.spec/p9-noexcept.cpp
vendor/clang/dist/test/CXX/except/except.spec/template.cpp
vendor/clang/dist/test/CXX/lex/lex.pptoken/p3-0x.cpp
vendor/clang/dist/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp
vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p3-0x.cpp
vendor/clang/dist/test/CodeCompletion/PR9728.cpp
vendor/clang/dist/test/CodeGen/arm-clear.c
vendor/clang/dist/test/CodeGen/arm-pcs.c
vendor/clang/dist/test/CodeGen/arm-vector-align.c
vendor/clang/dist/test/CodeGen/attr-availability.c
vendor/clang/dist/test/CodeGen/block-byref-aggr.c
vendor/clang/dist/test/CodeGen/builtins-ptx.c
vendor/clang/dist/test/CodeGen/debug-info-line2.c
vendor/clang/dist/test/CodeGen/mmx-inline-asm.c
vendor/clang/dist/test/CodeGen/mrtd.c
vendor/clang/dist/test/CodeGen/ms_struct-bitfield-init.c
vendor/clang/dist/test/CodeGen/ms_struct-bitfield.c
vendor/clang/dist/test/CodeGen/packed-arrays.c
vendor/clang/dist/test/CodeGen/ptx-cc.c
vendor/clang/dist/test/CodeGen/switch-dce.c
vendor/clang/dist/test/CodeGen/x86_64-arguments-darwin.c
vendor/clang/dist/test/CodeGenCXX/apple-kext-guard-variable.cpp
vendor/clang/dist/test/CodeGenCXX/cxx0x-delegating-ctors.cpp
vendor/clang/dist/test/CodeGenCXX/debug-info-cxx0x.cpp
vendor/clang/dist/test/CodeGenCXX/debug-info-fn-template.cpp
vendor/clang/dist/test/CodeGenCXX/debug-info-method-spec.cpp
vendor/clang/dist/test/CodeGenCXX/debug-info-this.cpp
vendor/clang/dist/test/CodeGenCXX/dynamic-cast-always-null.cpp
vendor/clang/dist/test/CodeGenCXX/for-range-temporaries.cpp
vendor/clang/dist/test/CodeGenCXX/for-range.cpp
vendor/clang/dist/test/CodeGenCXX/typeid.cpp
vendor/clang/dist/test/CodeGenCXX/unknown-anytype.cpp
vendor/clang/dist/test/CodeGenObjC/attr-availability.m
vendor/clang/dist/test/CodeGenObjC/debug-info-property.m
vendor/clang/dist/test/CodeGenObjC/instance-method-metadata.m
vendor/clang/dist/test/CodeGenObjC/misc-atomic-property.m
vendor/clang/dist/test/CodeGenObjC/no-vararg-messaging.m
vendor/clang/dist/test/CodeGenObjC/simplify-exceptions.mm
vendor/clang/dist/test/CodeGenObjCXX/message-reference.mm
vendor/clang/dist/test/CodeGenObjCXX/property-reference.mm
vendor/clang/dist/test/CodeGenOpenCL/2011-04-15-vec-init-from-vec.cl
vendor/clang/dist/test/CodeGenOpenCL/address-spaces.cl
vendor/clang/dist/test/Driver/apple-kext-i386.cpp
vendor/clang/dist/test/Driver/cc-log-diagnostics.c
vendor/clang/dist/test/Driver/clang-exception-flags.cpp
vendor/clang/dist/test/Driver/clang_wrapv_opts.c
vendor/clang/dist/test/Driver/exceptions.m
vendor/clang/dist/test/FixIt/no-macro-fixit.c
vendor/clang/dist/test/Frontend/dependency-generation-crash.c
vendor/clang/dist/test/Frontend/diagnostic-name.c
vendor/clang/dist/test/Index/annotate-context-sensitive.cpp
vendor/clang/dist/test/Index/initializer-memory.cpp
vendor/clang/dist/test/Index/pragma-diag-reparse.c
vendor/clang/dist/test/Misc/Inputs/include.h
vendor/clang/dist/test/Misc/include-stack-for-note-flag.cpp
vendor/clang/dist/test/Misc/warn-in-system-header.c
vendor/clang/dist/test/Misc/warn-in-system-header.h
vendor/clang/dist/test/PCH/Inputs/working-directory-1.h
vendor/clang/dist/test/PCH/chain-empty-initial-namespace.cpp
vendor/clang/dist/test/PCH/chain-implicit-definition.cpp
vendor/clang/dist/test/PCH/chain-late-anonymous-namespace.cpp
vendor/clang/dist/test/PCH/chain-pending-instantiations.cpp
vendor/clang/dist/test/PCH/cxx-chain-function-template.cpp
vendor/clang/dist/test/PCH/cxx-for-range.cpp
vendor/clang/dist/test/PCH/cxx-for-range.h
vendor/clang/dist/test/PCH/cxx-reference.cpp
vendor/clang/dist/test/PCH/cxx-reference.h
vendor/clang/dist/test/PCH/modified-header-crash.c
vendor/clang/dist/test/PCH/modified-header-crash.h
vendor/clang/dist/test/PCH/working-directory.cpp
vendor/clang/dist/test/PCH/working-directory.h
vendor/clang/dist/test/Parser/DelayedTemplateParsing.cpp
vendor/clang/dist/test/Parser/attr-availability.c
vendor/clang/dist/test/Parser/c1x-generic-selection.c
vendor/clang/dist/test/Parser/cxx-member-crash.cpp
vendor/clang/dist/test/Parser/objcxx-at.mm
vendor/clang/dist/test/Parser/opencl-image-access.cl
vendor/clang/dist/test/Parser/recovery.m
vendor/clang/dist/test/Preprocessor/traditional-cpp.c
vendor/clang/dist/test/Rewriter/rewrite-block-literal-1.mm
vendor/clang/dist/test/Sema/__try.c
vendor/clang/dist/test/Sema/attr-args.c
vendor/clang/dist/test/Sema/attr-availability-ios.c
vendor/clang/dist/test/Sema/attr-availability-macosx.c
vendor/clang/dist/test/Sema/attr-availability.c
vendor/clang/dist/test/Sema/builtins-decl.c
vendor/clang/dist/test/Sema/generic-selection.c
vendor/clang/dist/test/Sema/memset-invalid.c
vendor/clang/dist/test/Sema/overloaded-func-transparent-union.c
vendor/clang/dist/test/Sema/pragma-ms_struct.c
vendor/clang/dist/test/Sema/static-assert.c
vendor/clang/dist/test/Sema/uninit-variables-vectors.c
vendor/clang/dist/test/SemaCXX/PR9459.cpp
vendor/clang/dist/test/SemaCXX/PR9460.cpp
vendor/clang/dist/test/SemaCXX/PR9461.cpp
vendor/clang/dist/test/SemaCXX/PR9572.cpp
vendor/clang/dist/test/SemaCXX/__try.cpp
vendor/clang/dist/test/SemaCXX/address-space-conversion.cpp
vendor/clang/dist/test/SemaCXX/address-space-newdelete.cpp
vendor/clang/dist/test/SemaCXX/address-space-references.cpp
vendor/clang/dist/test/SemaCXX/auto-subst-failure.cpp
vendor/clang/dist/test/SemaCXX/cxx0x-constexpr-const.cpp
vendor/clang/dist/test/SemaCXX/cxx0x-delegating-ctors.cpp
vendor/clang/dist/test/SemaCXX/cxx0x-return-init-list.cpp
vendor/clang/dist/test/SemaCXX/decltype-98.cpp
vendor/clang/dist/test/SemaCXX/expression-traits.cpp
vendor/clang/dist/test/SemaCXX/for-range-examples.cpp
vendor/clang/dist/test/SemaCXX/for-range-no-std.cpp
vendor/clang/dist/test/SemaCXX/generic-selection.cpp
vendor/clang/dist/test/SemaCXX/goto.cpp
vendor/clang/dist/test/SemaCXX/goto2.cpp
vendor/clang/dist/test/SemaCXX/neon-vector-types.cpp
vendor/clang/dist/test/SemaCXX/operator-arrow-temporary.cpp
vendor/clang/dist/test/SemaCXX/pascal-strings.cpp
vendor/clang/dist/test/SemaCXX/short-enums.cpp
vendor/clang/dist/test/SemaCXX/short-wchar-sign.cpp
vendor/clang/dist/test/SemaCXX/uninit-variables-conditional.cpp
vendor/clang/dist/test/SemaCXX/unknown-anytype.cpp
vendor/clang/dist/test/SemaCXX/warn-bool-conversion.cpp
vendor/clang/dist/test/SemaCXX/warn-deprecated-header.cpp
vendor/clang/dist/test/SemaCXX/warn-exit-time-destructors.cpp
vendor/clang/dist/test/SemaCXX/warn-non-pod-memset.cpp
vendor/clang/dist/test/SemaCXX/warn-using-namespace-in-header.cpp
vendor/clang/dist/test/SemaCXX/warn-using-namespace-in-header.h
vendor/clang/dist/test/SemaObjC/assign-rvalue-message.m
vendor/clang/dist/test/SemaObjC/class-message-protocol-lookup.m
vendor/clang/dist/test/SemaObjC/class-unavail-warning.m
vendor/clang/dist/test/SemaObjC/conditional-expr-8.m
vendor/clang/dist/test/SemaObjC/missing-atend-metadata.m
vendor/clang/dist/test/SemaObjC/objc-qualified-property-lookup.m
vendor/clang/dist/test/SemaObjC/property-lookup-in-id.m
vendor/clang/dist/test/SemaObjC/self-declared-in-block.m
vendor/clang/dist/test/SemaObjC/self-in-function.m
vendor/clang/dist/test/SemaObjC/unqualified-to-qualified-class-warn.m
vendor/clang/dist/test/SemaObjCXX/argument-dependent-lookup.mm
vendor/clang/dist/test/SemaObjCXX/goto.mm
vendor/clang/dist/test/SemaObjCXX/overload-gc.mm
vendor/clang/dist/test/SemaObjCXX/property-reference.mm
vendor/clang/dist/test/SemaOpenCL/vec_step.cl
vendor/clang/dist/test/SemaTemplate/address-spaces.cpp
vendor/clang/dist/test/SemaTemplate/issue150.cpp
vendor/clang/dist/test/SemaTemplate/resolve-single-template-id.cpp
vendor/clang/dist/unittests/Tooling/
vendor/clang/dist/unittests/Tooling/JsonCompileCommandLineDatabaseTest.cpp
vendor/clang/dist/unittests/Tooling/ToolingTest.cpp
vendor/clang/dist/www/libstdc++4.4-clang0x.patch
Deleted:
vendor/clang/dist/include/clang/Analysis/Analyses/UninitializedValuesV2.h
vendor/clang/dist/include/clang/Frontend/DeclContextXML.def
vendor/clang/dist/include/clang/Frontend/DeclXML.def
vendor/clang/dist/include/clang/Frontend/DocumentXML.def
vendor/clang/dist/include/clang/Frontend/DocumentXML.h
vendor/clang/dist/include/clang/Frontend/StmtXML.def
vendor/clang/dist/include/clang/Frontend/TypeXML.def
vendor/clang/dist/include/clang/StaticAnalyzer/Core/CheckerV2.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/Checker.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerVisitor.def
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerVisitor.h
vendor/clang/dist/lib/Analysis/UninitializedValuesV2.cpp
vendor/clang/dist/lib/Frontend/DeclXML.cpp
vendor/clang/dist/lib/Frontend/DocumentXML.cpp
vendor/clang/dist/lib/Frontend/StmtXML.cpp
vendor/clang/dist/lib/Frontend/TypeXML.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.h
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ExperimentalChecks.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ExperimentalChecks.h
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ExprEngine.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/InternalChecks.h
vendor/clang/dist/lib/StaticAnalyzer/Core/Checker.cpp
vendor/clang/dist/runtime/libcxx/
vendor/clang/dist/test/Analysis/conditional-op-missing-lhs.c
vendor/clang/dist/test/Analysis/uninit-vals.c
vendor/clang/dist/test/CXX/class.derived/p8-0x.cpp
vendor/clang/dist/test/CXX/class/class.mem/p8-0x-pedantic.cpp
vendor/clang/dist/test/CodeGen/builtinmemcpy.c
vendor/clang/dist/test/CodeGenCXX/dyncast.cpp
vendor/clang/dist/test/CodeGenObjC/missing-atend-metadata.m
vendor/clang/dist/test/Parser/cxx-exception-spec.cpp
vendor/clang/dist/test/SemaCXX/exception-spec.cpp
vendor/clang/dist/test/SemaCXX/warn_false_to_pointer.cpp
vendor/clang/dist/test/SemaObjC/auto-objective-c.m
vendor/clang/dist/test/SemaObjC/method-arg-decay.m
Modified:
vendor/clang/dist/CMakeLists.txt
vendor/clang/dist/Makefile
vendor/clang/dist/docs/DriverInternals.html
vendor/clang/dist/docs/InternalsManual.html
vendor/clang/dist/docs/LanguageExtensions.html
vendor/clang/dist/docs/UsersManual.html
vendor/clang/dist/docs/tools/clang.pod
vendor/clang/dist/examples/CMakeLists.txt
vendor/clang/dist/examples/clang-interpreter/Makefile
vendor/clang/dist/examples/clang-interpreter/main.cpp
vendor/clang/dist/include/clang-c/Index.h
vendor/clang/dist/include/clang/AST/ASTConsumer.h
vendor/clang/dist/include/clang/AST/ASTContext.h
vendor/clang/dist/include/clang/AST/ASTDiagnostic.h
vendor/clang/dist/include/clang/AST/ASTMutationListener.h
vendor/clang/dist/include/clang/AST/Attr.h
vendor/clang/dist/include/clang/AST/CXXInheritance.h
vendor/clang/dist/include/clang/AST/CanonicalType.h
vendor/clang/dist/include/clang/AST/CharUnits.h
vendor/clang/dist/include/clang/AST/Decl.h
vendor/clang/dist/include/clang/AST/DeclBase.h
vendor/clang/dist/include/clang/AST/DeclCXX.h
vendor/clang/dist/include/clang/AST/DeclFriend.h
vendor/clang/dist/include/clang/AST/DeclObjC.h
vendor/clang/dist/include/clang/AST/DeclTemplate.h
vendor/clang/dist/include/clang/AST/EvaluatedExprVisitor.h
vendor/clang/dist/include/clang/AST/Expr.h
vendor/clang/dist/include/clang/AST/ExprCXX.h
vendor/clang/dist/include/clang/AST/ExprObjC.h
vendor/clang/dist/include/clang/AST/ExternalASTSource.h
vendor/clang/dist/include/clang/AST/NestedNameSpecifier.h
vendor/clang/dist/include/clang/AST/PrettyPrinter.h
vendor/clang/dist/include/clang/AST/RecursiveASTVisitor.h
vendor/clang/dist/include/clang/AST/Stmt.h
vendor/clang/dist/include/clang/AST/StmtCXX.h
vendor/clang/dist/include/clang/AST/StmtIterator.h
vendor/clang/dist/include/clang/AST/TemplateBase.h
vendor/clang/dist/include/clang/AST/Type.h
vendor/clang/dist/include/clang/AST/TypeLoc.h
vendor/clang/dist/include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h
vendor/clang/dist/include/clang/Analysis/Analyses/UninitializedValues.h
vendor/clang/dist/include/clang/Analysis/AnalysisContext.h
vendor/clang/dist/include/clang/Analysis/AnalysisDiagnostic.h
vendor/clang/dist/include/clang/Analysis/CFG.h
vendor/clang/dist/include/clang/Analysis/DomainSpecific/CocoaConventions.h
vendor/clang/dist/include/clang/Analysis/FlowSensitive/DataflowSolver.h
vendor/clang/dist/include/clang/Analysis/ProgramPoint.h
vendor/clang/dist/include/clang/Analysis/Visitors/CFGStmtVisitor.h
vendor/clang/dist/include/clang/Basic/Attr.td
vendor/clang/dist/include/clang/Basic/AttrKinds.h
vendor/clang/dist/include/clang/Basic/Builtins.def
vendor/clang/dist/include/clang/Basic/BuiltinsX86.def
vendor/clang/dist/include/clang/Basic/CMakeLists.txt
vendor/clang/dist/include/clang/Basic/ConvertUTF.h
vendor/clang/dist/include/clang/Basic/DeclNodes.td
vendor/clang/dist/include/clang/Basic/Diagnostic.h
vendor/clang/dist/include/clang/Basic/Diagnostic.td
vendor/clang/dist/include/clang/Basic/DiagnosticCommonKinds.td
vendor/clang/dist/include/clang/Basic/DiagnosticDriverKinds.td
vendor/clang/dist/include/clang/Basic/DiagnosticFrontendKinds.td
vendor/clang/dist/include/clang/Basic/DiagnosticGroups.td
vendor/clang/dist/include/clang/Basic/DiagnosticIDs.h
vendor/clang/dist/include/clang/Basic/DiagnosticLexKinds.td
vendor/clang/dist/include/clang/Basic/DiagnosticParseKinds.td
vendor/clang/dist/include/clang/Basic/DiagnosticSemaKinds.td
vendor/clang/dist/include/clang/Basic/FileManager.h
vendor/clang/dist/include/clang/Basic/IdentifierTable.h
vendor/clang/dist/include/clang/Basic/LangOptions.h
vendor/clang/dist/include/clang/Basic/Makefile
vendor/clang/dist/include/clang/Basic/PartialDiagnostic.h
vendor/clang/dist/include/clang/Basic/SourceLocation.h
vendor/clang/dist/include/clang/Basic/SourceManager.h
vendor/clang/dist/include/clang/Basic/Specifiers.h
vendor/clang/dist/include/clang/Basic/StmtNodes.td
vendor/clang/dist/include/clang/Basic/TargetBuiltins.h
vendor/clang/dist/include/clang/Basic/TargetInfo.h
vendor/clang/dist/include/clang/Basic/TokenKinds.def
vendor/clang/dist/include/clang/Basic/TypeTraits.h
vendor/clang/dist/include/clang/Basic/Version.h
vendor/clang/dist/include/clang/Basic/arm_neon.td
vendor/clang/dist/include/clang/Driver/Arg.h
vendor/clang/dist/include/clang/Driver/CC1AsOptions.td
vendor/clang/dist/include/clang/Driver/CC1Options.td
vendor/clang/dist/include/clang/Driver/Driver.h
vendor/clang/dist/include/clang/Driver/DriverDiagnostic.h
vendor/clang/dist/include/clang/Driver/OptParser.td
vendor/clang/dist/include/clang/Driver/Options.td
vendor/clang/dist/include/clang/Driver/ToolChain.h
vendor/clang/dist/include/clang/Frontend/ASTConsumers.h
vendor/clang/dist/include/clang/Frontend/ASTUnit.h
vendor/clang/dist/include/clang/Frontend/Analyses.def
vendor/clang/dist/include/clang/Frontend/AnalyzerOptions.h
vendor/clang/dist/include/clang/Frontend/ChainedDiagnosticClient.h
vendor/clang/dist/include/clang/Frontend/CodeGenOptions.h
vendor/clang/dist/include/clang/Frontend/CompilerInstance.h
vendor/clang/dist/include/clang/Frontend/CompilerInvocation.h
vendor/clang/dist/include/clang/Frontend/DiagnosticOptions.h
vendor/clang/dist/include/clang/Frontend/FrontendActions.h
vendor/clang/dist/include/clang/Frontend/FrontendDiagnostic.h
vendor/clang/dist/include/clang/Frontend/FrontendOptions.h
vendor/clang/dist/include/clang/Frontend/LangStandard.h
vendor/clang/dist/include/clang/Frontend/LangStandards.def
vendor/clang/dist/include/clang/Frontend/MultiplexConsumer.h
vendor/clang/dist/include/clang/Frontend/PreprocessorOptions.h
vendor/clang/dist/include/clang/Frontend/TextDiagnosticPrinter.h
vendor/clang/dist/include/clang/Frontend/Utils.h
vendor/clang/dist/include/clang/Lex/DirectoryLookup.h
vendor/clang/dist/include/clang/Lex/HeaderMap.h
vendor/clang/dist/include/clang/Lex/HeaderSearch.h
vendor/clang/dist/include/clang/Lex/LexDiagnostic.h
vendor/clang/dist/include/clang/Lex/Lexer.h
vendor/clang/dist/include/clang/Lex/LiteralSupport.h
vendor/clang/dist/include/clang/Lex/MacroInfo.h
vendor/clang/dist/include/clang/Lex/MultipleIncludeOpt.h
vendor/clang/dist/include/clang/Lex/PPCallbacks.h
vendor/clang/dist/include/clang/Lex/PTHLexer.h
vendor/clang/dist/include/clang/Lex/Pragma.h
vendor/clang/dist/include/clang/Lex/PreprocessingRecord.h
vendor/clang/dist/include/clang/Lex/Preprocessor.h
vendor/clang/dist/include/clang/Lex/PreprocessorLexer.h
vendor/clang/dist/include/clang/Makefile
vendor/clang/dist/include/clang/Parse/ParseDiagnostic.h
vendor/clang/dist/include/clang/Parse/Parser.h
vendor/clang/dist/include/clang/Rewrite/FrontendActions.h
vendor/clang/dist/include/clang/Rewrite/Rewriter.h
vendor/clang/dist/include/clang/Sema/AttributeList.h
vendor/clang/dist/include/clang/Sema/DeclSpec.h
vendor/clang/dist/include/clang/Sema/DelayedDiagnostic.h
vendor/clang/dist/include/clang/Sema/IdentifierResolver.h
vendor/clang/dist/include/clang/Sema/Initialization.h
vendor/clang/dist/include/clang/Sema/Lookup.h
vendor/clang/dist/include/clang/Sema/Overload.h
vendor/clang/dist/include/clang/Sema/Ownership.h
vendor/clang/dist/include/clang/Sema/ParsedTemplate.h
vendor/clang/dist/include/clang/Sema/Scope.h
vendor/clang/dist/include/clang/Sema/Sema.h
vendor/clang/dist/include/clang/Sema/SemaDiagnostic.h
vendor/clang/dist/include/clang/Sema/Template.h
vendor/clang/dist/include/clang/Sema/TemplateDeduction.h
vendor/clang/dist/include/clang/Serialization/ASTBitCodes.h
vendor/clang/dist/include/clang/Serialization/ASTReader.h
vendor/clang/dist/include/clang/Serialization/ASTWriter.h
vendor/clang/dist/include/clang/StaticAnalyzer/Checkers/CheckerBase.td
vendor/clang/dist/include/clang/StaticAnalyzer/Checkers/LocalCheckers.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/CheckerManager.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/CheckerProvider.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathDiagnosticClients.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/GRState.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/ObjCMessage.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
vendor/clang/dist/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
vendor/clang/dist/lib/AST/ASTContext.cpp
vendor/clang/dist/lib/AST/ASTDiagnostic.cpp
vendor/clang/dist/lib/AST/ASTImporter.cpp
vendor/clang/dist/lib/AST/CMakeLists.txt
vendor/clang/dist/lib/AST/CXXInheritance.cpp
vendor/clang/dist/lib/AST/Decl.cpp
vendor/clang/dist/lib/AST/DeclBase.cpp
vendor/clang/dist/lib/AST/DeclCXX.cpp
vendor/clang/dist/lib/AST/DeclObjC.cpp
vendor/clang/dist/lib/AST/DeclPrinter.cpp
vendor/clang/dist/lib/AST/DeclTemplate.cpp
vendor/clang/dist/lib/AST/DumpXML.cpp
vendor/clang/dist/lib/AST/Expr.cpp
vendor/clang/dist/lib/AST/ExprCXX.cpp
vendor/clang/dist/lib/AST/ExprClassification.cpp
vendor/clang/dist/lib/AST/ExprConstant.cpp
vendor/clang/dist/lib/AST/InheritViz.cpp
vendor/clang/dist/lib/AST/ItaniumCXXABI.cpp
vendor/clang/dist/lib/AST/ItaniumMangle.cpp
vendor/clang/dist/lib/AST/MicrosoftCXXABI.cpp
vendor/clang/dist/lib/AST/MicrosoftMangle.cpp
vendor/clang/dist/lib/AST/NestedNameSpecifier.cpp
vendor/clang/dist/lib/AST/RecordLayoutBuilder.cpp
vendor/clang/dist/lib/AST/Stmt.cpp
vendor/clang/dist/lib/AST/StmtDumper.cpp
vendor/clang/dist/lib/AST/StmtIterator.cpp
vendor/clang/dist/lib/AST/StmtPrinter.cpp
vendor/clang/dist/lib/AST/StmtProfile.cpp
vendor/clang/dist/lib/AST/TemplateBase.cpp
vendor/clang/dist/lib/AST/TemplateName.cpp
vendor/clang/dist/lib/AST/Type.cpp
vendor/clang/dist/lib/AST/TypeLoc.cpp
vendor/clang/dist/lib/AST/TypePrinter.cpp
vendor/clang/dist/lib/Analysis/AnalysisContext.cpp
vendor/clang/dist/lib/Analysis/CFG.cpp
vendor/clang/dist/lib/Analysis/CFGReachabilityAnalysis.cpp
vendor/clang/dist/lib/Analysis/CFGStmtMap.cpp
vendor/clang/dist/lib/Analysis/CMakeLists.txt
vendor/clang/dist/lib/Analysis/CocoaConventions.cpp
vendor/clang/dist/lib/Analysis/PrintfFormatString.cpp
vendor/clang/dist/lib/Analysis/ReachableCode.cpp
vendor/clang/dist/lib/Analysis/UninitializedValues.cpp
vendor/clang/dist/lib/Basic/CMakeLists.txt
vendor/clang/dist/lib/Basic/Diagnostic.cpp
vendor/clang/dist/lib/Basic/DiagnosticIDs.cpp
vendor/clang/dist/lib/Basic/FileManager.cpp
vendor/clang/dist/lib/Basic/IdentifierTable.cpp
vendor/clang/dist/lib/Basic/SourceManager.cpp
vendor/clang/dist/lib/Basic/TargetInfo.cpp
vendor/clang/dist/lib/Basic/Targets.cpp
vendor/clang/dist/lib/Basic/Version.cpp
vendor/clang/dist/lib/CMakeLists.txt
vendor/clang/dist/lib/CodeGen/BackendUtil.cpp
vendor/clang/dist/lib/CodeGen/CGBlocks.cpp
vendor/clang/dist/lib/CodeGen/CGBlocks.h
vendor/clang/dist/lib/CodeGen/CGBuiltin.cpp
vendor/clang/dist/lib/CodeGen/CGCXX.cpp
vendor/clang/dist/lib/CodeGen/CGCXXABI.cpp
vendor/clang/dist/lib/CodeGen/CGCall.cpp
vendor/clang/dist/lib/CodeGen/CGCall.h
vendor/clang/dist/lib/CodeGen/CGClass.cpp
vendor/clang/dist/lib/CodeGen/CGCleanup.cpp
vendor/clang/dist/lib/CodeGen/CGDebugInfo.cpp
vendor/clang/dist/lib/CodeGen/CGDebugInfo.h
vendor/clang/dist/lib/CodeGen/CGDecl.cpp
vendor/clang/dist/lib/CodeGen/CGDeclCXX.cpp
vendor/clang/dist/lib/CodeGen/CGException.cpp
vendor/clang/dist/lib/CodeGen/CGException.h
vendor/clang/dist/lib/CodeGen/CGExpr.cpp
vendor/clang/dist/lib/CodeGen/CGExprAgg.cpp
vendor/clang/dist/lib/CodeGen/CGExprCXX.cpp
vendor/clang/dist/lib/CodeGen/CGExprComplex.cpp
vendor/clang/dist/lib/CodeGen/CGExprConstant.cpp
vendor/clang/dist/lib/CodeGen/CGExprScalar.cpp
vendor/clang/dist/lib/CodeGen/CGObjC.cpp
vendor/clang/dist/lib/CodeGen/CGObjCGNU.cpp
vendor/clang/dist/lib/CodeGen/CGObjCMac.cpp
vendor/clang/dist/lib/CodeGen/CGObjCRuntime.h
vendor/clang/dist/lib/CodeGen/CGRTTI.cpp
vendor/clang/dist/lib/CodeGen/CGRecordLayout.h
vendor/clang/dist/lib/CodeGen/CGRecordLayoutBuilder.cpp
vendor/clang/dist/lib/CodeGen/CGStmt.cpp
vendor/clang/dist/lib/CodeGen/CGVTT.cpp
vendor/clang/dist/lib/CodeGen/CGVTables.cpp
vendor/clang/dist/lib/CodeGen/CGVTables.h
vendor/clang/dist/lib/CodeGen/CMakeLists.txt
vendor/clang/dist/lib/CodeGen/CodeGenAction.cpp
vendor/clang/dist/lib/CodeGen/CodeGenFunction.cpp
vendor/clang/dist/lib/CodeGen/CodeGenFunction.h
vendor/clang/dist/lib/CodeGen/CodeGenModule.cpp
vendor/clang/dist/lib/CodeGen/CodeGenModule.h
vendor/clang/dist/lib/CodeGen/CodeGenTBAA.cpp
vendor/clang/dist/lib/CodeGen/CodeGenTypes.cpp
vendor/clang/dist/lib/CodeGen/CodeGenTypes.h
vendor/clang/dist/lib/CodeGen/ItaniumCXXABI.cpp
vendor/clang/dist/lib/CodeGen/MicrosoftCXXABI.cpp
vendor/clang/dist/lib/CodeGen/TargetInfo.cpp
vendor/clang/dist/lib/Driver/Compilation.cpp
vendor/clang/dist/lib/Driver/Driver.cpp
vendor/clang/dist/lib/Driver/HostInfo.cpp
vendor/clang/dist/lib/Driver/OptTable.cpp
vendor/clang/dist/lib/Driver/ToolChain.cpp
vendor/clang/dist/lib/Driver/ToolChains.cpp
vendor/clang/dist/lib/Driver/ToolChains.h
vendor/clang/dist/lib/Driver/Tools.cpp
vendor/clang/dist/lib/Driver/Tools.h
vendor/clang/dist/lib/Frontend/ASTConsumers.cpp
vendor/clang/dist/lib/Frontend/ASTUnit.cpp
vendor/clang/dist/lib/Frontend/CMakeLists.txt
vendor/clang/dist/lib/Frontend/CacheTokens.cpp
vendor/clang/dist/lib/Frontend/CompilerInstance.cpp
vendor/clang/dist/lib/Frontend/CompilerInvocation.cpp
vendor/clang/dist/lib/Frontend/DependencyFile.cpp
vendor/clang/dist/lib/Frontend/FrontendAction.cpp
vendor/clang/dist/lib/Frontend/FrontendActions.cpp
vendor/clang/dist/lib/Frontend/HeaderIncludeGen.cpp
vendor/clang/dist/lib/Frontend/InitHeaderSearch.cpp
vendor/clang/dist/lib/Frontend/InitPreprocessor.cpp
vendor/clang/dist/lib/Frontend/MultiplexConsumer.cpp
vendor/clang/dist/lib/Frontend/PrintPreprocessedOutput.cpp
vendor/clang/dist/lib/Frontend/TextDiagnosticPrinter.cpp
vendor/clang/dist/lib/FrontendTool/ExecuteCompilerInvocation.cpp
vendor/clang/dist/lib/Headers/CMakeLists.txt
vendor/clang/dist/lib/Headers/avxintrin.h
vendor/clang/dist/lib/Headers/emmintrin.h
vendor/clang/dist/lib/Headers/mm_malloc.h
vendor/clang/dist/lib/Headers/stddef.h
vendor/clang/dist/lib/Headers/stdint.h
vendor/clang/dist/lib/Headers/xmmintrin.h
vendor/clang/dist/lib/Index/DeclReferenceMap.cpp
vendor/clang/dist/lib/Index/Entity.cpp
vendor/clang/dist/lib/Lex/HeaderMap.cpp
vendor/clang/dist/lib/Lex/HeaderSearch.cpp
vendor/clang/dist/lib/Lex/Lexer.cpp
vendor/clang/dist/lib/Lex/LiteralSupport.cpp
vendor/clang/dist/lib/Lex/MacroArgs.cpp
vendor/clang/dist/lib/Lex/PPDirectives.cpp
vendor/clang/dist/lib/Lex/PPExpressions.cpp
vendor/clang/dist/lib/Lex/PPLexerChange.cpp
vendor/clang/dist/lib/Lex/PPMacroExpansion.cpp
vendor/clang/dist/lib/Lex/PTHLexer.cpp
vendor/clang/dist/lib/Lex/Pragma.cpp
vendor/clang/dist/lib/Lex/PreprocessingRecord.cpp
vendor/clang/dist/lib/Lex/Preprocessor.cpp
vendor/clang/dist/lib/Lex/PreprocessorLexer.cpp
vendor/clang/dist/lib/Lex/TokenLexer.cpp
vendor/clang/dist/lib/Makefile
vendor/clang/dist/lib/Parse/ParseAST.cpp
vendor/clang/dist/lib/Parse/ParseCXXInlineMethods.cpp
vendor/clang/dist/lib/Parse/ParseDecl.cpp
vendor/clang/dist/lib/Parse/ParseDeclCXX.cpp
vendor/clang/dist/lib/Parse/ParseExpr.cpp
vendor/clang/dist/lib/Parse/ParseExprCXX.cpp
vendor/clang/dist/lib/Parse/ParseInit.cpp
vendor/clang/dist/lib/Parse/ParseObjc.cpp
vendor/clang/dist/lib/Parse/ParsePragma.cpp
vendor/clang/dist/lib/Parse/ParsePragma.h
vendor/clang/dist/lib/Parse/ParseStmt.cpp
vendor/clang/dist/lib/Parse/ParseTemplate.cpp
vendor/clang/dist/lib/Parse/ParseTentative.cpp
vendor/clang/dist/lib/Parse/Parser.cpp
vendor/clang/dist/lib/Parse/RAIIObjectsForParser.h
vendor/clang/dist/lib/Rewrite/RewriteObjC.cpp
vendor/clang/dist/lib/Rewrite/Rewriter.cpp
vendor/clang/dist/lib/Sema/AnalysisBasedWarnings.cpp
vendor/clang/dist/lib/Sema/AttributeList.cpp
vendor/clang/dist/lib/Sema/CMakeLists.txt
vendor/clang/dist/lib/Sema/CodeCompleteConsumer.cpp
vendor/clang/dist/lib/Sema/DeclSpec.cpp
vendor/clang/dist/lib/Sema/IdentifierResolver.cpp
vendor/clang/dist/lib/Sema/JumpDiagnostics.cpp
vendor/clang/dist/lib/Sema/Sema.cpp
vendor/clang/dist/lib/Sema/SemaAccess.cpp
vendor/clang/dist/lib/Sema/SemaAttr.cpp
vendor/clang/dist/lib/Sema/SemaCXXCast.cpp
vendor/clang/dist/lib/Sema/SemaCXXScopeSpec.cpp
vendor/clang/dist/lib/Sema/SemaChecking.cpp
vendor/clang/dist/lib/Sema/SemaCodeComplete.cpp
vendor/clang/dist/lib/Sema/SemaDecl.cpp
vendor/clang/dist/lib/Sema/SemaDeclAttr.cpp
vendor/clang/dist/lib/Sema/SemaDeclCXX.cpp
vendor/clang/dist/lib/Sema/SemaDeclObjC.cpp
vendor/clang/dist/lib/Sema/SemaExceptionSpec.cpp
vendor/clang/dist/lib/Sema/SemaExpr.cpp
vendor/clang/dist/lib/Sema/SemaExprCXX.cpp
vendor/clang/dist/lib/Sema/SemaExprObjC.cpp
vendor/clang/dist/lib/Sema/SemaInit.cpp
vendor/clang/dist/lib/Sema/SemaLookup.cpp
vendor/clang/dist/lib/Sema/SemaObjCProperty.cpp
vendor/clang/dist/lib/Sema/SemaOverload.cpp
vendor/clang/dist/lib/Sema/SemaStmt.cpp
vendor/clang/dist/lib/Sema/SemaTemplate.cpp
vendor/clang/dist/lib/Sema/SemaTemplateDeduction.cpp
vendor/clang/dist/lib/Sema/SemaTemplateInstantiate.cpp
vendor/clang/dist/lib/Sema/SemaTemplateInstantiateDecl.cpp
vendor/clang/dist/lib/Sema/SemaTemplateVariadic.cpp
vendor/clang/dist/lib/Sema/SemaType.cpp
vendor/clang/dist/lib/Sema/TargetAttributesSema.cpp
vendor/clang/dist/lib/Sema/TreeTransform.h
vendor/clang/dist/lib/Sema/TypeLocBuilder.h
vendor/clang/dist/lib/Serialization/ASTCommon.cpp
vendor/clang/dist/lib/Serialization/ASTCommon.h
vendor/clang/dist/lib/Serialization/ASTReader.cpp
vendor/clang/dist/lib/Serialization/ASTReaderDecl.cpp
vendor/clang/dist/lib/Serialization/ASTReaderStmt.cpp
vendor/clang/dist/lib/Serialization/ASTWriter.cpp
vendor/clang/dist/lib/Serialization/ASTWriterDecl.cpp
vendor/clang/dist/lib/Serialization/ASTWriterStmt.cpp
vendor/clang/dist/lib/Serialization/CMakeLists.txt
vendor/clang/dist/lib/StaticAnalyzer/Checkers/AdjustedReturnValueChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/AttrNonNullChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/CMakeLists.txt
vendor/clang/dist/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/Checkers.td
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ClangSACheckerProvider.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ClangSACheckers.h
vendor/clang/dist/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/OSAtomicChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/AggExprVisitor.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/BasicStore.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/BasicValueFactory.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/BugReporter.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/CFRefCount.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/CMakeLists.txt
vendor/clang/dist/lib/StaticAnalyzer/Core/CXXExprEngine.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/CheckerManager.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/CoreEngine.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/Environment.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/FlatStore.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/ObjCMessage.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/RegionStore.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/SValBuilder.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
vendor/clang/dist/lib/StaticAnalyzer/Core/Store.cpp
vendor/clang/dist/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
vendor/clang/dist/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp
vendor/clang/dist/runtime/CMakeLists.txt
vendor/clang/dist/runtime/Makefile
vendor/clang/dist/test/ASTMerge/var.c
vendor/clang/dist/test/Analysis/CFDateGC.m
vendor/clang/dist/test/Analysis/CFNumber.c
vendor/clang/dist/test/Analysis/CFRetainRelease_NSAssertionHandler.m
vendor/clang/dist/test/Analysis/CGColorSpace.c
vendor/clang/dist/test/Analysis/CheckNSError.m
vendor/clang/dist/test/Analysis/MissingDealloc.m
vendor/clang/dist/test/Analysis/NSPanel.m
vendor/clang/dist/test/Analysis/NSString.m
vendor/clang/dist/test/Analysis/NSWindow.m
vendor/clang/dist/test/Analysis/NoReturn.m
vendor/clang/dist/test/Analysis/ObjCProperties.m
vendor/clang/dist/test/Analysis/ObjCRetSigs.m
vendor/clang/dist/test/Analysis/PR2599.m
vendor/clang/dist/test/Analysis/PR2978.m
vendor/clang/dist/test/Analysis/PR3991.m
vendor/clang/dist/test/Analysis/PR7218.c
vendor/clang/dist/test/Analysis/additive-folding-range-constraints.c
vendor/clang/dist/test/Analysis/additive-folding.c
vendor/clang/dist/test/Analysis/analyzer-stats.c
vendor/clang/dist/test/Analysis/array-struct-region.c
vendor/clang/dist/test/Analysis/array-struct.c
vendor/clang/dist/test/Analysis/auto-obj-dtors-cfg-output.cpp
vendor/clang/dist/test/Analysis/base-init.cpp
vendor/clang/dist/test/Analysis/blocks.m
vendor/clang/dist/test/Analysis/bstring.c
vendor/clang/dist/test/Analysis/casts.c
vendor/clang/dist/test/Analysis/casts.m
vendor/clang/dist/test/Analysis/cfref_PR2519.c
vendor/clang/dist/test/Analysis/cfref_rdar6080742.c
vendor/clang/dist/test/Analysis/chroot.c
vendor/clang/dist/test/Analysis/complex.c
vendor/clang/dist/test/Analysis/concrete-address.c
vendor/clang/dist/test/Analysis/constant-folding.c
vendor/clang/dist/test/Analysis/cxx-crashes.cpp
vendor/clang/dist/test/Analysis/dead-stores.c
vendor/clang/dist/test/Analysis/dead-stores.cpp
vendor/clang/dist/test/Analysis/dead-stores.m
vendor/clang/dist/test/Analysis/delegates.m
vendor/clang/dist/test/Analysis/derived-to-base.cpp
vendor/clang/dist/test/Analysis/dtor.cpp
vendor/clang/dist/test/Analysis/elementtype.c
vendor/clang/dist/test/Analysis/exercise-ps.c
vendor/clang/dist/test/Analysis/fields.c
vendor/clang/dist/test/Analysis/flat-store.c
vendor/clang/dist/test/Analysis/free.c
vendor/clang/dist/test/Analysis/func.c
vendor/clang/dist/test/Analysis/idempotent-operations-limited-loops.c
vendor/clang/dist/test/Analysis/idempotent-operations.c
vendor/clang/dist/test/Analysis/idempotent-operations.cpp
vendor/clang/dist/test/Analysis/idempotent-operations.m
vendor/clang/dist/test/Analysis/initializer.cpp
vendor/clang/dist/test/Analysis/inline.c
vendor/clang/dist/test/Analysis/inline2.c
vendor/clang/dist/test/Analysis/inline3.c
vendor/clang/dist/test/Analysis/inline4.c
vendor/clang/dist/test/Analysis/lvalue.cpp
vendor/clang/dist/test/Analysis/malloc.c
vendor/clang/dist/test/Analysis/method-call.cpp
vendor/clang/dist/test/Analysis/misc-ps-64.m
vendor/clang/dist/test/Analysis/misc-ps-basic-store.m
vendor/clang/dist/test/Analysis/misc-ps-eager-assume.m
vendor/clang/dist/test/Analysis/misc-ps-flat-store.c
vendor/clang/dist/test/Analysis/misc-ps-ranges.m
vendor/clang/dist/test/Analysis/misc-ps-region-store-i386.m
vendor/clang/dist/test/Analysis/misc-ps-region-store-x86_64.m
vendor/clang/dist/test/Analysis/misc-ps-region-store.cpp
vendor/clang/dist/test/Analysis/misc-ps-region-store.m
vendor/clang/dist/test/Analysis/misc-ps-region-store.mm
vendor/clang/dist/test/Analysis/misc-ps.m
vendor/clang/dist/test/Analysis/new.cpp
vendor/clang/dist/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m
vendor/clang/dist/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m
vendor/clang/dist/test/Analysis/no-exit-cfg.c
vendor/clang/dist/test/Analysis/no-outofbounds.c
vendor/clang/dist/test/Analysis/null-deref-ps-region.c
vendor/clang/dist/test/Analysis/null-deref-ps.c
vendor/clang/dist/test/Analysis/operator-calls.cpp
vendor/clang/dist/test/Analysis/out-of-bounds.c
vendor/clang/dist/test/Analysis/outofbound.c
vendor/clang/dist/test/Analysis/override-werror.c
vendor/clang/dist/test/Analysis/plist-output-alternate.m
vendor/clang/dist/test/Analysis/plist-output.m
vendor/clang/dist/test/Analysis/pr4209.m
vendor/clang/dist/test/Analysis/pr_2542_rdar_6793404.m
vendor/clang/dist/test/Analysis/pr_4164.c
vendor/clang/dist/test/Analysis/properties.m
vendor/clang/dist/test/Analysis/ptr-arith.c
vendor/clang/dist/test/Analysis/rdar-6442306-1.m
vendor/clang/dist/test/Analysis/rdar-6540084.m
vendor/clang/dist/test/Analysis/rdar-6541136-region.c
vendor/clang/dist/test/Analysis/rdar-6541136.c
vendor/clang/dist/test/Analysis/rdar-6562655.m
vendor/clang/dist/test/Analysis/rdar-6582778-basic-store.c
vendor/clang/dist/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m
vendor/clang/dist/test/Analysis/rdar-7168531.m
vendor/clang/dist/test/Analysis/refcnt_naming.m
vendor/clang/dist/test/Analysis/reference.cpp
vendor/clang/dist/test/Analysis/region-1.m
vendor/clang/dist/test/Analysis/retain-release-basic-store.m
vendor/clang/dist/test/Analysis/retain-release-gc-only.m
vendor/clang/dist/test/Analysis/retain-release-region-store.m
vendor/clang/dist/test/Analysis/retain-release.m
vendor/clang/dist/test/Analysis/security-syntax-checks-no-emit.c
vendor/clang/dist/test/Analysis/security-syntax-checks.m
vendor/clang/dist/test/Analysis/self-init.m
vendor/clang/dist/test/Analysis/stack-addr-ps.c
vendor/clang/dist/test/Analysis/stackaddrleak.c
vendor/clang/dist/test/Analysis/stream.c
vendor/clang/dist/test/Analysis/string.c
vendor/clang/dist/test/Analysis/undef-buffers.c
vendor/clang/dist/test/Analysis/uninit-msg-expr.m
vendor/clang/dist/test/Analysis/uninit-ps-rdar6145427.m
vendor/clang/dist/test/Analysis/uninit-vals-ps-region.m
vendor/clang/dist/test/Analysis/uninit-vals-ps.c
vendor/clang/dist/test/Analysis/uninit-vals.m
vendor/clang/dist/test/Analysis/unions-region.m
vendor/clang/dist/test/Analysis/unix-fns.c
vendor/clang/dist/test/Analysis/unreachable-code-path.c
vendor/clang/dist/test/Analysis/unused-ivars.m
vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp
vendor/clang/dist/test/CXX/basic/basic.stc/basic.stc.dynamic/p2.cpp
vendor/clang/dist/test/CXX/class.access/p4.cpp
vendor/clang/dist/test/CXX/class/class.mem/p8-0x.cpp
vendor/clang/dist/test/CXX/class/class.mfct/class.mfct.non-static/p3.cpp
vendor/clang/dist/test/CXX/class/class.union/p1.cpp
vendor/clang/dist/test/CXX/class/p1-0x.cpp
vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.def/p8.cpp
vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp
vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p2.cpp
vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp
vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p13.cpp
vendor/clang/dist/test/CXX/except/except.handle/p16.cpp
vendor/clang/dist/test/CXX/except/except.spec/p14.cpp
vendor/clang/dist/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp
vendor/clang/dist/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp
vendor/clang/dist/test/CXX/expr/expr.unary/expr.unary.op/p6.cpp
vendor/clang/dist/test/CXX/over/over.over/p2-resolve-single-template-id.cpp
vendor/clang/dist/test/CXX/special/class.copy/p33-0x.cpp
vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/multi-level-substitution.cpp
vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/p4.cpp
vendor/clang/dist/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3-nodeduct.cpp
vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp
vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p2.cpp
vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p1-emit.cpp
vendor/clang/dist/test/CodeCompletion/ordinary-name.cpp
vendor/clang/dist/test/CodeGen/2008-07-17-no-emit-on-error.c
vendor/clang/dist/test/CodeGen/altivec.c
vendor/clang/dist/test/CodeGen/atomic.c
vendor/clang/dist/test/CodeGen/builtin-attributes.c
vendor/clang/dist/test/CodeGen/builtin-expect.c
vendor/clang/dist/test/CodeGen/builtin-memfns.c
vendor/clang/dist/test/CodeGen/builtins-ppc-altivec.c
vendor/clang/dist/test/CodeGen/builtins-x86.c
vendor/clang/dist/test/CodeGen/builtins.c
vendor/clang/dist/test/CodeGen/char-literal.c
vendor/clang/dist/test/CodeGen/conditional.c
vendor/clang/dist/test/CodeGen/const-init.c
vendor/clang/dist/test/CodeGen/darwin-string-literals.c
vendor/clang/dist/test/CodeGen/decl.c
vendor/clang/dist/test/CodeGen/ext-vector.c
vendor/clang/dist/test/CodeGen/integer-overflow.c
vendor/clang/dist/test/CodeGen/mangle.c
vendor/clang/dist/test/CodeGen/mult-alt-x86.c
vendor/clang/dist/test/CodeGen/regparm-flag.c
vendor/clang/dist/test/CodeGen/union.c
vendor/clang/dist/test/CodeGen/x86_64-arguments.c
vendor/clang/dist/test/CodeGenCXX/PR5863-unreachable-block.cpp
vendor/clang/dist/test/CodeGenCXX/anonymous-namespaces.cpp
vendor/clang/dist/test/CodeGenCXX/anonymous-union-member-initializer.cpp
vendor/clang/dist/test/CodeGenCXX/arm.cpp
vendor/clang/dist/test/CodeGenCXX/blocks.cpp
vendor/clang/dist/test/CodeGenCXX/class-layout.cpp
vendor/clang/dist/test/CodeGenCXX/debug-info-byval.cpp
vendor/clang/dist/test/CodeGenCXX/debug-info-namespace.cpp
vendor/clang/dist/test/CodeGenCXX/debug-info-template.cpp
vendor/clang/dist/test/CodeGenCXX/derived-to-virtual-base-class-calls-final.cpp
vendor/clang/dist/test/CodeGenCXX/destructors.cpp
vendor/clang/dist/test/CodeGenCXX/devirtualize-virtual-function-calls.cpp
vendor/clang/dist/test/CodeGenCXX/dynamic-cast.cpp
vendor/clang/dist/test/CodeGenCXX/eh.cpp
vendor/clang/dist/test/CodeGenCXX/exceptions-no-rtti.cpp
vendor/clang/dist/test/CodeGenCXX/exceptions.cpp
vendor/clang/dist/test/CodeGenCXX/explicit-instantiation.cpp
vendor/clang/dist/test/CodeGenCXX/global-init.cpp
vendor/clang/dist/test/CodeGenCXX/goto.cpp
vendor/clang/dist/test/CodeGenCXX/mangle-exprs.cpp
vendor/clang/dist/test/CodeGenCXX/mangle-subst-std.cpp
vendor/clang/dist/test/CodeGenCXX/mangle.cpp
vendor/clang/dist/test/CodeGenCXX/member-function-pointers.cpp
vendor/clang/dist/test/CodeGenCXX/nrvo.cpp
vendor/clang/dist/test/CodeGenCXX/pointers-to-data-members.cpp
vendor/clang/dist/test/CodeGenCXX/pragma-pack.cpp
vendor/clang/dist/test/CodeGenCXX/references.cpp
vendor/clang/dist/test/CodeGenCXX/specialized-static-data-mem-init.cpp
vendor/clang/dist/test/CodeGenCXX/static-data-member.cpp
vendor/clang/dist/test/CodeGenCXX/static-init-3.cpp
vendor/clang/dist/test/CodeGenCXX/static-init.cpp
vendor/clang/dist/test/CodeGenCXX/template-inner-struct-visibility-hidden.cpp
vendor/clang/dist/test/CodeGenCXX/threadsafe-statics-exceptions.cpp
vendor/clang/dist/test/CodeGenCXX/threadsafe-statics.cpp
vendor/clang/dist/test/CodeGenCXX/throw-expression-dtor.cpp
vendor/clang/dist/test/CodeGenCXX/throw-expressions.cpp
vendor/clang/dist/test/CodeGenCXX/try-catch.cpp
vendor/clang/dist/test/CodeGenCXX/value-init.cpp
vendor/clang/dist/test/CodeGenCXX/visibility.cpp
vendor/clang/dist/test/CodeGenCXX/vtable-debug-info.cpp
vendor/clang/dist/test/CodeGenCXX/vtable-layout.cpp
vendor/clang/dist/test/CodeGenCXX/vtable-linkage.cpp
vendor/clang/dist/test/CodeGenCXX/x86_64-arguments.cpp
vendor/clang/dist/test/CodeGenObjC/atomic-aggregate-property.m
vendor/clang/dist/test/CodeGenObjC/bitfield-access.m
vendor/clang/dist/test/CodeGenObjC/blocks.m
vendor/clang/dist/test/CodeGenObjC/constant-strings.m
vendor/clang/dist/test/CodeGenObjC/debug-info-foreach.m
vendor/clang/dist/test/CodeGenObjC/debug-info-getter-name.m
vendor/clang/dist/test/CodeGenObjC/fpret.m
vendor/clang/dist/test/CodeGenObjC/messages.m
vendor/clang/dist/test/CodeGenObjC/metadata-symbols-64.m
vendor/clang/dist/test/CodeGenObjC/metadata_symbols.m
vendor/clang/dist/test/CodeGenObjC/property-agrr-getter.m
vendor/clang/dist/test/CodeGenObjCXX/exceptions.mm
vendor/clang/dist/test/CodeGenObjCXX/ivar-objects.mm
vendor/clang/dist/test/CodeGenObjCXX/references.mm
vendor/clang/dist/test/Coverage/ast-printing.c
vendor/clang/dist/test/Coverage/ast-printing.cpp
vendor/clang/dist/test/Coverage/html-diagnostics.c
vendor/clang/dist/test/Driver/apple-kext-mkernel.c
vendor/clang/dist/test/Driver/ast.c
vendor/clang/dist/test/Driver/cc-print-options.c
vendor/clang/dist/test/Driver/clang-translation.c
vendor/clang/dist/test/Driver/clang_f_opts.c
vendor/clang/dist/test/Driver/darwin-cc.c
vendor/clang/dist/test/Driver/darwin-dsymutil.c
vendor/clang/dist/test/Driver/darwin-ld.c
vendor/clang/dist/test/Driver/darwin-version.c
vendor/clang/dist/test/Driver/darwin-xarch.c
vendor/clang/dist/test/Driver/hello.c
vendor/clang/dist/test/Driver/sysroot-flags.c
vendor/clang/dist/test/FixIt/fixit-cxx0x.cpp
vendor/clang/dist/test/FixIt/fixit-unrecoverable.c
vendor/clang/dist/test/FixIt/fixit.c
vendor/clang/dist/test/FixIt/fixit.cpp
vendor/clang/dist/test/FixIt/typo.c
vendor/clang/dist/test/FixIt/typo.cpp
vendor/clang/dist/test/FixIt/typo.m
vendor/clang/dist/test/Frontend/dependency-gen.c
vendor/clang/dist/test/Index/TestClassDecl.m
vendor/clang/dist/test/Index/annotate-nested-name-specifier.cpp
vendor/clang/dist/test/Index/annotate-tokens.c
vendor/clang/dist/test/Index/annotate-tokens.cpp
vendor/clang/dist/test/Index/annotate-tokens.m
vendor/clang/dist/test/Index/blocks.c
vendor/clang/dist/test/Index/c-index-api-loadTU-test.m
vendor/clang/dist/test/Index/c-index-getCursor-test.m
vendor/clang/dist/test/Index/cindex-on-invalid.m
vendor/clang/dist/test/Index/complete-objc-message.m
vendor/clang/dist/test/Index/complete-properties.m
vendor/clang/dist/test/Index/index-templates.cpp
vendor/clang/dist/test/Index/invalid-rdar-8236270.cpp
vendor/clang/dist/test/Index/load-classes.cpp
vendor/clang/dist/test/Index/load-exprs.c
vendor/clang/dist/test/Index/load-namespaces.cpp
vendor/clang/dist/test/Index/load-stmts.cpp
vendor/clang/dist/test/Index/local-symbols.m
vendor/clang/dist/test/Index/nested-binaryoperators.cpp
vendor/clang/dist/test/Index/overrides.cpp
vendor/clang/dist/test/Index/preamble-reparse-chained.c
vendor/clang/dist/test/Index/preamble.c
vendor/clang/dist/test/Index/rdar-8288645-invalid-code.mm
vendor/clang/dist/test/Index/recursive-cxx-member-calls.cpp
vendor/clang/dist/test/Index/recursive-member-access.c
vendor/clang/dist/test/Index/remap-load.c
vendor/clang/dist/test/Index/usrs-cxx0x.cpp
vendor/clang/dist/test/Index/usrs.cpp
vendor/clang/dist/test/Index/usrs.m
vendor/clang/dist/test/Lexer/has_feature_cxx0x.cpp
vendor/clang/dist/test/Lexer/pragma-message.c
vendor/clang/dist/test/Makefile
vendor/clang/dist/test/Misc/caret-diags-macros.c
vendor/clang/dist/test/PCH/chain-cxx.cpp
vendor/clang/dist/test/PCH/cxx-templates.cpp
vendor/clang/dist/test/PCH/cxx-templates.h
vendor/clang/dist/test/PCH/cxx_exprs.cpp
vendor/clang/dist/test/PCH/exprs.c
vendor/clang/dist/test/PCH/exprs.h
vendor/clang/dist/test/PCH/headersearch.cpp
vendor/clang/dist/test/PCH/objcxx-ivar-class.h
vendor/clang/dist/test/PCH/pragma-diag-section.cpp
vendor/clang/dist/test/PCH/pragma-diag.c
vendor/clang/dist/test/PCH/rdar8852495.c
vendor/clang/dist/test/PCH/reloc.c
vendor/clang/dist/test/PCH/source-manager-stack.c
vendor/clang/dist/test/Parser/MicrosoftExtensions.c
vendor/clang/dist/test/Parser/MicrosoftExtensions.cpp
vendor/clang/dist/test/Parser/altivec.c
vendor/clang/dist/test/Parser/cxx-casting.cpp
vendor/clang/dist/test/Parser/cxx-decl.cpp
vendor/clang/dist/test/Parser/cxx-stmt.cpp
vendor/clang/dist/test/Parser/cxx-throw.cpp
vendor/clang/dist/test/Parser/cxx0x-attributes.cpp
vendor/clang/dist/test/Parser/cxx0x-override-control-keywords.cpp
vendor/clang/dist/test/Parser/expressions.c
vendor/clang/dist/test/Parser/objc-missing-impl.m
vendor/clang/dist/test/Parser/selector-1.m
vendor/clang/dist/test/Parser/switch-recovery.cpp
vendor/clang/dist/test/Preprocessor/init.c
vendor/clang/dist/test/Preprocessor/pragma-pushpop-macro.c
vendor/clang/dist/test/Preprocessor/pragma_diagnostic_sections.cpp
vendor/clang/dist/test/Preprocessor/pragma_unknown.c
vendor/clang/dist/test/Preprocessor/stdint.c
vendor/clang/dist/test/Rewriter/rewrite-block-pointer.mm
vendor/clang/dist/test/Sema/align-x86-64.c
vendor/clang/dist/test/Sema/align-x86.c
vendor/clang/dist/test/Sema/altivec-init.c
vendor/clang/dist/test/Sema/annotate.c
vendor/clang/dist/test/Sema/anonymous-struct-union.c
vendor/clang/dist/test/Sema/arm-layout.c
vendor/clang/dist/test/Sema/attr-cleanup.c
vendor/clang/dist/test/Sema/attr-naked.c
vendor/clang/dist/test/Sema/attr-nodebug.c
vendor/clang/dist/test/Sema/attr-noinline.c
vendor/clang/dist/test/Sema/attr-noreturn.c
vendor/clang/dist/test/Sema/attr-regparm.c
vendor/clang/dist/test/Sema/attr-unused.c
vendor/clang/dist/test/Sema/block-args.c
vendor/clang/dist/test/Sema/builtins.c
vendor/clang/dist/test/Sema/c89.c
vendor/clang/dist/test/Sema/callingconv.c
vendor/clang/dist/test/Sema/const-eval.c
vendor/clang/dist/test/Sema/constructor-attribute.c
vendor/clang/dist/test/Sema/conversion.c
vendor/clang/dist/test/Sema/expr-address-of.c
vendor/clang/dist/test/Sema/exprs.c
vendor/clang/dist/test/Sema/format-strings-fixit.c
vendor/clang/dist/test/Sema/function-redecl.c
vendor/clang/dist/test/Sema/incomplete-call.c
vendor/clang/dist/test/Sema/knr-def-call.c
vendor/clang/dist/test/Sema/missing-field-initializers.c
vendor/clang/dist/test/Sema/neon-vector-types.c
vendor/clang/dist/test/Sema/parentheses.c
vendor/clang/dist/test/Sema/sentinel-attribute.c
vendor/clang/dist/test/Sema/shift.c
vendor/clang/dist/test/Sema/struct-decl.c
vendor/clang/dist/test/Sema/uninit-variables.c
vendor/clang/dist/test/Sema/vector-ops.c
vendor/clang/dist/test/Sema/warn-gnu-designators.c
vendor/clang/dist/test/Sema/warn-unused-function.c
vendor/clang/dist/test/Sema/warn-unused-value.c
vendor/clang/dist/test/Sema/warn-write-strings.c
vendor/clang/dist/test/SemaCXX/MicrosoftExtensions.cpp
vendor/clang/dist/test/SemaCXX/addr-of-overloaded-function.cpp
vendor/clang/dist/test/SemaCXX/alignof-sizeof-reference.cpp
vendor/clang/dist/test/SemaCXX/altivec.cpp
vendor/clang/dist/test/SemaCXX/array-bounds.cpp
vendor/clang/dist/test/SemaCXX/attr-nonnull.cpp
vendor/clang/dist/test/SemaCXX/attr-unavailable.cpp
vendor/clang/dist/test/SemaCXX/conditional-expr.cpp
vendor/clang/dist/test/SemaCXX/conversion-function.cpp
vendor/clang/dist/test/SemaCXX/decltype-overloaded-functions.cpp
vendor/clang/dist/test/SemaCXX/destructor.cpp
vendor/clang/dist/test/SemaCXX/enum-scoped.cpp
vendor/clang/dist/test/SemaCXX/exception-spec-no-exceptions.cpp
vendor/clang/dist/test/SemaCXX/exceptions.cpp
vendor/clang/dist/test/SemaCXX/flexible-array-test.cpp
vendor/clang/dist/test/SemaCXX/friend.cpp
vendor/clang/dist/test/SemaCXX/init-priority-attr.cpp
vendor/clang/dist/test/SemaCXX/libstdcxx_is_pod_hack.cpp
vendor/clang/dist/test/SemaCXX/literal-type.cpp
vendor/clang/dist/test/SemaCXX/member-expr.cpp
vendor/clang/dist/test/SemaCXX/member-pointers-2.cpp
vendor/clang/dist/test/SemaCXX/nested-name-spec-locations.cpp
vendor/clang/dist/test/SemaCXX/nullptr.cpp
vendor/clang/dist/test/SemaCXX/overloaded-name.cpp
vendor/clang/dist/test/SemaCXX/overloaded-operator.cpp
vendor/clang/dist/test/SemaCXX/pseudo-destructors.cpp
vendor/clang/dist/test/SemaCXX/ptrtomember.cpp
vendor/clang/dist/test/SemaCXX/reinterpret-cast.cpp
vendor/clang/dist/test/SemaCXX/return-noreturn.cpp
vendor/clang/dist/test/SemaCXX/return.cpp
vendor/clang/dist/test/SemaCXX/rval-references.cpp
vendor/clang/dist/test/SemaCXX/scope-check.cpp
vendor/clang/dist/test/SemaCXX/sourceranges.cpp
vendor/clang/dist/test/SemaCXX/static-cast.cpp
vendor/clang/dist/test/SemaCXX/storage-class.cpp
vendor/clang/dist/test/SemaCXX/type-traits.cpp
vendor/clang/dist/test/SemaCXX/uninit-variables.cpp
vendor/clang/dist/test/SemaCXX/uninitialized.cpp
vendor/clang/dist/test/SemaCXX/unreachable-catch-clauses.cpp
vendor/clang/dist/test/SemaCXX/unreachable-code.cpp
vendor/clang/dist/test/SemaCXX/unused-functions.cpp
vendor/clang/dist/test/SemaCXX/vtable-instantiation.cc
vendor/clang/dist/test/SemaCXX/warn-assignment-condition.cpp
vendor/clang/dist/test/SemaCXX/warn-global-constructors.cpp
vendor/clang/dist/test/SemaCXX/warn-literal-conversion.cpp
vendor/clang/dist/test/SemaCXX/warn-missing-prototypes.cpp
vendor/clang/dist/test/SemaCXX/warn-overloaded-virtual.cpp
vendor/clang/dist/test/SemaCXX/warn-shadow.cpp
vendor/clang/dist/test/SemaCXX/warn-unreachable.cpp
vendor/clang/dist/test/SemaCXX/warn-unused-filescoped.cpp
vendor/clang/dist/test/SemaCXX/writable-strings-deprecated.cpp
vendor/clang/dist/test/SemaObjC/attr-objc-gc.m
vendor/clang/dist/test/SemaObjC/block-type-safety.m
vendor/clang/dist/test/SemaObjC/call-super-2.m
vendor/clang/dist/test/SemaObjC/comptypes-4.m
vendor/clang/dist/test/SemaObjC/exprs.m
vendor/clang/dist/test/SemaObjC/foreach.m
vendor/clang/dist/test/SemaObjC/format-arg-attribute.m
vendor/clang/dist/test/SemaObjC/iboutletcollection-attr.m
vendor/clang/dist/test/SemaObjC/idiomatic-parentheses.m
vendor/clang/dist/test/SemaObjC/ignore-weakimport-method.m
vendor/clang/dist/test/SemaObjC/ivar-lookup.m
vendor/clang/dist/test/SemaObjC/method-bad-param.m
vendor/clang/dist/test/SemaObjC/method-not-defined.m
vendor/clang/dist/test/SemaObjC/method-prototype-scope.m
vendor/clang/dist/test/SemaObjC/method-sentinel-attr.m
vendor/clang/dist/test/SemaObjC/nonnull.m
vendor/clang/dist/test/SemaObjC/property-13.m
vendor/clang/dist/test/SemaObjC/protocol-attribute.m
vendor/clang/dist/test/SemaObjC/sizeof-interface.m
vendor/clang/dist/test/SemaObjC/special-dep-unavail-warning.m
vendor/clang/dist/test/SemaObjC/uninit-variables.m
vendor/clang/dist/test/SemaObjC/warn-write-strings.m
vendor/clang/dist/test/SemaObjC/weak-attr-ivar.m
vendor/clang/dist/test/SemaObjCXX/exceptions-fragile.mm
vendor/clang/dist/test/SemaObjCXX/objc-pointer-conv.mm
vendor/clang/dist/test/SemaObjCXX/overload.mm
vendor/clang/dist/test/SemaObjCXX/parameters.mm
vendor/clang/dist/test/SemaObjCXX/propert-dot-error.mm
vendor/clang/dist/test/SemaObjCXX/references.mm
vendor/clang/dist/test/SemaOpenCL/extension-fp64.cl
vendor/clang/dist/test/SemaTemplate/deduction-crash.cpp
vendor/clang/dist/test/SemaTemplate/dependent-template-recover.cpp
vendor/clang/dist/test/SemaTemplate/destructor-template.cpp
vendor/clang/dist/test/SemaTemplate/explicit-instantiation.cpp
vendor/clang/dist/test/SemaTemplate/instantiate-cast.cpp
vendor/clang/dist/test/SemaTemplate/instantiate-expr-4.cpp
vendor/clang/dist/test/SemaTemplate/instantiate-function-1.cpp
vendor/clang/dist/test/SemaTemplate/instantiate-member-class.cpp
vendor/clang/dist/test/SemaTemplate/instantiate-member-template.cpp
vendor/clang/dist/test/SemaTemplate/instantiate-try-catch.cpp
vendor/clang/dist/test/SemaTemplate/nested-name-spec-template.cpp
vendor/clang/dist/test/SemaTemplate/temp_arg_template.cpp
vendor/clang/dist/test/SemaTemplate/typename-specifier-4.cpp
vendor/clang/dist/test/lit.cfg
vendor/clang/dist/tools/c-index-test/Makefile
vendor/clang/dist/tools/c-index-test/c-index-test.c
vendor/clang/dist/tools/driver/CMakeLists.txt
vendor/clang/dist/tools/driver/Makefile
vendor/clang/dist/tools/driver/cc1_main.cpp
vendor/clang/dist/tools/driver/cc1as_main.cpp
vendor/clang/dist/tools/driver/driver.cpp
vendor/clang/dist/tools/libclang/CIndex.cpp
vendor/clang/dist/tools/libclang/CIndexCodeCompletion.cpp
vendor/clang/dist/tools/libclang/CIndexInclusionStack.cpp
vendor/clang/dist/tools/libclang/CIndexUSRs.cpp
vendor/clang/dist/tools/libclang/CIndexer.cpp
vendor/clang/dist/tools/libclang/CMakeLists.txt
vendor/clang/dist/tools/libclang/CXCursor.cpp
vendor/clang/dist/tools/libclang/libclang.darwin.exports
vendor/clang/dist/tools/libclang/libclang.exports
vendor/clang/dist/tools/scan-build/ccc-analyzer
vendor/clang/dist/tools/scan-build/scan-build
vendor/clang/dist/unittests/CMakeLists.txt
vendor/clang/dist/utils/CmpDriver
vendor/clang/dist/utils/OptionalTests/Extra/Runtime/darwin-clang_rt.c
vendor/clang/dist/www/OpenProjects.html
vendor/clang/dist/www/analyzer/latest_checker.html.incl
vendor/clang/dist/www/analyzer/release_notes.html
vendor/clang/dist/www/analyzer/scan-build.html
vendor/clang/dist/www/cxx_status.html
vendor/clang/dist/www/get_started.html
vendor/clang/dist/www/hacking.html
Modified: vendor/clang/dist/CMakeLists.txt
==============================================================================
--- vendor/clang/dist/CMakeLists.txt Mon May 2 19:37:33 2011 (r221338)
+++ vendor/clang/dist/CMakeLists.txt Mon May 2 19:39:53 2011 (r221339)
@@ -30,7 +30,7 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
include(AddLLVM)
include(TableGen)
- include("${CLANG_PATH_TO_LLVM_BUILD}/share/llvm/cmake/LLVM.cmake")
+ include("${CLANG_PATH_TO_LLVM_BUILD}/share/llvm/cmake/LLVMConfig.cmake")
include(HandleLLVMOptions)
set(PACKAGE_VERSION "${LLVM_PACKAGE_VERSION}")
@@ -40,9 +40,6 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
set(CMAKE_INCLUDE_CURRENT_DIR ON)
include_directories("${PATH_TO_LLVM_BUILD}/include" "${LLVM_MAIN_INCLUDE_DIR}")
- if( NOT PATH_TO_LLVM_BUILD STREQUAL LLVM_MAIN_SRC_DIR )
- include_directories("${LLVM_MAIN_INCLUDE_DIR}")
- endif()
link_directories("${PATH_TO_LLVM_BUILD}/lib")
set(LLVM_TABLEGEN_EXE "${PATH_TO_LLVM_BUILD}/bin/tblgen")
@@ -174,23 +171,12 @@ macro(add_clang_library name)
if( LLVM_COMMON_DEPENDS )
add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} )
endif( LLVM_COMMON_DEPENDS )
- if( LLVM_USED_LIBS )
- foreach(lib ${LLVM_USED_LIBS})
- target_link_libraries( ${name} ${lib} )
- endforeach(lib)
- endif( LLVM_USED_LIBS )
- if( LLVM_LINK_COMPONENTS )
- llvm_config(${name} ${LLVM_LINK_COMPONENTS})
- endif( LLVM_LINK_COMPONENTS )
- if (LLVM_COMMON_LIBS)
- target_link_libraries(${name} ${LLVM_COMMON_LIBS})
- endif()
- if( NOT MINGW )
- get_system_libs(llvm_system_libs)
- if( llvm_system_libs )
- target_link_libraries(${name} ${llvm_system_libs})
- endif()
- endif()
+
+ target_link_libraries( ${name} ${LLVM_USED_LIBS} )
+ llvm_config( ${name} ${LLVM_LINK_COMPONENTS} )
+ target_link_libraries( ${name} ${LLVM_COMMON_LIBS} )
+ link_system_libs( ${name} )
+
add_dependencies(${name} ClangDiagnosticCommon)
if(MSVC)
get_target_property(cflag ${name} COMPILE_FLAGS)
@@ -211,9 +197,9 @@ macro(add_clang_executable name)
set_target_properties(${name} PROPERTIES FOLDER "Clang executables")
endmacro(add_clang_executable)
-include_directories(
- ${CMAKE_CURRENT_SOURCE_DIR}/include
+include_directories(BEFORE
${CMAKE_CURRENT_BINARY_DIR}/include
+ ${CMAKE_CURRENT_SOURCE_DIR}/include
)
install(DIRECTORY include/
@@ -221,7 +207,6 @@ install(DIRECTORY include/
FILES_MATCHING
PATTERN "*.def"
PATTERN "*.h"
- PATTERN "*.td"
PATTERN ".svn" EXCLUDE
)
Modified: vendor/clang/dist/Makefile
==============================================================================
--- vendor/clang/dist/Makefile Mon May 2 19:37:33 2011 (r221338)
+++ vendor/clang/dist/Makefile Mon May 2 19:39:53 2011 (r221339)
@@ -46,6 +46,9 @@ CPP.Flags += -I$(PROJ_SRC_DIR)/$(CLANG_L
ifdef CLANG_VENDOR
CPP.Flags += -DCLANG_VENDOR='"$(CLANG_VENDOR) "'
endif
+ifdef CLANG_REPOSITORY_STRING
+CPP.Flags += -DCLANG_REPOSITORY_STRING='"$(CLANG_REPOSITORY_STRING)"'
+endif
# Disable -fstrict-aliasing. Darwin disables it by default (and LLVM doesn't
# work with it enabled with GCC), Clang/llvm-gcc don't support it yet, and newer
Modified: vendor/clang/dist/docs/DriverInternals.html
==============================================================================
--- vendor/clang/dist/docs/DriverInternals.html Mon May 2 19:37:33 2011 (r221338)
+++ vendor/clang/dist/docs/DriverInternals.html Mon May 2 19:39:53 2011 (r221339)
@@ -88,7 +88,7 @@
<h3 id="components">Flexible</h3>
<!--=======================================================================-->
- <p>The driver was designed to be flexible and easily accomodate
+ <p>The driver was designed to be flexible and easily accommodate
new uses as we grow the clang and LLVM infrastructure. As one
example, the driver can easily support the introduction of
tools which have an integrated assembler; something we hope to
@@ -218,7 +218,7 @@
<p>The clang driver can dump the results of this
stage using the <tt>-ccc-print-options</tt> flag (which
- must preceed any actual command line arguments). For
+ must precede any actual command line arguments). For
example:</p>
<pre>
$ <b>clang -ccc-print-options -Xarch_i386 -fomit-frame-pointer -Wa,-fast -Ifoo -I foo t.c</b>
@@ -490,7 +490,7 @@
<li>
<b>Specs</b>
- <p>The clang driver has no direct correspondant for
+ <p>The clang driver has no direct correspondent for
"specs". The majority of the functionality that is
embedded in specs is in the Tool specific argument
translation routines. The parts of specs which control the
Modified: vendor/clang/dist/docs/InternalsManual.html
==============================================================================
--- vendor/clang/dist/docs/InternalsManual.html Mon May 2 19:37:33 2011 (r221338)
+++ vendor/clang/dist/docs/InternalsManual.html Mon May 2 19:39:53 2011 (r221339)
@@ -412,7 +412,7 @@ it is rendered.
</p>
<!-- ==================================================== -->
-<h4 id="code-modification-hints">Code Modification Hints</h4>
+<h4 id="fix-it-hints">Fix-It Hints</h4>
<!-- ==================================================== -->
<p>In some cases, the front end emits diagnostics when it is clear
@@ -422,14 +422,14 @@ deprecated syntax that is easily rewritt
Clang tries very hard to emit the diagnostic and recover gracefully
in these and other cases.</p>
-<p>However, for these cases where the fix is obvious, the diagnostic
-can be annotated with a code
-modification "hint" that describes how to change the code referenced
-by the diagnostic to fix the problem. For example, it might add the
-missing semicolon at the end of the statement or rewrite the use of a
-deprecated construct into something more palatable. Here is one such
-example C++ front end, where we warn about the right-shift operator
-changing meaning from C++98 to C++0x:</p>
+<p>However, for these cases where the fix is obvious, the diagnostic
+can be annotated with a hint (referred to as a "fix-it hint") that
+describes how to change the code referenced by the diagnostic to fix
+the problem. For example, it might add the missing semicolon at the
+end of the statement or rewrite the use of a deprecated construct
+into something more palatable. Here is one such example from the C++
+front end, where we warn about the right-shift operator changing
+meaning from C++98 to C++0x:</p>
<pre>
test.cpp:3:7: warning: use of right-shift operator ('>>') in template argument will require parentheses in C++0x
@@ -438,33 +438,31 @@ A<100 >> 2> *a;
( )
</pre>
-<p>Here, the code modification hint is suggesting that parentheses be
-added, and showing exactly where those parentheses would be inserted
-into the source code. The code modification hints themselves describe
-what changes to make to the source code in an abstract manner, which
-the text diagnostic printer renders as a line of "insertions" below
-the caret line. <a href="#DiagnosticClient">Other diagnostic
-clients</a> might choose to render the code differently (e.g., as
-markup inline) or even give the user the ability to automatically fix
-the problem.</p>
-
-<p>All code modification hints are described by the
-<code>CodeModificationHint</code> class, instances of which should be
-attached to the diagnostic using the << operator in the same way
-that highlighted source ranges and arguments are passed to the
-diagnostic. Code modification hints can be created with one of three
-constructors:</p>
+<p>Here, the fix-it hint is suggesting that parentheses be added,
+and showing exactly where those parentheses would be inserted into the
+source code. The fix-it hints themselves describe what changes to make
+to the source code in an abstract manner, which the text diagnostic
+printer renders as a line of "insertions" below the caret line. <a
+href="#DiagnosticClient">Other diagnostic clients</a> might choose
+to render the code differently (e.g., as markup inline) or even give
+the user the ability to automatically fix the problem.</p>
+
+<p>All fix-it hints are described by the <code>FixItHint</code> class,
+instances of which should be attached to the diagnostic using the
+<< operator in the same way that highlighted source ranges and
+arguments are passed to the diagnostic. Fix-it hints can be created
+with one of three constructors:</p>
<dl>
- <dt><code>CodeModificationHint::CreateInsertion(Loc, Code)</code></dt>
+ <dt><code>FixItHint::CreateInsertion(Loc, Code)</code></dt>
<dd>Specifies that the given <code>Code</code> (a string) should be inserted
before the source location <code>Loc</code>.</dd>
- <dt><code>CodeModificationHint::CreateRemoval(Range)</code></dt>
+ <dt><code>FixItHint::CreateRemoval(Range)</code></dt>
<dd>Specifies that the code in the given source <code>Range</code>
should be removed.</dd>
- <dt><code>CodeModificationHint::CreateReplacement(Range, Code)</code></dt>
+ <dt><code>FixItHint::CreateReplacement(Range, Code)</code></dt>
<dd>Specifies that the code in the given source <code>Range</code>
should be removed, and replaced with the given <code>Code</code> string.</dd>
</dl>
@@ -821,7 +819,7 @@ code is vectorized on X86 and PowerPC ho
within the filename.</li>
<li>When parsing a preprocessor directive (after "<tt>#</tt>") the
ParsingPreprocessorDirective mode is entered. This changes the parser to
- return EOM at a newline.</li>
+ return EOD at a newline.</li>
<li>The Lexer uses a LangOptions object to know whether trigraphs are enabled,
whether C++ or ObjC keywords are recognized, etc.</li>
</ul>
Modified: vendor/clang/dist/docs/LanguageExtensions.html
==============================================================================
--- vendor/clang/dist/docs/LanguageExtensions.html Mon May 2 19:37:33 2011 (r221338)
+++ vendor/clang/dist/docs/LanguageExtensions.html Mon May 2 19:39:53 2011 (r221339)
@@ -38,6 +38,8 @@ td {
<li><a href="#cxx_deleted_functions">C++0x deleted functions</a></li>
<li><a href="#cxx_lambdas">C++0x lambdas</a></li>
<li><a href="#cxx_nullptr">C++0x nullptr</a></li>
+ <li><a href="#cxx_override_control">C++0x override control</a></li>
+ <li><a href="#cxx_range_for">C++0x range-based for loop</a></li>
<li><a href="#cxx_rvalue_references">C++0x rvalue references</a></li>
<li><a href="#cxx_reference_qualified_functions">C++0x reference-qualified functions</a></li>
<li><a href="#cxx_static_assert">C++0x <tt>static_assert()</tt></a></li>
@@ -46,14 +48,17 @@ td {
<li><a href="#cxx_inline_namespaces">C++0x inline namespaces</a></li>
<li><a href="#cxx_strong_enums">C++0x strongly-typed enumerations</a></li>
<li><a href="#cxx_trailing_return">C++0x trailing return type</a></li>
+ <li><a href="#cxx_noexcept">C++0x noexcept specification</a></li>
</ul>
<li><a href="#checking_type_traits">Checks for Type Traits</a></li>
<li><a href="#blocks">Blocks</a></li>
<li><a href="#overloading-in-c">Function Overloading in C</a></li>
+<li><a href="#generic-selections">Generic Selections</a></li>
<li><a href="#builtins">Builtin Functions</a>
<ul>
<li><a href="#__builtin_shufflevector">__builtin_shufflevector</a></li>
<li><a href="#__builtin_unreachable">__builtin_unreachable</a></li>
+ <li><a href="#__sync_swap">__sync_swap</a></li>
</ul>
</li>
<li><a href="#targetspecific">Target-Specific Extensions</a>
@@ -61,11 +66,7 @@ td {
<li><a href="#x86-specific">X86/X86-64 Language Extensions</a></li>
</ul>
</li>
-<li><a href="#analyzerspecific">Static Analysis-Specific Extensions</a>
- <ul>
- <li><a href="#analyzerattributes">Analyzer Attributes</a></li>
- </ul>
-</li>
+<li><a href="#analyzerspecific">Static Analysis-Specific Extensions</a></li>
</ul>
<!-- ======================================================================= -->
@@ -83,7 +84,7 @@ more information on these extensions.</p
<!-- ======================================================================= -->
<p>Language extensions can be very useful, but only if you know you can depend
-on them. In order to allow fine-grain features checks, we support two builtin
+on them. In order to allow fine-grain features checks, we support three builtin
function-like macros. This allows you to directly test for a feature in your
code without having to resort to something like autoconf or fragile "compiler
version checks".</p>
@@ -402,9 +403,19 @@ lambdas is enabled. clang does not curre
<tt>nullptr</tt> is enabled. clang does not yet fully implement this
feature.</p>
+<h3 id="cxx_override_control">C++0x <tt>override control</tt></h3>
+
+<p>Use <tt>__has_feature(cxx_override_control)</tt> to determine if support for
+the override control keywords is enabled.</p>
+
<h3 id="cxx_reference_qualified_functions">C++0x reference-qualified functions</h3>
<p>Use <tt>__has_feature(cxx_reference_qualified_functions)</tt> to determine if support for reference-qualified functions (e.g., member functions with <code>&</code> or <code>&&</code> applied to <code>*this</code>) is enabled.</p>
+<h3 id="cxx_range_for">C++0x range-based for loop</tt></h3>
+
+<p>Use <tt>__has_feature(cxx_range_for)</tt> to determine if support for
+the range-based for loop is enabled. </p>
+
<h3 id="cxx_rvalue_references">C++0x rvalue references</tt></h3>
<p>Use <tt>__has_feature(cxx_rvalue_references)</tt> to determine if support for
@@ -436,6 +447,11 @@ inline namespaces is enabled.</p>
<p>Use <tt>__has_feature(cxx_trailing_return)</tt> to determine if support for
the alternate function declaration syntax with trailing return type is enabled.</p>
+<h3 id="cxx_noexcept">C++0x noexcept</h3>
+
+<p>Use <tt>__has_feature(cxx_noexcept)</tt> to determine if support for
+noexcept exception specifications is enabled.</p>
+
<h3 id="cxx_strong_enums">C++0x strongly typed enumerations</h3>
<p>Use <tt>__has_feature(cxx_strong_enums)</tt> to determine if support for
@@ -595,6 +611,20 @@ caveats to this use of name mangling:</p
<!-- ======================================================================= -->
+<h2 id="generic-selections">Generic Selections</h2>
+<!-- ======================================================================= -->
+
+<p>The C1X generic selection expression is available in all languages
+supported by Clang. The syntax is the same as that given in the C1X draft
+standard.</p>
+
+<p>In C, type compatibility is decided according to the rules given in the
+appropriate standard, but in C++, which lacks the type compatibility rules
+used in C, types are considered compatible only if they are equivalent.</p>
+
+<p>Query for this feature with __has_feature(generic_selections).</p>
+
+<!-- ======================================================================= -->
<h2 id="builtins">Builtin Functions</h2>
<!-- ======================================================================= -->
@@ -703,6 +733,36 @@ no arguments and produces a void result.
<p>Query for this feature with __has_builtin(__builtin_unreachable).</p>
+<!-- ======================================================================= -->
+<h3 id="__sync_swap">__sync_swap</h3>
+<!-- ======================================================================= -->
+
+<p><tt>__sync_swap</tt> is used to atomically swap integers or pointers in
+memory.
+</p>
+
+<p><b>Syntax:</b></p>
+
+<pre>
+<i>type</i> __sync_swap(<i>type</i> *ptr, <i>type</i> value, ...)
+</pre>
+
+<p><b>Example of Use:</b></p>
+
+<pre>
+int old_value = __sync_swap(&value, new_value);
+</pre>
+
+<p><b>Description:</b></p>
+
+<p>The __sync_swap() builtin extends the existing __sync_*() family of atomic
+intrinsics to allow code to atomically swap the current value with the new
+value. More importantly, it helps developers write more efficient and correct
+code by avoiding expensive loops around __sync_bool_compare_and_swap() or
+relying on the platform specific implementation details of
+__sync_lock_test_and_set(). The __sync_swap() builtin is a full barrier.
+</p>
+
<!-- ======================================================================= -->
<h2 id="targetspecific">Target-Specific Extensions</h2>
@@ -754,11 +814,7 @@ are used by the <a
href="http://clang.llvm.org/StaticAnalysis.html">path-sensitive static analyzer
engine</a> that is part of Clang's Analysis library.</p>
-<!-- ======================================================================= -->
-<h3 id="analyzerattributes">Analyzer Attributes</h3>
-<!-- ======================================================================= -->
-
-<h4 id="attr_analyzer_noreturn"><tt>analyzer_noreturn</tt></h4>
+<h3 id="attr_analyzer_noreturn">The <tt>analyzer_noreturn</tt> attribute</h3>
<p>Clang's static analysis engine understands the standard <tt>noreturn</tt>
attribute. This attribute, which is typically affixed to a function prototype,
@@ -786,16 +842,47 @@ placed at the end of function prototypes
void foo() <b>__attribute__((analyzer_noreturn))</b>;
</pre>
-<p>Query for this feature with __has_feature(attribute_analyzer_noreturn).</p>
+<p>Query for this feature with
+<tt>__has_attribute(analyzer_noreturn)</tt>.</p>
+
+<h3 id="attr_method_family">The <tt>objc_method_family</tt> attribute</h3>
-<h4 id="attr_retain_release">Objective-C retaining behavior attributes</h4>
+<p>Many methods in Objective-C have conventional meanings determined
+by their selectors. For the purposes of static analysis, it is
+sometimes useful to be able to mark a method as having a particular
+conventional meaning despite not having the right selector, or as not
+having the conventional meaning that its selector would suggest.
+For these use cases, we provide an attribute to specifically describe
+the <q>method family</q> that a method belongs to.</p>
+
+<p><b>Usage</b>: <tt>__attribute__((objc_method_family(X)))</tt>,
+where <tt>X</tt> is one of <tt>none</tt>, <tt>alloc</tt>, <tt>copy</tt>,
+<tt>init</tt>, <tt>mutableCopy</tt>, or <tt>new</tt>. This attribute
+can only be placed at the end of a method declaration:</p>
+
+<pre>
+ - (NSString*) initMyStringValue <b>__attribute__((objc_method_family(none)))</b>;
+</pre>
+
+<p>Users who do not wish to change the conventional meaning of a
+method, and who merely want to document its non-standard retain and
+release semantics, should use the
+<a href="#attr_retain_release">retaining behavior attributes</a>
+described below.</p>
+
+<p>Query for this feature with
+<tt>__has_attribute(objc_method_family)</tt>.</p>
+
+<h3 id="attr_retain_release">Objective-C retaining behavior attributes</h3>
<p>In Objective-C, functions and methods are generally assumed to take
and return objects with +0 retain counts, with some exceptions for
special methods like <tt>+alloc</tt> and <tt>init</tt>. However,
there are exceptions, and so Clang provides attributes to allow these
exceptions to be documented, which helps the analyzer find leaks (and
-ignore non-leaks).</p>
+ignore non-leaks). Some exceptions may be better described using
+the <a href="#attr_method_family"><tt>objc_method_family</tt></a>
+attribute instead.</p>
<p><b>Usage</b>: The <tt>ns_returns_retained</tt>, <tt>ns_returns_not_retained</tt>,
<tt>ns_returns_autoreleased</tt>, <tt>cf_returns_retained</tt>,
@@ -834,6 +921,9 @@ balance in some way.</p>
- (void) baz: (id) <b>__attribute__((ns_consumed))</b> x;
</pre>
+<p>Query for these features with <tt>__has_attribute(ns_consumed)</tt>,
+<tt>__has_attribute(ns_returns_retained)</tt>, etc.</p>
+
</div>
</body>
</html>
Modified: vendor/clang/dist/docs/UsersManual.html
==============================================================================
--- vendor/clang/dist/docs/UsersManual.html Mon May 2 19:37:33 2011 (r221338)
+++ vendor/clang/dist/docs/UsersManual.html Mon May 2 19:39:53 2011 (r221339)
@@ -32,7 +32,7 @@ td {
</li>
<li><a href="#general_features">Language and Target-Independent Features</a>
<ul>
- <li><a href="#diagnostics">Controlling Errors and Warnings</a></li>
+ <li><a href="#diagnostics">Controlling Errors and Warnings</a>
<ul>
<li><a href="#diagnostics_display">Controlling How Clang Displays Diagnostics</a></li>
<li><a href="#diagnostics_mappings">Diagnostic Mappings</a></li>
@@ -41,9 +41,10 @@ td {
<li><a href="#diagnostics_pragmas">Controlling Diagnostics via Pragmas</a></li>
<li><a href="#analyzer_diagnositics">Controlling Static Analyzer Diagnostics</a></li>
</ul>
+ </li>
<li><a href="#precompiledheaders">Precompiled Headers</a></li>
<li><a href="#codegen">Controlling Code Generation</a></li>
- </ul>
+ </ul>
</li>
<li><a href="#c">C Language Features</a>
<ul>
@@ -67,8 +68,8 @@ td {
<ul>
<li><a href="#target_os_darwin">Darwin (Mac OS/X)</a></li>
<li>Linux, etc.</li>
+ <li><a href="#target_os_win32">Windows</a></li>
</ul>
-
</li>
</ul>
</li>
@@ -205,7 +206,7 @@ diagnostics that it generates.</p>
diagnostic.</dt>
<dd>This option, which defaults to on, controls whether or not Clang prints the
column number of a diagnostic. For example, when this is enabled, Clang will
-print something like:</p>
+print something like:
<pre>
test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
@@ -223,7 +224,7 @@ column number.</p>
source file/line/column information in diagnostic.</dt>
<dd>This option, which defaults to on, controls whether or not Clang prints the
filename, line number and column number of a diagnostic. For example,
-when this is enabled, Clang will print something like:</p>
+when this is enabled, Clang will print something like:
<pre>
test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
@@ -240,7 +241,7 @@ when this is enabled, Clang will print s
line and ranges from source code in diagnostic.</dt>
<dd>This option, which defaults to on, controls whether or not Clang prints the
source line, source ranges, and caret when emitting a diagnostic. For example,
-when this is enabled, Clang will print something like:</p>
+when this is enabled, Clang will print something like:
<pre>
test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
@@ -277,7 +278,7 @@ Enable <tt>[-Woption]</tt> information i
<dd>This option, which defaults to on,
controls whether or not Clang prints the associated <A
href="#cl_diag_warning_groups">warning group</a> option name when outputting
-a warning diagnostic. For example, in this output:</p>
+a warning diagnostic. For example, in this output:
<pre>
test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
@@ -299,7 +300,7 @@ Enable printing category information in
controls whether or not Clang prints the category associated with a diagnostic
when emitting it. Each diagnostic may or many not have an associated category,
if it has one, it is listed in the diagnostic categorization field of the
-diagnostic line (in the []'s).</p>
+diagnostic line (in the []'s).
<p>For example, a format string warning will produce these three renditions
based on the setting of this option:</p>
@@ -322,7 +323,7 @@ hundreds or thousands of them.</p>
Enable "FixIt" information in the diagnostics output.</dt>
<dd>This option, which defaults to on, controls whether or not Clang prints the
information on how to fix a specific diagnostic underneath it when it knows.
-For example, in this output:</p>
+For example, in this output:
<pre>
test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
@@ -345,7 +346,7 @@ Print machine parsable information about
information about source ranges in a machine parsable format after the
file/line/column number information. The information is a simple sequence of
brace enclosed ranges, where each range lists the start and end line/column
-locations. For example, in this output:</p>
+locations. For example, in this output:
<pre>
exprs.c:47:15:{47:8-47:14}{47:17-47:24}: error: invalid operands to binary expression ('int *' and '_Complex float')
@@ -366,7 +367,14 @@ Print Fix-Its in a machine parseable for
fix-it:"t.cpp":{7:25-7:29}:"Gamma"
</pre>
-<p>The range printed is a half-open range, so in this example the characters at column 25 up to but not including column 29 on line 7 in t.cpp should be replaced with the string "Gamma". Either the range or the replacement string may be empty (representing strict insertions and strict erasures, respectively). Both the file name and the insertion string escape backslash (as "\\"), tabs (as "\t"), newlines (as "\n"), double quotes(as "\"") and non-printable characters (as octal "\xxx").</p>
+<p>The range printed is a half-open range, so in this example the characters at
+column 25 up to but not including column 29 on line 7 in t.cpp should be
+replaced with the string "Gamma". Either the range or the replacement
+string may be empty (representing strict insertions and strict erasures,
+respectively). Both the file name and the insertion string escape backslash (as
+"\\"), tabs (as "\t"), newlines (as "\n"), double
+quotes(as "\"") and non-printable characters (as octal
+"\xxx").</p>
</dd>
</dl>
@@ -388,7 +396,7 @@ Print Fix-Its in a machine parseable for
<dt id="opt_Wextra-tokens"><b>-Wextra-tokens</b>: Warn about excess tokens at
the end of a preprocessor directive.</dt>
<dd>This option, which defaults to on, enables warnings about extra tokens at
-the end of preprocessor directives. For example:</p>
+the end of preprocessor directives. For example:
<pre>
test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
@@ -408,7 +416,7 @@ by commenting them out.</p>
Warn about unqualified uses of a member template whose name resolves
to another template at the location of the use.</dt>
<dd>This option, which defaults to on, enables a warning in the
-following code:</p>
+following code:
<pre>
template<typename T> struct set{};
@@ -432,7 +440,7 @@ an extension.</p>
an unusable copy constructor when binding a reference to a temporary.</dt>
<dd>This option, which defaults to on, enables warnings about binding a
reference to a temporary when the temporary doesn't have a usable copy
-constructor. For example:</p>
+constructor. For example:
<pre>
struct NonCopyable {
@@ -484,7 +492,6 @@ and gives you fine-grain control over wh
the ability to print this information, and these are the options that control
it:</p>
-<p>
<ol>
<li>A file/line/column indicator that shows exactly where the diagnostic occurs
in your code [<a href="#opt_fshow-column">-fshow-column</a>, <a
@@ -508,7 +515,7 @@ it:</p>
<li>A machine-parsable representation of the ranges involved (off by
default) [<a
href="opt_fdiagnostics-print-source-range-info">-fdiagnostics-print-source-range-info</a>].</li>
-</ol></p>
+</ol>
<p>For more information please see <a href="#cl_diag_formatting">Formatting of
Diagnostics</a>.</p>
@@ -518,14 +525,13 @@ Diagnostics</a>.</p>
<p>All diagnostics are mapped into one of these 5 classes:</p>
-<p>
<ul>
<li>Ignored</li>
<li>Note</li>
<li>Warning</li>
<li>Error</li>
<li>Fatal</li>
-</ul></p>
+</ul>
<h4 id="diagnostics_categories">Diagnostic Categories</h4>
@@ -735,6 +741,7 @@ likely to affect PCH files that referenc
<p>Clang provides a number of ways to control code generation. The options are listed below.</p>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+<dl>
<dt id="opt_fcatch-undefined-behavior"><b>-fcatch-undefined-behavior</b>: Turn
on runtime code generation to check for undefined behavior.</dt>
@@ -742,7 +749,7 @@ on runtime code generation to check for
adds runtime checks for undefined runtime behavior. If a check fails,
<tt>__builtin_trap()</tt> is used to indicate failure.
The checks are:
-<p>
+<ul>
<li>Subscripting where the static type of one operand is a variable
which is decayed from an array type and the other operand is
greater than the size of the array or less than zero.</li>
@@ -752,7 +759,7 @@ The checks are:
<li>When llvm implements more __builtin_object_size support, reads and
writes for objects that __builtin_object_size indicates we aren't
accessing valid memory. Bit-fields and vectors are not yet checked.
-</p>
+</ul>
</dd>
<dt id="opt_fno-assume-sane-operator-new"><b>-fno-assume-sane-operator-new</b>:
@@ -761,6 +768,19 @@ Don't assume that the C++'s new operator
operator will always return a pointer that does not
alias any other pointer when the function returns.</dd>
+<dt id="opt_ftrap-function"><b>-ftrap-function=[name]</b>: Instruct code
+generator to emit a function call to the specified function name for
+<tt>__builtin_trap()</tt>.</dt>
+
+<dd>LLVM code generator translates <tt>__builtin_trap()</tt> to a trap
+instruction if it is supported by the target ISA. Otherwise, the builtin is
+translated into a call to <tt>abort</tt>. If this option is set, then the code
+generator will always lower the builtin to a call to the specified function
+regardless of whether the target ISA has a trap instruction. This option is
+useful for environments (e.g. deeply embedded) where a trap cannot be properly
+handled, or when some custom behavior is desired.</dd>
+</dl>
+
<!-- ======================================================================= -->
<h2 id="c">C Language Features</h2>
<!-- ======================================================================= -->
@@ -917,6 +937,7 @@ support is incomplete; enabling Microsof
certain constructs (including __declspec and Microsoft-style asm statements).
</p>
+<ul>
<li>clang allows setting _MSC_VER with -fmsc-version=. It defaults to 1300 which
is the same as Visual C/C++ 2003. Any number is supported and can greatly affect
what Windows SDK and c++stdlib headers clang can compile. This option will be
@@ -930,6 +951,7 @@ record members can be declared using use
controlling record layout. GCC also contains support for this feature,
however where MSVC and GCC are incompatible clang follows the MSVC
definition.</li>
+</ul>
<!-- ======================================================================= -->
<h2 id="target_features">Target-Specific Features and Limitations</h2>
@@ -948,6 +970,10 @@ definition.</li>
(Mac OS/X), Linux, FreeBSD, and Dragonfly BSD: it has been tested to correctly
compile many large C, C++, Objective-C, and Objective-C++ codebases.</p>
+<p>On x86_64-mingw32, passing i128(by value) is incompatible to Microsoft x64
+calling conversion. You might need to tweak WinX86_64ABIInfo::classify()
+in lib/CodeGen/TargetInfo.cpp.</p>
+
<!-- ======================== -->
<h4 id="target_arch_arm">ARM</h4>
<!-- ======================== -->
@@ -985,6 +1011,44 @@ Generating assembly requires a suitable
<p>No __thread support, 64-bit ObjC support requires SL tools.</p>
+<!-- ======================================= -->
+<h4 id="target_os_win32">Windows</h4>
+<!-- ======================================= -->
+
+<p>Experimental supports are on Cygming.</p>
+
+<h5>Cygwin</h5>
+
+<p>Clang works on Cygwin-1.7.</p>
+
+<h5>MinGW32</h5>
+
+<p>Clang works on some mingw32 distributions.
+Clang assumes directories as below;</p>
+
+<ul>
+<li><tt>C:/mingw/include</tt></li>
+<li><tt>C:/mingw/lib</tt></li>
+<li><tt>C:/mingw/lib/gcc/mingw32/4.[3-5].0/include/c++</tt></li>
+</ul>
+
+<p>On MSYS, a few tests might fail. It is due to <a href="http://llvm.org/bugs/show_bug.cgi?id=8520">Bug 8520</a> and is fixed in <a href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110314/118106.html">LLVM's r127724</a>.</p>
+
+<h5>MinGW-w64</h5>
+
+<p>For x32(i686-w64-mingw32), it is not supported yet.</p>
+
+<p>For x64(x86_64-w64-mingw32), <a href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110321/118499.html">an essential patch(LLVM's r128206)</a> would be needed. It is incompatible to <a href="http://tdm-gcc.tdragon.net/development">TDM-GCC</a> due to the definition of symbol "<code>___chkstk</code>". Clang assumes as below;<p>
+
+<ul>
+<li><tt>C:/mingw/x86_64-w64-mingw32/include</tt></li>
+<li><tt>C:/mingw/x86_64-w64-mingw32/include/c++/4.5.[23]</tt></li>
+<li>GCC driver "gcc.exe" to build x86_64-w64-mingw32 binary.</li>
+</ul>
+
+<p><a href="http://llvm.org/bugs/show_bug.cgi?id=8833">Some tests might fail</a>
+on x64.</p>
+
</div>
</body>
</html>
Modified: vendor/clang/dist/docs/tools/clang.pod
==============================================================================
--- vendor/clang/dist/docs/tools/clang.pod Mon May 2 19:37:33 2011 (r221338)
+++ vendor/clang/dist/docs/tools/clang.pod Mon May 2 19:39:53 2011 (r221339)
@@ -7,7 +7,7 @@ clang - the Clang C, C++, and Objective-
=head1 SYNOPSIS
B<clang> [B<-c>|B<-S>|B<-E>] B<-std=>I<standard> B<-g>
- [B<-O0>|B<-O1>|B<-O2>|B<-Os>|B<-O3>|B<-O4>]
+ [B<-O0>|B<-O1>|B<-O2>|B<-Os>|B<-Oz>|B<-O3>|B<-O4>]
B<-W>I<warnings...> B<-pedantic>
B<-I>I<dir...> B<-L>I<dir...>
B<-D>I<macro[=defn]>
@@ -53,7 +53,7 @@ parse errors. The output of this stage
This stage translates an AST into low-level intermediate code (known as "LLVM
IR") and ultimately to machine code. This phase is responsible for optimizing
-the generated code and handling target-specfic code generation. The output of
+the generated code and handling target-specific code generation. The output of
this stage is typically called a ".s" file or "assembly" file.
Clang also supports the use of an integrated assembler, in which the code
@@ -263,12 +263,13 @@ may not exist on earlier ones.
=over
-=item B<-O0> B<-O1> B<-O2> B<-Os> B<-O3> B<-O4>
+=item B<-O0> B<-O1> B<-O2> B<-Os> B<-Oz> B<-O3> B<-O4>
Specify which optimization level to use. B<-O0> means "no optimization": this
level compiles the fastest and generates the most debuggable code. B<-O2> is a
moderate level of optimization which enables most optimizations. B<-Os> is like
-B<-O2> with extra optimizations to reduce code size. B<-O3> is like B<-O2>,
+B<-O2> with extra optimizations to reduce code size. B<-Oz> is like B<-Os>
+(and thus B<-O2>), but reduces code size further. B<-O3> is like B<-O2>,
except that it enables optimizations that take longer to perform or that may
generate larger code (in an attempt to make the program run faster). On
supported platforms, B<-O4> enables link-time optimization; object files are
@@ -356,18 +357,10 @@ Pass I<arg> to the static analyzer.
Pass I<arg> to the assembler.
-=item B<-Xclang> I<arg>
-
-Pass I<arg> to the clang compiler frontend.
-
=item B<-Xlinker> I<arg>
Pass I<arg> to the linker.
-=item B<-mllvm> I<arg>
-
-Pass I<arg> to the LLVM backend.
-
=item B<-Xpreprocessor> I<arg>
Pass I<arg> to the preprocessor.
Modified: vendor/clang/dist/examples/CMakeLists.txt
==============================================================================
--- vendor/clang/dist/examples/CMakeLists.txt Mon May 2 19:37:33 2011 (r221338)
+++ vendor/clang/dist/examples/CMakeLists.txt Mon May 2 19:39:53 2011 (r221339)
@@ -1,3 +1,3 @@
add_subdirectory(clang-interpreter)
add_subdirectory(PrintFunctionNames)
-
+add_subdirectory(Tooling)
Added: vendor/clang/dist/examples/Tooling/CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/clang/dist/examples/Tooling/CMakeLists.txt Mon May 2 19:39:53 2011 (r221339)
@@ -0,0 +1,6 @@
+set(LLVM_USED_LIBS clangTooling clangBasic)
+
+add_clang_executable(clang-check
+ ClangCheck.cpp
+ )
+
Added: vendor/clang/dist/examples/Tooling/ClangCheck.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/clang/dist/examples/Tooling/ClangCheck.cpp Mon May 2 19:39:53 2011 (r221339)
@@ -0,0 +1,108 @@
+//===- examples/Tooling/ClangCheck.cpp - Clang check tool -----------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements a clang-check tool that runs the
+// clang::SyntaxOnlyAction over a number of translation units.
+//
+// Usage:
+// clang-check <cmake-output-dir> <file1> <file2> ...
+//
+// Where <cmake-output-dir> is a CMake build directory in which a file named
+// compile_commands.json exists (enable -DCMAKE_EXPORT_COMPILE_COMMANDS in
+// CMake to get this output).
+//
+// <file1> ... specify the paths of files in the CMake source tree. This path
+// is looked up in the compile command database. If the path of a file is
+// absolute, it needs to point into CMake's source tree. If the path is
+// relative, the current working directory needs to be in the CMake source
+// tree and the file must be in a subdirectory of the current working
+// directory. "./" prefixes in the relative files will be automatically
+// removed, but the rest of a relative path must be a suffix of a path in
+// the compile command line database.
+//
+// For example, to use clang-check on all files in a subtree of the source
+// tree, use:
+//
+// /path/in/subtree $ find . -name '*.cpp'| xargs clang-check /path/to/source
+//
+//===----------------------------------------------------------------------===//
+
+#include "clang/Frontend/FrontendActions.h"
+#include "clang/Tooling/Tooling.h"
+#include "llvm/ADT/OwningPtr.h"
+#include "llvm/ADT/Twine.h"
+#include "llvm/Support/MemoryBuffer.h"
+#include "llvm/Support/Path.h"
+#include "llvm/Support/raw_ostream.h"
+#include "llvm/Support/system_error.h"
+
+/// \brief Returns the absolute path of 'File', by prepending it with
+/// 'BaseDirectory' if 'File' is not absolute. Otherwise returns 'File'.
+/// If 'File' starts with "./", the returned path will not contain the "./".
+/// Otherwise, the returned path will contain the literal path-concatenation of
+/// 'BaseDirectory' and 'File'.
+///
+/// \param File Either an absolute or relative path.
+/// \param BaseDirectory An absolute path.
+///
+/// FIXME: Put this somewhere where it is more generally available.
+static std::string GetAbsolutePath(
+ llvm::StringRef File, llvm::StringRef BaseDirectory) {
+ assert(llvm::sys::path::is_absolute(BaseDirectory));
+ if (llvm::sys::path::is_absolute(File)) {
+ return File;
+ }
+ llvm::StringRef RelativePath(File);
+ if (RelativePath.startswith("./")) {
+ RelativePath = RelativePath.substr(strlen("./"));
+ }
+ llvm::SmallString<1024> AbsolutePath(BaseDirectory);
+ llvm::sys::path::append(AbsolutePath, RelativePath);
+ return AbsolutePath.str();
+}
+
+int main(int argc, char **argv) {
+ if (argc < 3) {
+ llvm::outs() << "Usage: " << argv[0] << " <cmake-output-dir> "
+ << "<file1> <file2> ...\n";
+ return 1;
+ }
+ // FIXME: We should pull how to find the database into the Tooling package.
+ llvm::OwningPtr<llvm::MemoryBuffer> JsonDatabase;
+ llvm::SmallString<1024> JsonDatabasePath(argv[1]);
+ llvm::sys::path::append(JsonDatabasePath, "compile_commands.json");
+ llvm::error_code Result =
+ llvm::MemoryBuffer::getFile(JsonDatabasePath, JsonDatabase);
+ if (Result != 0) {
+ llvm::outs() << "Error while opening JSON database: " << Result.message()
+ << "\n";
+ return 1;
+ }
+ llvm::StringRef BaseDirectory(::getenv("PWD"));
+ for (int I = 2; I < argc; ++I) {
+ llvm::SmallString<1024> File(GetAbsolutePath(argv[I], BaseDirectory));
+ llvm::outs() << "Processing " << File << ".\n";
+ std::string ErrorMessage;
+ clang::tooling::CompileCommand LookupResult =
+ clang::tooling::FindCompileArgsInJsonDatabase(
+ File.str(), JsonDatabase->getBuffer(), ErrorMessage);
+ if (!LookupResult.CommandLine.empty()) {
+ if (!clang::tooling::RunToolWithFlags(
+ new clang::SyntaxOnlyAction,
+ LookupResult.CommandLine.size(),
+ clang::tooling::CommandLineToArgv(
+ &LookupResult.CommandLine).data())) {
+ llvm::outs() << "Error while processing " << File << ".\n";
+ }
+ } else {
+ llvm::outs() << "Skipping " << File << ". Command line not found.\n";
+ }
+ }
+ return 0;
+}
Added: vendor/clang/dist/examples/Tooling/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/clang/dist/examples/Tooling/Makefile Mon May 2 19:39:53 2011 (r221339)
@@ -0,0 +1,24 @@
+##===- examples/Tooling/Makefile ---------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+CLANG_LEVEL := ../..
+
+TOOLNAME = clang-check
+NO_INSTALL = 1
+
+# No plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
+
+LINK_COMPONENTS := support mc
+USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a \
+ clangTooling.a clangSema.a clangAnalysis.a \
+ clangAST.a clangParse.a clangLex.a clangBasic.a
+
+include $(CLANG_LEVEL)/Makefile
+
Modified: vendor/clang/dist/examples/clang-interpreter/Makefile
==============================================================================
--- vendor/clang/dist/examples/clang-interpreter/Makefile Mon May 2 19:37:33 2011 (r221338)
+++ vendor/clang/dist/examples/clang-interpreter/Makefile Mon May 2 19:39:53 2011 (r221339)
@@ -16,7 +16,7 @@ NO_INSTALL = 1
TOOL_NO_EXPORTS = 1
LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \
- selectiondag asmparser
+ selectiondag asmparser instrumentation
USEDLIBS = clangFrontend.a clangSerialization.a clangDriver.a clangCodeGen.a \
clangSema.a clangStaticAnalyzerFrontend.a clangStaticAnalyzerCheckers.a clangStaticAnalyzerCore.a clangAnalysis.a clangRewrite.a \
clangAST.a clangParse.a clangLex.a clangBasic.a
Modified: vendor/clang/dist/examples/clang-interpreter/main.cpp
==============================================================================
--- vendor/clang/dist/examples/clang-interpreter/main.cpp Mon May 2 19:37:33 2011 (r221338)
+++ vendor/clang/dist/examples/clang-interpreter/main.cpp Mon May 2 19:39:53 2011 (r221339)
@@ -85,8 +85,7 @@ int main(int argc, const char **argv, ch
// (basically, exactly one input, and the operation mode is hard wired).
llvm::SmallVector<const char *, 16> Args(argv, argv + argc);
Args.push_back("-fsyntax-only");
- llvm::OwningPtr<Compilation> C(TheDriver.BuildCompilation(Args.size(),
- Args.data()));
+ llvm::OwningPtr<Compilation> C(TheDriver.BuildCompilation(Args));
if (!C)
return 0;
Modified: vendor/clang/dist/include/clang-c/Index.h
==============================================================================
--- vendor/clang/dist/include/clang-c/Index.h Mon May 2 19:37:33 2011 (r221338)
+++ vendor/clang/dist/include/clang-c/Index.h Mon May 2 19:39:53 2011 (r221339)
@@ -1012,7 +1012,68 @@ CINDEX_LINKAGE int clang_reparseTranslat
unsigned num_unsaved_files,
struct CXUnsavedFile *unsaved_files,
unsigned options);
-
+
+/**
+ * \brief Categorizes how memory is being used by a translation unit.
+ */
+enum CXTUResourceUsageKind {
+ CXTUResourceUsage_AST = 1,
+ CXTUResourceUsage_Identifiers = 2,
+ CXTUResourceUsage_Selectors = 3,
+ CXTUResourceUsage_GlobalCompletionResults = 4,
+ CXTUResourceUsage_SourceManagerContentCache = 5,
+ CXTUResourceUsage_AST_SideTables = 6,
+ CXTUResourceUsage_SourceManager_Membuffer_Malloc = 7,
+ CXTUResourceUsage_SourceManager_Membuffer_MMap = 8,
+ CXTUResourceUsage_ExternalASTSource_Membuffer_Malloc = 9,
+ CXTUResourceUsage_ExternalASTSource_Membuffer_MMap = 10,
+ CXTUResourceUsage_MEMORY_IN_BYTES_BEGIN = CXTUResourceUsage_AST,
+ CXTUResourceUsage_MEMORY_IN_BYTES_END =
+ CXTUResourceUsage_ExternalASTSource_Membuffer_MMap,
+
+ CXTUResourceUsage_First = CXTUResourceUsage_AST,
+ CXTUResourceUsage_Last = CXTUResourceUsage_ExternalASTSource_Membuffer_MMap
+};
+
+/**
+ * \brief Returns the human-readable null-terminated C string that represents
+ * the name of the memory category. This string should never be freed.
+ */
+CINDEX_LINKAGE
+const char *clang_getTUResourceUsageName(enum CXTUResourceUsageKind kind);
+
+typedef struct CXTUResourceUsageEntry {
+ /* \brief The memory usage category. */
+ enum CXTUResourceUsageKind kind;
+ /* \brief Amount of resources used.
+ The units will depend on the resource kind. */
+ unsigned long amount;
+} CXTUResourceUsageEntry;
+
+/**
+ * \brief The memory usage of a CXTranslationUnit, broken into categories.
+ */
+typedef struct CXTUResourceUsage {
+ /* \brief Private data member, used for queries. */
+ void *data;
+
+ /* \brief The number of entries in the 'entries' array. */
+ unsigned numEntries;
+
+ /* \brief An array of key-value pairs, representing the breakdown of memory
+ usage. */
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-vendor
mailing list