[PATCH] D159393: [clang] Fix several issues in the generated AttrHasAttributeImpl.inc

Sergei Barannikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 1 19:52:51 PDT 2023


barannikov88 added inline comments.


================
Comment at: clang/test/Preprocessor/has_attribute.cpp:35
+CXX11(clang::warn_unused_result)
+
 // CHECK: __gnu__::__const__: 1
----------------
For the context, the attribute is defined with the following spellings:
```
  let Spellings = [CXX11<"", "nodiscard", 201907>,
                   C23<"", "nodiscard", 202003>,
                   CXX11<"clang", "warn_unused_result">,
                   GCC<"warn_unused_result">];
```



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159393



More information about the cfe-commits mailing list