From b6d5e15aae202f157c6cd63da8fa4b089e7b31e9 Mon Sep 17 00:00:00 2001 From: rdivacky Date: Wed, 4 Nov 2009 15:04:32 +0000 Subject: Update clang to r86025. --- CMakeLists.txt | 10 +- clang.xcodeproj/project.pbxproj | 18 + docs/LanguageExtensions.html | 64 + docs/tools/clang.pod | 4 + include/clang-c/Index.h | 97 +- include/clang/AST/ASTContext.h | 74 +- include/clang/AST/CanonicalType.h | 19 +- include/clang/AST/Decl.h | 91 +- include/clang/AST/DeclGroup.h | 2 +- include/clang/AST/DeclNodes.def | 1 - include/clang/AST/DeclObjC.h | 14 +- include/clang/AST/DeclTemplate.h | 380 ++---- include/clang/AST/Expr.h | 272 ++++- include/clang/AST/ExprCXX.h | 58 +- include/clang/AST/RecordLayout.h | 2 +- include/clang/AST/Redeclarable.h | 5 + include/clang/AST/StmtIterator.h | 2 +- include/clang/AST/StmtNodes.def | 1 - include/clang/AST/TemplateBase.h | 366 ++++++ include/clang/AST/TemplateName.h | 81 +- include/clang/AST/Type.h | 8 + include/clang/AST/TypeLoc.h | 135 ++- include/clang/Analysis/CallGraph.h | 3 +- .../clang/Analysis/PathSensitive/AnalysisContext.h | 13 +- include/clang/Analysis/PathSensitive/BugReporter.h | 33 +- include/clang/Analysis/PathSensitive/BugType.h | 86 ++ include/clang/Analysis/PathSensitive/Checker.h | 38 +- .../PathSensitive/Checkers/AttrNonNullChecker.h | 28 + .../PathSensitive/Checkers/BadCallChecker.h | 30 + .../PathSensitive/Checkers/DereferenceChecker.h | 53 + .../PathSensitive/Checkers/DivZeroChecker.h | 28 + .../PathSensitive/Checkers/UndefinedArgChecker.h | 34 + .../Checkers/UndefinedAssignmentChecker.h | 32 + .../PathSensitive/Checkers/VLASizeChecker.h | 39 + .../clang/Analysis/PathSensitive/GRExprEngine.h | 85 +- include/clang/Analysis/PathSensitive/GRState.h | 19 +- .../clang/Analysis/PathSensitive/GRTransferFuncs.h | 5 +- include/clang/Analysis/PathSensitive/Store.h | 7 +- .../clang/Analysis/PathSensitive/SymbolManager.h | 2 +- include/clang/Analysis/ProgramPoint.h | 2 +- .../Analysis/Visitors/CFGRecStmtDeclVisitor.h | 2 - include/clang/Basic/Builtins.def | 2 +- include/clang/Basic/DiagnosticCommonKinds.td | 4 - include/clang/Basic/DiagnosticDriverKinds.td | 2 + include/clang/Basic/DiagnosticFrontendKinds.td | 3 + include/clang/Basic/DiagnosticLexKinds.td | 3 +- include/clang/Basic/DiagnosticParseKinds.td | 13 +- include/clang/Basic/DiagnosticSemaKinds.td | 44 +- include/clang/Basic/OnDiskHashTable.h | 2 +- include/clang/Basic/OperatorKinds.h | 5 +- include/clang/Basic/PartialDiagnostic.h | 18 +- include/clang/Basic/SourceManager.h | 2 +- include/clang/Basic/TargetInfo.h | 6 +- include/clang/Driver/Options.def | 4 +- include/clang/Frontend/ASTUnit.h | 10 +- include/clang/Frontend/CompileOptions.h | 4 +- include/clang/Frontend/DeclXML.def | 4 +- include/clang/Frontend/DiagnosticOptions.h | 49 + include/clang/Frontend/InitHeaderSearch.h | 10 + include/clang/Frontend/InitPreprocessor.h | 3 +- include/clang/Frontend/PCHBitCodes.h | 4 +- include/clang/Frontend/PCHReader.h | 9 +- include/clang/Frontend/PCHWriter.h | 4 + include/clang/Frontend/TextDiagnosticPrinter.h | 31 +- include/clang/Index/Utils.h | 3 +- include/clang/Lex/LiteralSupport.h | 2 +- include/clang/Lex/Preprocessor.h | 68 +- include/clang/Lex/Token.h | 8 +- include/clang/Parse/Action.h | 323 ++--- include/clang/Parse/DeclSpec.h | 363 +++--- include/clang/Parse/Parser.h | 142 ++- include/clang/Sema/CodeCompleteConsumer.h | 13 +- lib/AST/ASTContext.cpp | 223 +++- lib/AST/CMakeLists.txt | 1 + lib/AST/Decl.cpp | 125 +- lib/AST/DeclBase.cpp | 1 - lib/AST/DeclCXX.cpp | 39 +- lib/AST/DeclObjC.cpp | 27 +- lib/AST/DeclPrinter.cpp | 9 +- lib/AST/DeclTemplate.cpp | 72 +- lib/AST/Expr.cpp | 201 +++- lib/AST/ExprCXX.cpp | 26 +- lib/AST/ExprConstant.cpp | 141 ++- lib/AST/RecordLayoutBuilder.cpp | 14 + lib/AST/RecordLayoutBuilder.h | 2 +- lib/AST/StmtPrinter.cpp | 14 +- lib/AST/StmtProfile.cpp | 77 +- lib/AST/TemplateBase.cpp | 97 ++ lib/AST/TemplateName.cpp | 9 +- lib/AST/Type.cpp | 161 ++- lib/Analysis/AttrNonNullChecker.cpp | 100 ++ lib/Analysis/BadCallChecker.cpp | 44 + lib/Analysis/BasicObjCFoundationChecks.cpp | 1 + lib/Analysis/BasicObjCFoundationChecks.h | 1 + lib/Analysis/BasicStore.cpp | 26 +- lib/Analysis/CFRefCount.cpp | 34 +- lib/Analysis/CMakeLists.txt | 10 +- lib/Analysis/CallGraph.cpp | 4 +- lib/Analysis/CheckNSError.cpp | 238 ---- lib/Analysis/CheckObjCUnusedIVars.cpp | 35 +- lib/Analysis/DereferenceChecker.cpp | 112 ++ lib/Analysis/DivZeroChecker.cpp | 70 ++ lib/Analysis/GRExprEngine.cpp | 391 +++--- lib/Analysis/GRExprEngineInternalChecks.cpp | 390 +----- lib/Analysis/NSAutoreleasePoolChecker.cpp | 84 ++ lib/Analysis/NSErrorChecker.cpp | 241 ++++ lib/Analysis/RegionStore.cpp | 39 +- lib/Analysis/UndefinedArgChecker.cpp | 43 + lib/Analysis/UndefinedAssignmentChecker.cpp | 61 + lib/Analysis/VLASizeChecker.cpp | 102 ++ lib/Basic/CMakeLists.txt | 2 +- lib/Basic/IdentifierTable.cpp | 14 + lib/Basic/TargetInfo.cpp | 4 +- lib/Basic/Targets.cpp | 2 + lib/CodeGen/CGBuiltin.cpp | 13 + lib/CodeGen/CGCXX.cpp | 172 ++- lib/CodeGen/CGCall.cpp | 2 + lib/CodeGen/CGDecl.cpp | 44 +- lib/CodeGen/CGException.cpp | 105 ++ lib/CodeGen/CGExpr.cpp | 224 ++-- lib/CodeGen/CGExprAgg.cpp | 5 +- lib/CodeGen/CGExprConstant.cpp | 17 +- lib/CodeGen/CGExprScalar.cpp | 33 +- lib/CodeGen/CGObjC.cpp | 22 +- lib/CodeGen/CGRecordLayoutBuilder.h | 2 +- lib/CodeGen/CGRtti.cpp | 21 +- lib/CodeGen/CGStmt.cpp | 5 + lib/CodeGen/CGValue.h | 2 +- lib/CodeGen/CGVtable.cpp | 228 ++-- lib/CodeGen/CMakeLists.txt | 1 + lib/CodeGen/CodeGenFunction.cpp | 75 +- lib/CodeGen/CodeGenFunction.h | 27 +- lib/CodeGen/CodeGenModule.cpp | 36 +- lib/CodeGen/CodeGenTypes.cpp | 2 +- lib/CodeGen/Mangle.cpp | 21 +- lib/CodeGen/Mangle.h | 4 +- lib/Driver/Tools.cpp | 217 ++-- lib/Driver/Types.cpp | 82 +- lib/Frontend/ASTConsumers.cpp | 7 +- lib/Frontend/AnalysisConsumer.cpp | 1 - lib/Frontend/InitHeaderSearch.cpp | 312 ++--- lib/Frontend/InitPreprocessor.cpp | 33 +- lib/Frontend/PCHReader.cpp | 28 +- lib/Frontend/PCHReaderDecl.cpp | 20 +- lib/Frontend/PCHReaderStmt.cpp | 4 +- lib/Frontend/PCHWriter.cpp | 24 +- lib/Frontend/PCHWriterDecl.cpp | 12 +- lib/Frontend/PCHWriterStmt.cpp | 4 +- lib/Frontend/PrintPreprocessedOutput.cpp | 2 +- lib/Frontend/RewriteObjC.cpp | 6 +- lib/Frontend/TextDiagnosticPrinter.cpp | 55 +- lib/Headers/CMakeLists.txt | 2 +- lib/Headers/stdint.h | 3 +- lib/Index/ResolveLocation.cpp | 79 +- lib/Lex/HeaderMap.cpp | 2 +- lib/Lex/PPDirectives.cpp | 14 +- lib/Lex/PPExpressions.cpp | 118 +- lib/Lex/PPMacroExpansion.cpp | 131 ++- lib/Parse/AttributeList.cpp | 145 +-- lib/Parse/DeclSpec.cpp | 25 + lib/Parse/MinimalAction.cpp | 5 +- lib/Parse/ParseDecl.cpp | 359 +++--- lib/Parse/ParseDeclCXX.cpp | 60 +- lib/Parse/ParseExpr.cpp | 168 +-- lib/Parse/ParseExprCXX.cpp | 623 ++++++++-- lib/Parse/ParseObjc.cpp | 146 ++- lib/Parse/ParseStmt.cpp | 3 +- lib/Parse/ParseTemplate.cpp | 32 +- lib/Parse/Parser.cpp | 84 +- lib/Sema/CodeCompleteConsumer.cpp | 11 + lib/Sema/Sema.cpp | 40 +- lib/Sema/Sema.h | 217 ++-- lib/Sema/SemaCXXCast.cpp | 8 +- lib/Sema/SemaChecking.cpp | 10 +- lib/Sema/SemaCodeComplete.cpp | 95 +- lib/Sema/SemaDecl.cpp | 261 ++-- lib/Sema/SemaDeclAttr.cpp | 100 +- lib/Sema/SemaDeclCXX.cpp | 114 +- lib/Sema/SemaDeclObjC.cpp | 70 +- lib/Sema/SemaExpr.cpp | 490 ++++---- lib/Sema/SemaExprCXX.cpp | 186 +-- lib/Sema/SemaLookup.cpp | 22 +- lib/Sema/SemaOverload.cpp | 244 +++- lib/Sema/SemaStmt.cpp | 2 +- lib/Sema/SemaTemplate.cpp | 439 ++++--- lib/Sema/SemaTemplateDeduction.cpp | 161 ++- lib/Sema/SemaTemplateInstantiate.cpp | 381 +++--- lib/Sema/SemaTemplateInstantiateDecl.cpp | 395 +++++-- lib/Sema/SemaType.cpp | 265 +++-- lib/Sema/TreeTransform.h | 896 +++++++++----- test/Analysis/misc-ps-eager-assume.m | 43 + test/Analysis/misc-ps-region-store.m | 59 + test/Analysis/misc-ps.m | 10 +- test/Analysis/outofbound.c | 2 +- test/Analysis/retain-release-gc-only.m | 11 + test/Analysis/retain-release.m | 26 + test/Analysis/uninit-vals-ps-region.c | 15 +- test/Analysis/unused-ivars.m | 22 + test/CMakeLists.txt | 14 +- .../basic/basic.lookup/basic.lookup.unqual/p14.cpp | 2 +- .../basic/basic.lookup/basic.lookup.unqual/p15.cpp | 2 +- test/CXX/class/class.union/p1.cpp | 9 + test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p3.cpp | 2 +- test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp | 2 +- test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p6.cpp | 2 +- test/CXX/dcl.dcl/dcl.spec/dcl.stc/p10.cpp | 2 +- test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p4.cpp | 2 +- test/CXX/dcl.decl/dcl.meaning/dcl.ref/p5.cpp | 145 +++ test/CXX/temp/temp.decls/temp.class.spec/p6.cpp | 39 +- test/CXX/temp/temp.decls/temp.friend/p5.cpp | 2 + test/CXX/temp/temp.param/p14.cpp | 2 +- .../temp/temp.res/temp.dep.res/temp.point/p1.cpp | 2 +- test/CXX/temp/temp.spec/temp.expl.spec/p3.cpp | 3 +- test/CXX/temp/temp.spec/temp.explicit/p10.cpp | 33 + test/CXX/temp/temp.spec/temp.explicit/p12.cpp | 6 + test/CXX/temp/temp.spec/temp.explicit/p3.cpp | 14 +- test/CXX/temp/temp.spec/temp.explicit/p5.cpp | 17 + test/CXX/temp/temp.spec/temp.explicit/p6.cpp | 14 + test/CXX/temp/temp.spec/temp.explicit/p7.cpp | 36 + test/CXX/temp/temp.spec/temp.explicit/p8.cpp | 27 + .../temp/temp.spec/temp.explicit/p9-linkage.cpp | 66 ++ test/CXX/temp/temp.spec/temp.explicit/p9.cpp | 59 + test/CodeCompletion/macros.c | 37 + test/CodeGen/2008-07-21-mixed-var-fn-decl.c | 5 +- test/CodeGen/2008-07-29-override-alias-decl.c | 15 +- test/CodeGen/asm-inout.c | 2 +- test/CodeGen/blocks-2.c | 2 +- test/CodeGen/builtin-unwind-init.c | 5 +- test/CodeGen/cast-to-union.c | 2 +- test/CodeGen/function-attributes.c | 56 +- test/CodeGen/indirect-goto.c | 23 +- test/CodeGen/mangle.c | 23 +- test/CodeGen/object-size.c | 126 ++ test/CodeGen/union-init2.c | 2 +- test/CodeGen/volatile.c | 10 +- test/CodeGenCXX/array-construction.cpp | 40 + test/CodeGenCXX/ptr-to-datamember.cpp | 16 + test/CodeGenCXX/ptr-to-member-function.cpp | 53 + test/CodeGenCXX/temporaries.cpp | 6 +- test/CodeGenCXX/virt.cpp | 208 +++- test/CodeGenObjC/PR4894-recursive-debug-crash.m | 2 +- test/CodeGenObjC/encode-test-2.m | 3 +- test/CodeGenObjC/synthesize_ivar.m | 15 +- test/Coverage/objc-language-features.inc | 6 + test/Coverage/targets.c | 4 + test/Driver/analyze.c | 8 +- test/Driver/ccc-add-args.c | 6 +- test/Driver/hello.c | 4 + test/Driver/phases.c | 126 +- test/Driver/qa_override.c | 12 +- test/Driver/std.c | 12 +- test/FixIt/fixit-pmem.cpp | 23 + test/Frontend/darwin-version.c | 20 +- test/Frontend/dependency-gen.c | 9 +- test/Lexer/block_cmt_end.c | 4 +- test/Makefile | 3 +- test/Misc/message-length.c | 2 +- test/PCH/pr4489.c | 5 +- test/Parser/cxx-parse-member-pointer-op.cpp | 13 + test/Parser/cxx-template-decl.cpp | 6 +- test/Preprocessor/assembler-with-cpp.c | 34 +- test/Preprocessor/c99-6_10_3_3_p4.c | 6 +- test/Preprocessor/c99-6_10_3_4_p5.c | 11 +- test/Preprocessor/c99-6_10_3_4_p6.c | 13 +- test/Preprocessor/c99-6_10_3_4_p7.c | 5 +- test/Preprocessor/c99-6_10_3_4_p9.c | 20 +- test/Preprocessor/comment_save.c | 7 +- test/Preprocessor/comment_save_macro.c | 11 +- test/Preprocessor/has_include.c | 83 ++ test/Preprocessor/init.c | 945 +++++++++++++++ test/Preprocessor/line-directive.c | 2 +- test/Preprocessor/macro_disable3.c | 4 +- test/Preprocessor/macro_paste_mscomment.c | 10 +- test/Preprocessor/macro_rescan_varargs.c | 7 +- test/Preprocessor/macro_rparen_scan2.c | 4 +- test/Preprocessor/macro_undef.c | 4 + test/Preprocessor/output_paste_avoid.c | 17 +- test/Preprocessor/stdint.c | 1244 ++++++++++++++++++++ test/Preprocessor/stringize_misc.c | 16 +- test/Sema/attr-deprecated.c | 57 + test/Sema/callingconv.c | 9 + test/Sema/constant-builtins-2.c | 2 + test/Sema/decl-invalid.c | 3 +- test/Sema/format-strings.c | 6 +- test/Sema/init.c | 2 +- test/Sema/offsetof.c | 6 + test/Sema/parentheses.c | 20 + test/Sema/return-noreturn.c | 8 + test/Sema/return.c | 4 + test/Sema/statements.c | 6 + test/Sema/stdcall-fastcall.c | 4 +- test/Sema/vector-init.c | 4 +- test/SemaCXX/constructor.cpp | 2 +- test/SemaCXX/implicit-int.cpp | 2 +- test/SemaCXX/invalid-member-expr.cpp | 8 +- test/SemaCXX/invalid-template-specifier.cpp | 2 +- test/SemaCXX/nested-name-spec.cpp | 2 +- test/SemaCXX/new-delete.cpp | 1 + test/SemaCXX/overloaded-operator.cpp | 28 + test/SemaCXX/ptrtomember-badcall.cpp | 13 + test/SemaCXX/typedef-redecl.cpp | 2 +- test/SemaCXX/value-initialization.cpp | 10 + test/SemaObjC/conditional-expr-6.m | 51 + test/SemaObjC/continuation-class-err.m | 33 +- test/SemaObjC/id-isa-ref.m | 2 +- test/SemaObjC/property-category-4.m | 18 + test/SemaObjC/return.m | 18 +- test/SemaObjCXX/overload.mm | 2 +- test/SemaObjCXX/references.mm | 2 +- test/SemaTemplate/class-template-spec.cpp | 12 +- test/SemaTemplate/constructor-template.cpp | 1 + test/SemaTemplate/copy-ctor-assign.cpp | 18 +- test/SemaTemplate/default-expr-arguments.cpp | 24 + test/SemaTemplate/ext-vector-type.cpp | 13 + test/SemaTemplate/friend-template.cpp | 29 + test/SemaTemplate/instantiate-cast.cpp | 12 +- test/SemaTemplate/instantiate-declref-ice.cpp | 30 + test/SemaTemplate/instantiate-declref.cpp | 18 + test/SemaTemplate/instantiate-function-1.mm | 2 +- test/SemaTemplate/instantiate-method.cpp | 17 + .../instantiate-non-type-template-parameter.cpp | 14 + test/SemaTemplate/instantiate-subscript.cpp | 17 +- test/SemaTemplate/member-template-access-expr.cpp | 45 +- test/SemaTemplate/nested-name-spec-template.cpp | 2 +- test/SemaTemplate/nested-template.cpp | 7 + .../SemaTemplate/operator-function-id-template.cpp | 28 + test/SemaTemplate/template-id-expr.cpp | 14 + test/SemaTemplate/template-id-printing.cpp | 13 + test/lit.site.cfg.in | 1 + tools/CIndex/CIndex.cpp | 106 +- tools/CIndex/CIndex.exports | 32 +- tools/CIndex/CMakeLists.txt | 1 + tools/CMakeLists.txt | 5 +- tools/c-index-test/c-index-test.c | 24 +- tools/clang-cc/clang-cc.cpp | 263 +---- tools/wpa/clang-wpa.cpp | 4 +- www/UniversalDriver.html | 3 + www/analyzer/latest_checker.html.incl | 2 +- www/cxx_status.html | 20 +- 339 files changed, 14230 insertions(+), 5883 deletions(-) create mode 100644 include/clang/AST/TemplateBase.h create mode 100644 include/clang/Analysis/PathSensitive/BugType.h create mode 100644 include/clang/Analysis/PathSensitive/Checkers/AttrNonNullChecker.h create mode 100644 include/clang/Analysis/PathSensitive/Checkers/BadCallChecker.h create mode 100644 include/clang/Analysis/PathSensitive/Checkers/DereferenceChecker.h create mode 100644 include/clang/Analysis/PathSensitive/Checkers/DivZeroChecker.h create mode 100644 include/clang/Analysis/PathSensitive/Checkers/UndefinedArgChecker.h create mode 100644 include/clang/Analysis/PathSensitive/Checkers/UndefinedAssignmentChecker.h create mode 100644 include/clang/Analysis/PathSensitive/Checkers/VLASizeChecker.h create mode 100644 include/clang/Frontend/DiagnosticOptions.h create mode 100644 lib/AST/TemplateBase.cpp create mode 100644 lib/Analysis/AttrNonNullChecker.cpp create mode 100644 lib/Analysis/BadCallChecker.cpp delete mode 100644 lib/Analysis/CheckNSError.cpp create mode 100644 lib/Analysis/DereferenceChecker.cpp create mode 100644 lib/Analysis/DivZeroChecker.cpp create mode 100644 lib/Analysis/NSAutoreleasePoolChecker.cpp create mode 100644 lib/Analysis/NSErrorChecker.cpp create mode 100644 lib/Analysis/UndefinedArgChecker.cpp create mode 100644 lib/Analysis/UndefinedAssignmentChecker.cpp create mode 100644 lib/Analysis/VLASizeChecker.cpp create mode 100644 lib/CodeGen/CGException.cpp create mode 100644 test/CXX/dcl.decl/dcl.meaning/dcl.ref/p5.cpp create mode 100644 test/CXX/temp/temp.spec/temp.explicit/p10.cpp create mode 100644 test/CXX/temp/temp.spec/temp.explicit/p12.cpp create mode 100644 test/CXX/temp/temp.spec/temp.explicit/p5.cpp create mode 100644 test/CXX/temp/temp.spec/temp.explicit/p6.cpp create mode 100644 test/CXX/temp/temp.spec/temp.explicit/p7.cpp create mode 100644 test/CXX/temp/temp.spec/temp.explicit/p8.cpp create mode 100644 test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp create mode 100644 test/CXX/temp/temp.spec/temp.explicit/p9.cpp create mode 100644 test/CodeCompletion/macros.c create mode 100644 test/CodeGen/object-size.c create mode 100644 test/CodeGenCXX/array-construction.cpp create mode 100644 test/CodeGenCXX/ptr-to-member-function.cpp create mode 100644 test/FixIt/fixit-pmem.cpp create mode 100644 test/Parser/cxx-parse-member-pointer-op.cpp create mode 100644 test/Preprocessor/has_include.c create mode 100644 test/Preprocessor/init.c create mode 100644 test/Preprocessor/macro_undef.c create mode 100644 test/Preprocessor/stdint.c create mode 100644 test/Sema/parentheses.c create mode 100644 test/SemaCXX/ptrtomember-badcall.cpp create mode 100644 test/SemaCXX/value-initialization.cpp create mode 100644 test/SemaObjC/conditional-expr-6.m create mode 100644 test/SemaObjC/property-category-4.m create mode 100644 test/SemaTemplate/instantiate-non-type-template-parameter.cpp create mode 100644 test/SemaTemplate/operator-function-id-template.cpp create mode 100644 test/SemaTemplate/template-id-expr.cpp create mode 100644 test/SemaTemplate/template-id-printing.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 0cd52d0..7f4ab33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,7 +65,7 @@ macro(add_clang_library name) set_target_properties(${name} PROPERTIES COMPILE_FLAGS ${cflag}) endif(MSVC) install(TARGETS ${name} - LIBRARY DESTINATION lib + LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}) endmacro(add_clang_library) @@ -83,8 +83,12 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR}/include ) -install(DIRECTORY include - DESTINATION . +install(DIRECTORY include/ + DESTINATION include + FILES_MATCHING + PATTERN "*.def" + PATTERN "*.h" + PATTERN "*.td" PATTERN ".svn" EXCLUDE ) diff --git a/clang.xcodeproj/project.pbxproj b/clang.xcodeproj/project.pbxproj index 24e1ac3..2b4aa04 100644 --- a/clang.xcodeproj/project.pbxproj +++ b/clang.xcodeproj/project.pbxproj @@ -49,6 +49,7 @@ 1ADF47AF0F782C3200E48A8A /* SemaTemplateInstantiateDecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ADF47AE0F782C3200E48A8A /* SemaTemplateInstantiateDecl.cpp */; }; 1AE4EE3E103B89ED00888A23 /* StmtProfile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE4EE3D103B89ED00888A23 /* StmtProfile.cpp */; }; 1AE4EE40103B8A0A00888A23 /* TargetABIInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE4EE3F103B8A0A00888A23 /* TargetABIInfo.cpp */; }; + 1AF1B50F109A4FB800AFAFAC /* CGException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AF1B50E109A4FB800AFAFAC /* CGException.cpp */; }; 1AFEF4070F8A6B2300476F2B /* clang-cc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFEF4050F8A6B2300476F2B /* clang-cc.cpp */; }; 1AFF8AE31012BFC900D248DA /* CGRecordLayoutBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFF8AE11012BFC900D248DA /* CGRecordLayoutBuilder.cpp */; }; 3507E4C20E27FE2D00FB7B57 /* CheckObjCInstMethSignature.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3507E4C10E27FE2D00FB7B57 /* CheckObjCInstMethSignature.cpp */; }; @@ -399,6 +400,7 @@ 1AE4EE3B103B89CA00888A23 /* TreeTransform.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.h; name = TreeTransform.h; path = lib/Sema/TreeTransform.h; sourceTree = ""; tabWidth = 2; }; 1AE4EE3D103B89ED00888A23 /* StmtProfile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = StmtProfile.cpp; path = lib/AST/StmtProfile.cpp; sourceTree = ""; tabWidth = 2; }; 1AE4EE3F103B8A0A00888A23 /* TargetABIInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = TargetABIInfo.cpp; path = lib/CodeGen/TargetABIInfo.cpp; sourceTree = ""; tabWidth = 2; }; + 1AF1B50E109A4FB800AFAFAC /* CGException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = CGException.cpp; path = lib/CodeGen/CGException.cpp; sourceTree = ""; tabWidth = 2; }; 1AFEF4050F8A6B2300476F2B /* clang-cc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = "clang-cc.cpp"; path = "tools/clang-cc/clang-cc.cpp"; sourceTree = ""; tabWidth = 2; }; 1AFF8AE11012BFC900D248DA /* CGRecordLayoutBuilder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = CGRecordLayoutBuilder.cpp; path = lib/CodeGen/CGRecordLayoutBuilder.cpp; sourceTree = ""; tabWidth = 2; }; 1AFF8AE21012BFC900D248DA /* CGRecordLayoutBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.h; name = CGRecordLayoutBuilder.h; path = lib/CodeGen/CGRecordLayoutBuilder.h; sourceTree = ""; tabWidth = 2; }; @@ -515,6 +517,13 @@ 9012911C1048068D0083456D /* ASTUnit.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ASTUnit.cpp; path = lib/Frontend/ASTUnit.cpp; sourceTree = ""; }; 9012911F104812F90083456D /* CIndex.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CIndex.cpp; path = tools/CIndex/CIndex.cpp; sourceTree = ""; }; 90129120104812F90083456D /* CIndex.exports */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CIndex.exports; path = tools/CIndex/CIndex.exports; sourceTree = ""; }; + 904753791096376F00CBDDDD /* CXXInheritance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CXXInheritance.h; path = clang/AST/CXXInheritance.h; sourceTree = ""; }; + 9047537A1096376F00CBDDDD /* Redeclarable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Redeclarable.h; path = clang/AST/Redeclarable.h; sourceTree = ""; }; + 9047537B1096376F00CBDDDD /* TypeLoc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TypeLoc.h; path = clang/AST/TypeLoc.h; sourceTree = ""; }; + 9047537C1096376F00CBDDDD /* TypeLocBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TypeLocBuilder.h; path = clang/AST/TypeLocBuilder.h; sourceTree = ""; }; + 9047537D1096376F00CBDDDD /* TypeLocNodes.def */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = TypeLocNodes.def; path = clang/AST/TypeLocNodes.def; sourceTree = ""; }; + 9047537E1096376F00CBDDDD /* TypeLocVisitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TypeLocVisitor.h; path = clang/AST/TypeLocVisitor.h; sourceTree = ""; }; + 9047537F1096376F00CBDDDD /* TypeVisitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TypeVisitor.h; path = clang/AST/TypeVisitor.h; sourceTree = ""; }; 9063F2210F9E8BDF002F7251 /* ExternalSemaSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ExternalSemaSource.h; path = clang/Sema/ExternalSemaSource.h; sourceTree = ""; }; 9063F2220F9E8BDF002F7251 /* SemaConsumer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SemaConsumer.h; path = clang/Sema/SemaConsumer.h; sourceTree = ""; }; 9063F2280F9E911F002F7251 /* OnDiskHashTable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OnDiskHashTable.h; sourceTree = ""; }; @@ -1257,6 +1266,7 @@ 35A3E7000DD3874400757F74 /* CGDebugInfo.cpp */, 35A3E7010DD3874400757F74 /* CGDebugInfo.h */, DE4264FB0C113592005A861D /* CGDecl.cpp */, + 1AF1B50E109A4FB800AFAFAC /* CGException.cpp */, DE4772FB0C10EAEC002239E8 /* CGExpr.cpp */, DEF2EFF20C6CDD74000C4259 /* CGExprAgg.cpp */, DE224FF70C7AA98800D370A5 /* CGExprComplex.cpp */, @@ -1298,6 +1308,13 @@ DEC8D98B0A9433BC00353FCA /* AST */ = { isa = PBXGroup; children = ( + 904753791096376F00CBDDDD /* CXXInheritance.h */, + 9047537A1096376F00CBDDDD /* Redeclarable.h */, + 9047537B1096376F00CBDDDD /* TypeLoc.h */, + 9047537C1096376F00CBDDDD /* TypeLocBuilder.h */, + 9047537D1096376F00CBDDDD /* TypeLocNodes.def */, + 9047537E1096376F00CBDDDD /* TypeLocVisitor.h */, + 9047537F1096376F00CBDDDD /* TypeVisitor.h */, DECB78540FA58F5500F5FBC7 /* AccessSpecifier.h */, DE613EF30E0E148D00B05B79 /* APValue.h */, DEC8D9A30A94346E00353FCA /* AST.h */, @@ -1901,6 +1918,7 @@ 1A535ED9107BC45E000C3AE7 /* CXXInheritance.cpp in Sources */, 1A6C01F7108128710072DEE4 /* CGRtti.cpp in Sources */, 1A81AA19108144F40094E50B /* CGVtable.cpp in Sources */, + 1AF1B50F109A4FB800AFAFAC /* CGException.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html index 9ac35e1..1c892fd 100644 --- a/docs/LanguageExtensions.html +++ b/docs/LanguageExtensions.html @@ -20,6 +20,7 @@ td { diff --git a/www/analyzer/latest_checker.html.incl b/www/analyzer/latest_checker.html.incl index 4184ce6..8ecd1bba 100644 --- a/www/analyzer/latest_checker.html.incl +++ b/www/analyzer/latest_checker.html.incl @@ -1 +1 @@ -checker-225.tar.bz2 (built October 21, 2009) +checker-226.tar.bz2 (built October 29, 2009) diff --git a/www/cxx_status.html b/www/cxx_status.html index ecfc8a8..e1df3be 100644 --- a/www/cxx_status.html +++ b/www/cxx_status.html @@ -24,7 +24,7 @@

C++ Support in Clang

-

Last updated: $Date: 2009-10-20 23:10:15 +0200 (Tue, 20 Oct 2009) $

+

Last updated: $Date: 2009-10-30 15:54:38 +0100 (Fri, 30 Oct 2009) $

This page tracks the status of C++ support in Clang.
@@ -327,6 +327,7 @@ welcome!

N/A N/A +     3.3.6 [basic.scope.class] @@ -407,6 +408,7 @@ welcome!

N/A N/A +   3.5 [basic.link]   3.6 [basic.start] @@ -732,7 +734,7 @@ welcome!

- Dereferenced member function pointers have the wrong type. + Dereferenced member function pointers have the wrong type(see FIXME in CheckPointerToMemberOperands).   5.6 [expr.mul] @@ -1521,6 +1523,7 @@ welcome!

+   12.4 [class.dtor] @@ -1606,6 +1609,7 @@ welcome!

N/A +       13.3.1.2 [over.match.oper] @@ -1661,6 +1665,7 @@ welcome!

N/A +       13.3.3.1 [over.best.ics] @@ -1792,7 +1797,7 @@ welcome!

14 [temp] - N/A + @@ -2075,11 +2080,12 @@ welcome!

    14.7.2 [temp.explicit] + - - - - + + + Cannot test paragraph 11 until access control is implemented.
+ ASTs do not carry enough information to reproduce source code accurately.     14.7.3 [temp.expl.spec] -- cgit v1.1