[PATCH] D41880: Adding nocf_check attribute for cf-protection fine tuning

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 13 11:56:28 PST 2018


craig.topper added inline comments.


================
Comment at: lib/Sema/SemaDeclAttr.cpp:2007
+
+bool Sema::CheckAttrNoArgs(const AttributeList &Attr) {
+  if (!checkAttributeNumArgs(*this, Attr, 0)) {
----------------
Wy did this get renamed?


================
Comment at: lib/Sema/SemaDeclAttr.cpp:2016
 
-bool Sema::CheckNoCallerSavedRegsAttr(const AttributeList &Attr) {
+bool Sema::CheckAttrTarget(const AttributeList &Attr) {
   // Check whether the attribute is valid on the current target.
----------------
Why did this get renamed?


Repository:
  rL LLVM

https://reviews.llvm.org/D41880





More information about the llvm-commits mailing list