diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-08-27 23:40:17 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-08-27 23:40:17 +0000 |
commit | fdba32c79f2e2ee7b26fcc52e89d494ba5c51e21 (patch) | |
tree | fb1cb5dd918fe6edde6e0485423dc989b1b95c96 | |
parent | d9fb09a91b77dd96db1b3ab3a1fbe9514810feb7 (diff) | |
download | bcm5719-llvm-fdba32c79f2e2ee7b26fcc52e89d494ba5c51e21.tar.gz bcm5719-llvm-fdba32c79f2e2ee7b26fcc52e89d494ba5c51e21.zip |
[ms-inline asm] Hoist getNumClobbers into base class.
llvm-svn: 162711
-rw-r--r-- | clang/include/clang/AST/Stmt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/AST/Stmt.h b/clang/include/clang/AST/Stmt.h index dad943d0214..81eac33655c 100644 --- a/clang/include/clang/AST/Stmt.h +++ b/clang/include/clang/AST/Stmt.h @@ -1443,6 +1443,8 @@ public: //===--- Other ---===// + unsigned getNumClobbers() const { return NumClobbers; } + static bool classof(const Stmt *T) { return T->getStmtClass() == GCCAsmStmtClass || T->getStmtClass() == MSAsmStmtClass; @@ -1643,7 +1645,6 @@ public: /// This returns -1 if the operand name is invalid. int getNamedOperand(StringRef SymbolicName) const; - unsigned getNumClobbers() const { return NumClobbers; } StringLiteral *getClobberStringLiteral(unsigned i) { return Clobbers[i]; } const StringLiteral *getClobberStringLiteral(unsigned i) const { return Clobbers[i]; @@ -1720,7 +1721,6 @@ public: //===--- Other ---===// - unsigned getNumClobbers() const { return NumClobbers; } StringRef getClobber(unsigned i) const { return Clobbers[i]; } SourceRange getSourceRange() const LLVM_READONLY { |