[cfe-commits] r61367 - /cfe/trunk/include/clang/AST/Type.h
Chris Lattner
sabre at nondot.org
Mon Dec 22 20:57:47 PST 2008
Author: lattner
Date: Mon Dec 22 22:57:30 2008
New Revision: 61367
URL: http://llvm.org/viewvc/llvm-project?rev=61367&view=rev
Log:
Add a setter for CVR qualifiers, patch by Lukasz Janyst!
Modified:
cfe/trunk/include/clang/AST/Type.h
Modified: cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=61367&r1=61366&r2=61367&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Mon Dec 22 22:57:30 2008
@@ -93,6 +93,7 @@
: Value(const_cast<Type*>(Ptr), Quals) {}
unsigned getCVRQualifiers() const { return Value.getInt(); }
+ void setCVRQualifiers(unsigned Quals) { Value.setInt(Quals); }
Type *getTypePtr() const { return Value.getPointer(); }
void *getAsOpaquePtr() const { return Value.getOpaqueValue(); }
More information about the cfe-commits
mailing list