aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt5
-rw-r--r--docs/AutomaticReferenceCounting.rst35
-rw-r--r--docs/ClangFormat.rst6
-rw-r--r--docs/ClangTools.rst27
-rw-r--r--docs/ExternalClangExamples.rst8
-rw-r--r--docs/LibASTMatchersReference.html159
-rw-r--r--docs/LibASTMatchersTutorial.rst76
-rw-r--r--docs/UsersManual.rst2
-rw-r--r--include/clang-c/Index.h47
-rw-r--r--include/clang/AST/ASTContext.h3
-rw-r--r--include/clang/AST/AttrIterator.h1
-rw-r--r--include/clang/AST/CharUnits.h11
-rw-r--r--include/clang/AST/Comment.h56
-rw-r--r--include/clang/AST/CommentCommandTraits.h12
-rw-r--r--include/clang/AST/CommentCommands.td48
-rw-r--r--include/clang/AST/CommentLexer.h11
-rw-r--r--include/clang/AST/CommentParser.h2
-rw-r--r--include/clang/AST/CommentSema.h23
-rw-r--r--include/clang/AST/Decl.h35
-rw-r--r--include/clang/AST/DeclObjC.h7
-rw-r--r--include/clang/AST/RecursiveASTVisitor.h2
-rw-r--r--include/clang/AST/Type.h2
-rw-r--r--include/clang/ASTMatchers/ASTMatchers.h117
-rw-r--r--include/clang/ASTMatchers/ASTMatchersInternal.h38
-rw-r--r--include/clang/Basic/Attr.td3
-rw-r--r--include/clang/Basic/Diagnostic.h2
-rw-r--r--include/clang/Basic/DiagnosticCommentKinds.td40
-rw-r--r--include/clang/Basic/DiagnosticDriverKinds.td7
-rw-r--r--include/clang/Basic/DiagnosticGroups.td1
-rw-r--r--include/clang/Basic/DiagnosticIDs.h2
-rw-r--r--include/clang/Basic/DiagnosticLexKinds.td10
-rw-r--r--include/clang/Basic/DiagnosticParseKinds.td2
-rw-r--r--include/clang/Basic/DiagnosticSemaKinds.td6
-rw-r--r--include/clang/Basic/DiagnosticSerializationKinds.td2
-rw-r--r--include/clang/Basic/TokenKinds.h18
-rw-r--r--include/clang/Driver/CC1Options.td6
-rw-r--r--include/clang/Driver/Options.td2
-rw-r--r--include/clang/Driver/Phases.h4
-rw-r--r--include/clang/Driver/ToolChain.h2
-rw-r--r--include/clang/Driver/Types.h13
-rw-r--r--include/clang/Frontend/ASTUnit.h3
-rw-r--r--include/clang/Frontend/CodeGenOptions.def2
-rw-r--r--include/clang/Frontend/CodeGenOptions.h4
-rw-r--r--include/clang/Parse/Parser.h6
-rw-r--r--include/clang/Sema/AttributeList.h52
-rw-r--r--include/clang/Sema/DeclSpec.h72
-rw-r--r--include/clang/Sema/Sema.h44
-rw-r--r--include/clang/Serialization/ASTReader.h6
-rw-r--r--include/clang/Serialization/Module.h39
-rw-r--r--include/clang/StaticAnalyzer/Core/AnalyzerOptions.h10
-rw-r--r--include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h40
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h4
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h2
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h21
-rw-r--r--lib/ARCMigrate/TransUnbridgedCasts.cpp4
-rw-r--r--lib/ARCMigrate/Transforms.cpp4
-rw-r--r--lib/AST/ASTContext.cpp57
-rw-r--r--lib/AST/ASTImporter.cpp7
-rw-r--r--lib/AST/CommentBriefParser.cpp2
-rw-r--r--lib/AST/CommentLexer.cpp7
-rw-r--r--lib/AST/CommentParser.cpp22
-rw-r--r--lib/AST/CommentSema.cpp232
-rw-r--r--lib/AST/Decl.cpp13
-rw-r--r--lib/AST/DeclObjC.cpp53
-rw-r--r--lib/AST/ExprCXX.cpp3
-rw-r--r--lib/AST/LambdaMangleContext.cpp9
-rw-r--r--lib/AST/TemplateName.cpp2
-rw-r--r--lib/AST/Type.cpp22
-rw-r--r--lib/Basic/DiagnosticIDs.cpp6
-rw-r--r--lib/Basic/SourceManager.cpp12
-rw-r--r--lib/Basic/Targets.cpp135
-rw-r--r--lib/CodeGen/ABIInfo.h13
-rw-r--r--lib/CodeGen/BackendUtil.cpp6
-rw-r--r--lib/CodeGen/CGAtomic.cpp942
-rw-r--r--lib/CodeGen/CGBlocks.cpp46
-rw-r--r--lib/CodeGen/CGBuiltin.cpp8
-rw-r--r--lib/CodeGen/CGCUDANV.cpp4
-rw-r--r--lib/CodeGen/CGCall.cpp284
-rw-r--r--lib/CodeGen/CGClass.cpp32
-rw-r--r--lib/CodeGen/CGCleanup.cpp12
-rw-r--r--lib/CodeGen/CGDebugInfo.cpp111
-rw-r--r--lib/CodeGen/CGDebugInfo.h15
-rw-r--r--lib/CodeGen/CGDecl.cpp26
-rw-r--r--lib/CodeGen/CGDeclCXX.cpp20
-rw-r--r--lib/CodeGen/CGException.cpp117
-rw-r--r--lib/CodeGen/CGExpr.cpp624
-rw-r--r--lib/CodeGen/CGExprAgg.cpp189
-rw-r--r--lib/CodeGen/CGExprCXX.cpp26
-rw-r--r--lib/CodeGen/CGExprComplex.cpp121
-rw-r--r--lib/CodeGen/CGExprConstant.cpp2
-rw-r--r--lib/CodeGen/CGExprScalar.cpp115
-rw-r--r--lib/CodeGen/CGObjC.cpp103
-rw-r--r--lib/CodeGen/CGObjCGNU.cpp147
-rw-r--r--lib/CodeGen/CGObjCMac.cpp258
-rw-r--r--lib/CodeGen/CGObjCRuntime.cpp2
-rw-r--r--lib/CodeGen/CGObjCRuntime.h10
-rw-r--r--lib/CodeGen/CGStmt.cpp41
-rw-r--r--lib/CodeGen/CGVTables.cpp2
-rw-r--r--lib/CodeGen/CGValue.h34
-rw-r--r--lib/CodeGen/CMakeLists.txt1
-rw-r--r--lib/CodeGen/CodeGenFunction.cpp107
-rw-r--r--lib/CodeGen/CodeGenFunction.h87
-rw-r--r--lib/CodeGen/CodeGenModule.cpp35
-rw-r--r--lib/CodeGen/CodeGenModule.h10
-rw-r--r--lib/CodeGen/CodeGenTypes.cpp24
-rw-r--r--lib/CodeGen/ItaniumCXXABI.cpp10
-rw-r--r--lib/CodeGen/TargetInfo.cpp76
-rw-r--r--lib/Driver/Driver.cpp17
-rw-r--r--lib/Driver/ToolChain.cpp16
-rw-r--r--lib/Driver/ToolChains.cpp45
-rw-r--r--lib/Driver/ToolChains.h13
-rw-r--r--lib/Driver/Tools.cpp51
-rw-r--r--lib/Driver/Types.cpp62
-rw-r--r--lib/Format/Format.cpp175
-rw-r--r--lib/Format/TokenAnnotator.cpp53
-rw-r--r--lib/Format/TokenAnnotator.h5
-rw-r--r--lib/Format/UnwrappedLineParser.cpp11
-rw-r--r--lib/Format/UnwrappedLineParser.h8
-rw-r--r--lib/Frontend/ASTUnit.cpp9
-rw-r--r--lib/Frontend/CompilerInvocation.cpp25
-rw-r--r--lib/Frontend/PrintPreprocessedOutput.cpp11
-rw-r--r--lib/Headers/altivec.h28