[PATCH] D19244: Extend checking of va_start builtin

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 19 08:42:04 PDT 2016


aaron.ballman marked 6 inline comments as done.

================
Comment at: lib/Sema/SemaChecking.cpp:2722
@@ -2720,1 +2721,3 @@
       ParamLoc = PV->getLocation();
+      IsCRegister =
+          PV->getStorageClass() == SC_Register && !getLangOpts().CPlusPlus;
----------------
That makes sense, thank you for the explanation.


http://reviews.llvm.org/D19244





More information about the cfe-commits mailing list