[PATCH] D148690: [clang][Interp] Handle __extension__ unary operators

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 19 00:16:41 PDT 2023


tbaeder added inline comments.


================
Comment at: clang/test/AST/Interp/literals.cpp:791
+#endif
     return __FUNCTION__[index];
   }
----------------
It's weird that the above two statements warn about using `__FUNCTION__` and the return statement doesn't.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148690/new/

https://reviews.llvm.org/D148690



More information about the cfe-commits mailing list