[clang] [llvm] Expose format (attribute) info for function declarations in Clang Index API (PR #113754)

Jannick Kremer via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 18 03:57:09 PST 2024


================
@@ -3109,6 +3109,29 @@ CINDEX_LINKAGE int clang_getFieldDeclBitWidth(CXCursor C);
  */
 CINDEX_LINKAGE int clang_Cursor_getNumArguments(CXCursor C);
 
+/**
+ * Retrieve FormatAttr on function declaration
+ */
+CINDEX_LINKAGE CXCursor clang_Cursor_getFormatAttr   (CXCursor cur);
----------------
DeinAlptraum wrote:

No need to align the indentation of the arguments here (same below)

https://github.com/llvm/llvm-project/pull/113754


More information about the cfe-commits mailing list