]> granicus.if.org Git - clang/commit
Use DeclSpec for quals in DeclaratorChunk::FunctionTypeInfo.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Wed, 9 Jan 2019 11:25:09 +0000 (11:25 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Wed, 9 Jan 2019 11:25:09 +0000 (11:25 +0000)
commit7f43dcfad8b0ba27dda9b1de50a9787f2473e928
treee38a35cce1ad99aed238cc0fd60fa93a6335cba2
parenta1312e9156064555daacf6a2daa19b9060f5b980
Use DeclSpec for quals in DeclaratorChunk::FunctionTypeInfo.

Rather than duplicating data fields, use DeclSpec directly to store
the qualifiers for the functions/methods. This change doesn't handle
attributes yet and has to be extended further.

Differential revision: https://reviews.llvm.org/D55948

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350703 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/DeclSpec.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Parse/ParseExpr.cpp
lib/Parse/ParseExprCXX.cpp
lib/Sema/DeclSpec.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaLambda.cpp
lib/Sema/SemaType.cpp