diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-06-08 07:21:15 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-06-08 07:21:15 +0000 |
commit | a23b4856476320435e1ae59f71f19fc30b1c9992 (patch) | |
tree | 8b101f809cef57c3483a5fdc12299b3f773451e3 /lib/Parse/AttributeList.cpp | |
parent | a1821b5f8bee18c8298daead12faffc39266ac23 (diff) |
Add real parsing for __declspec. It doesn't make much of a difference
at the moment because we ignore the result.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/AttributeList.cpp')
-rw-r--r-- | lib/Parse/AttributeList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Parse/AttributeList.cpp b/lib/Parse/AttributeList.cpp index 0170a0671d..3fb6f950ef 100644 --- a/lib/Parse/AttributeList.cpp +++ b/lib/Parse/AttributeList.cpp @@ -18,9 +18,9 @@ using namespace clang; AttributeList::AttributeList(IdentifierInfo *aName, SourceLocation aLoc, IdentifierInfo *pName, SourceLocation pLoc, ActionBase::ExprTy **ExprList, unsigned numArgs, - AttributeList *n) + AttributeList *n, bool declspec) : AttrName(aName), AttrLoc(aLoc), ParmName(pName), ParmLoc(pLoc), - NumArgs(numArgs), Next(n) { + NumArgs(numArgs), Next(n), DeclspecAttribute(declspec) { if (numArgs == 0) Args = 0; |