[PATCH] D32092: Attribute inline

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 14 11:53:12 PDT 2017


aaron.ballman added inline comments.


================
Comment at: include/clang/Basic/Attr.td:869
 def GNUInline : InheritableAttr {
-  let Spellings = [GCC<"gnu_inline">];
+  let Spellings = [GCC<"gnu_inline">, Declspec<"inline">];
   let Subjects = SubjectList<[Function]>;
----------------
I cannot see any documentation on MSDN for this spelling of the attribute, and MSVC 2015 rejects it. What is the motivating use case for this spelling?


https://reviews.llvm.org/D32092





More information about the cfe-commits mailing list