This patch implements __builtin_FUNCSIG intrinsic which returns the same string as __FUNCSIG__.
Closes #58951.
Paths 
  |  Differential  D150183  
[Clang][clang-cl] Implement `__builtin_FUNCSIG` ClosedPublic Authored by JMazurkiewicz on May 9 2023, 2:05 AM. 
Details 
 Summary This patch implements __builtin_FUNCSIG intrinsic which returns the same string as __FUNCSIG__. Closes #58951. 
Diff Detail Event TimelineComment Actions Thank you! In general, this is looking pretty close to ready. 
 JMazurkiewicz marked 2 inline comments as done. Comment Actions
 Comment Actions LGTM assuming precommit CI doesn't come back with surprises, though there are some minor typos in the release notes to be fixed. Do you need someone to commit on your behalf? If so, what name and email address would you like used for patch attribution? (If you need me to land it for you, I can fix up the release notes when I land, so you don't have to upload a new patch. If you land the changes yourself, feel free to fix the release notes while landing as well.) 
 This revision is now accepted and ready to land.May 18 2023, 7:42 AM Comment Actions 
 Yes, my name and email: "Jakub Mazurkiewicz <mazkuba3@gmail.com>". 
 Thank you in advance. This revision was landed with ongoing or failed builds.May 19 2023, 9:03 AM Closed by commit rG78d8312acea9: [Clang][clang-cl] Implement `__builtin_FUNCSIG` (authored by JMazurkiewicz, committed by aaron.ballman).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 523082 clang/docs/LanguageExtensions.rst
 clang/docs/ReleaseNotes.rst
 clang/include/clang/AST/Expr.h
 clang/include/clang/Basic/TokenKinds.def
 clang/include/clang/Sema/Sema.h
 
 clang/lib/AST/Expr.cpp
 clang/lib/Parse/ParseExpr.cpp
 clang/lib/Sema/SemaExpr.cpp
 
 clang/test/Preprocessor/feature_tests.c
 clang/test/Sema/source_location.c
 clang/test/SemaCXX/source_location.cpp
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||