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 | 2fd559f041d49863a7396d9e330bc9dae95ac8c4 (patch) | |
tree | cbaf9c6e0b12fd33577c98295a458a009bc1d7ae | |
parent | 5c7f59445ae68109c7ffee731aca2ce32db587c7 (diff) |
[ms-inline asm] Hoist getNumClobbers into base class.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162711 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/Stmt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/AST/Stmt.h b/include/clang/AST/Stmt.h index dad943d021..81eac33655 100644 --- a/include/clang/AST/Stmt.h +++ b/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 { |