diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-10-24 21:46:40 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-10-24 21:46:40 +0000 |
commit | 971c4fae6092976338b755af1d47dac07c8f16e3 (patch) | |
tree | 79c99cc3a9071a8d1c7a1a20a22a73dc9ae71d08 /lib/Parse/ParseExpr.cpp | |
parent | b394d1ca7d6debc1bce0f7797bb790df6bbf1d29 (diff) |
-Add support for cv-qualifiers after function declarators.
-Add withConst/withVolatile/withRestrict methods to QualType class, that return the QualType plus the respective qualifier.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseExpr.cpp')
-rw-r--r-- | lib/Parse/ParseExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseExpr.cpp b/lib/Parse/ParseExpr.cpp index f6d7037ad1..7ab9d869c2 100644 --- a/lib/Parse/ParseExpr.cpp +++ b/lib/Parse/ParseExpr.cpp @@ -1116,7 +1116,7 @@ Parser::ExprResult Parser::ParseBlockLiteralExpression() { } else { // Otherwise, pretend we saw (void). ParamInfo.AddTypeInfo(DeclaratorChunk::getFunction(true, false, - 0, 0, CaretLoc)); + 0, 0, 0, CaretLoc)); } // Inform sema that we are starting a block. |