]> granicus.if.org Git - clang/commit
-Add support for cv-qualifiers after function declarators.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 24 Oct 2008 21:46:40 +0000 (21:46 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 24 Oct 2008 21:46:40 +0000 (21:46 +0000)
commit971c4fae6092976338b755af1d47dac07c8f16e3
tree79c99cc3a9071a8d1c7a1a20a22a73dc9ae71d08
parentb394d1ca7d6debc1bce0f7797bb790df6bbf1d29
-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
14 files changed:
include/clang/AST/ASTContext.h
include/clang/AST/DeclCXX.h
include/clang/AST/Type.h
include/clang/Basic/DiagnosticKinds.def
include/clang/Parse/DeclSpec.h
lib/AST/ASTContext.cpp
lib/AST/DeclCXX.cpp
lib/AST/Type.cpp
lib/Parse/ParseDecl.cpp
lib/Parse/ParseExpr.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaType.cpp
test/SemaCXX/function-type-qual.cpp [new file with mode: 0644]