summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-09-17 13:47:22 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-09-17 13:47:22 +0000
commitcdc43afa208ee6be7f4527b589020ec48819d68d (patch)
treec0b4a7977d64da999166885e7519c31eaaec63b1
parentb9ea09c4451cb8f33ffd41d22b7dd10e8a68c5c8 (diff)
downloadbcm5719-llvm-cdc43afa208ee6be7f4527b589020ec48819d68d.tar.gz
bcm5719-llvm-cdc43afa208ee6be7f4527b589020ec48819d68d.zip
Update the 3.8 release notes with the breaking change information regarding AST matchers.
llvm-svn: 247887
-rw-r--r--clang/docs/ReleaseNotes.rst45
1 files changed, 45 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 6c14b85e83a..779d45c2928 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -114,6 +114,51 @@ this section should help get you past the largest hurdles of upgrading.
- ...
+AST Matchers
+------------
+The AST matcher functions were renamed to reflect the exact AST node names,
+which is a breaking change to AST matching code. The following matchers were
+affected:
+
+======================= ============================
+Previous Matcher Name New Matcher Name
+======================= ============================
+recordDecl recordDecl and cxxRecordDecl
+ctorInitializer cxxCtorInitializer
+constructorDecl cxxConstructorDecl
+destructorDecl cxxDestructorDecl
+methodDecl cxxMethodDecl
+conversionDecl cxxConversionDecl
+memberCallExpr cxxMemberCallExpr
+constructExpr cxxConstructExpr
+unresolvedConstructExpr cxxUnresolvedConstructExpr
+thisExpr cxxThisExpr
+bindTemporaryExpr cxxBindTemporaryExpr
+newExpr cxxNewExpr
+deleteExpr cxxDeleteExpr
+defaultArgExpr cxxDefaultArgExpr
+operatorCallExpr cxxOperatorCallExpr
+forRangeStmt cxxForRangeStmt
+catchStmt cxxCatchStmt
+tryStmt cxxTryStmt
+throwExpr cxxThrowExpr
+boolLiteral cxxBoolLiteral
+nullPtrLiteralExpr cxxNullPtrLiteralExpr
+reinterpretCastExpr cxxReinterpretCastExpr
+staticCastExpr cxxStaticCastExpr
+dynamicCastExpr cxxDynamicCastExpr
+constCastExpr cxxConstCastExpr
+functionalCastExpr cxxFunctionalCastExpr
+temporaryObjectExpr cxxTemporaryObjectExpr
+CUDAKernalCallExpr cudaKernelCallExpr
+======================= ============================
+
+recordDecl() previously matched AST nodes of type CXXRecordDecl, but now
+matches AST nodes of type RecordDecl. If a CXXRecordDecl is required, use the
+cxxRecordDecl() matcher instead.
+
+...
+
libclang
--------
OpenPOWER on IntegriCloud