[cfe-commits] r124299 - /cfe/trunk/include/clang/AST/Attr.h
Peter Collingbourne
peter at pcc.me.uk
Wed Jan 26 10:07:13 PST 2011
Author: pcc
Date: Wed Jan 26 12:07:13 2011
New Revision: 124299
URL: http://llvm.org/viewvc/llvm-project?rev=124299&view=rev
Log:
Move InheritableAttr::isInherited to Attr
Modified:
cfe/trunk/include/clang/AST/Attr.h
Modified: cfe/trunk/include/clang/AST/Attr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Attr.h?rev=124299&r1=124298&r2=124299&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Attr.h (original)
+++ cfe/trunk/include/clang/AST/Attr.h Wed Jan 26 12:07:13 2011
@@ -96,6 +96,8 @@
SourceLocation getLocation() const { return Loc; }
void setLocation(SourceLocation L) { Loc = L; }
+ bool isInherited() const { return Inherited; }
+
// Clone this attribute.
virtual Attr* clone(ASTContext &C) const = 0;
@@ -109,7 +111,6 @@
: Attr(AK, L) {}
public:
- bool isInherited() const { return Inherited; }
void setInherited(bool I) { Inherited = I; }
// Implement isa/cast/dyncast/etc.
More information about the cfe-commits
mailing list