[PATCH] D150183: [Clang][clang-cl] Implement `__builtin_FUNCSIG`

Jakub Mazurkiewicz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 9 02:05:26 PDT 2023


JMazurkiewicz created this revision.
JMazurkiewicz added a reviewer: clang.
Herald added a project: All.
JMazurkiewicz requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch implements `__builtin_FUNCSIG` intrinsic which returns the same string as `__FUNCSIG__`.

Closes #58951.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150183

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150183.520626.patch
Type: text/x-patch
Size: 13936 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230509/c0175a89/attachment-0001.bin>


More information about the cfe-commits mailing list