[clang] de4321c - [libclang] Tweaks for clang_CXXMethod_isExplicit

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 9 06:55:23 PST 2023


Author: Aaron Ballman
Date: 2023-02-09T09:55:11-05:00
New Revision: de4321cf2cf28f2bae7fc0f1897957e73b726f89

URL: https://github.com/llvm/llvm-project/commit/de4321cf2cf28f2bae7fc0f1897957e73b726f89
DIFF: https://github.com/llvm/llvm-project/commit/de4321cf2cf28f2bae7fc0f1897957e73b726f89.diff

LOG: [libclang] Tweaks for clang_CXXMethod_isExplicit

This adds a release note that was accidentally dropped, and moves the
symbol from LLVM 16 to LLVM 17 in the module map.

Amends 0a51bc731bcc2c27e4fe97957a83642d93d989be

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst
    clang/tools/libclang/libclang.map

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 4d52dbb27a90e..4fef5f883655b 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -213,6 +213,10 @@ clang-extdef-mapping
 libclang
 --------
 
+- Introduced the new function ``clang_CXXMethod_isExplicit``,
+  which identifies whether a constructor or conversion function cursor
+  was marked with the explicit identifier.
+
 Static Analyzer
 ---------------
 

diff  --git a/clang/tools/libclang/libclang.map b/clang/tools/libclang/libclang.map
index 4a607338a9f64..efb1c3cc4e691 100644
--- a/clang/tools/libclang/libclang.map
+++ b/clang/tools/libclang/libclang.map
@@ -416,6 +416,9 @@ LLVM_16 {
     clang_disposeAPISet;
     clang_getSymbolGraphForCursor;
     clang_getSymbolGraphForUSR;
+};
+
+LLVM_17 {
     clang_CXXMethod_isExplicit;
 };
 


        


More information about the cfe-commits mailing list