diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-03-28 01:55:44 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-03-28 01:55:44 +0000 |
commit | 4cf4a5e96ab0babd13774b17112e7c1d83042ea7 (patch) | |
tree | f3ce07e277bb3bf61d0e3a834ea2af88dcd634e0 /include/clang/Sema/Sema.h | |
parent | 93d6b07cd79d74e343d81c0e8fb5365376a33097 (diff) |
Support C11 _Atomic type qualifier. This is more-or-less just syntactic sugar for the _Atomic type specifier.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178210 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/Sema.h')
-rw-r--r-- | include/clang/Sema/Sema.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h index 4259bb88ed..049290b5bb 100644 --- a/include/clang/Sema/Sema.h +++ b/include/clang/Sema/Sema.h @@ -936,10 +936,8 @@ public: QualType BuildQualifiedType(QualType T, SourceLocation Loc, Qualifiers Qs, const DeclSpec *DS = 0); - QualType BuildQualifiedType(QualType T, SourceLocation Loc, unsigned CVR, - const DeclSpec *DS = 0) { - return BuildQualifiedType(T, Loc, Qualifiers::fromCVRMask(CVR), DS); - } + QualType BuildQualifiedType(QualType T, SourceLocation Loc, unsigned CVRA, + const DeclSpec *DS = 0); QualType BuildPointerType(QualType T, SourceLocation Loc, DeclarationName Entity); QualType BuildReferenceType(QualType T, bool LValueRef, |