[clang] [C] Add diagnostic + attr for unterminated strings (PR #137829)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 30 06:29:09 PDT 2025


================
@@ -5024,3 +5024,9 @@ def OpenACCRoutineDecl :InheritableAttr {
     void printPrettyPragma(raw_ostream &OS, const PrintingPolicy &Policy) const;
   }];
 }
+
+def NonString : InheritableAttr {
+  let Spellings = [GCC<"nonstring">];
----------------
erichkeane wrote:

No interest in doing a 'clang' spelling for this as well?  This seems reasonably valuable enough I would expect `clang::` to be ok too.

https://github.com/llvm/llvm-project/pull/137829


More information about the cfe-commits mailing list