diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-14 16:30:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-14 16:30:50 +0000 |
commit | 26e25545b26ec06f5d674dbae00fb168e6688d90 (patch) | |
tree | 5132f6b83250b8f366ac2ac9ba9fdce6da972846 /lib/Parse/AttributeList.cpp | |
parent | f807fe0d1a865f4c6ba7e494cf4ae360c4173521 (diff) |
recognize the gnuc_inline attribute.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/AttributeList.cpp')
-rw-r--r-- | lib/Parse/AttributeList.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Parse/AttributeList.cpp b/lib/Parse/AttributeList.cpp index d69755df73..b49399e880 100644 --- a/lib/Parse/AttributeList.cpp +++ b/lib/Parse/AttributeList.cpp @@ -111,6 +111,7 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) { if (!memcmp(Str, "vector_size", 11)) return AT_vector_size; if (!memcmp(Str, "constructor", 11)) return AT_constructor; if (!memcmp(Str, "unavailable", 11)) return AT_unavailable; + if (!memcmp(Str, "gnuc_inline", 11)) return AT_gnuc_inline; break; case 12: if (!memcmp(Str, "overloadable", 12)) return AT_overloadable; |