[PATCH] D23385: Implement __attribute__((require_constant_initialization)) for safe static initialization.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 30 16:08:17 PDT 2016


EricWF marked an inline comment as done.

================
Comment at: utils/TableGen/ClangAttrEmitter.cpp:2794
@@ -2794,1 +2793,3 @@
+    if ((*I)->getValueAsBit("Negated")) {
+      FnName += "Not";
       Test += "!";
----------------
This is needed so that the `COnly` and `CPlusPlus` entries in `Attr.td` don't create the same function name.


https://reviews.llvm.org/D23385





More information about the cfe-commits mailing list