================
@@ -3461,6 +3462,9 @@ CIRGenModule::createCIRFunction(mlir::Location loc,
StringRef name,
// Mark C++ special member functions (Constructor, Destructor etc.)
setCXXSpecialMemberAttr(func, funcDecl);
+ // Tag functions that match a known standard library entity.
+ setFuncIdentityAttr(func, funcDecl);
----------------
SharmaRithik wrote:
Done, the spelling is std::find now, the term of art rather than std_find. My
earlier not possible only held for the default printer, the quoting printer
handles the colons. Thanks to Andy and Cursor for the idea, and also folded
into one setFuncInfoAttr.
https://github.com/llvm/llvm-project/pull/208854
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits