aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-15 00:41:20 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-15 00:41:20 +0000
commit1e059da457ba65062448f24975db386efa0d51f8 (patch)
tree6bbc0101dffc5f021da03c8ee2c514a3026baa61
parentcd6873e5c6b89caefa0baeb21c4ad94976fa1b8a (diff)
[ms-inline asm] Mark getClobber() const.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161912 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Stmt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/Stmt.h b/include/clang/AST/Stmt.h
index fc0c0810c5..05d054918d 100644
--- a/include/clang/AST/Stmt.h
+++ b/include/clang/AST/Stmt.h
@@ -1660,7 +1660,7 @@ public:
//===--- Other ---===//
unsigned getNumClobbers() const { return NumClobbers; }
- StringRef getClobber(unsigned i) { return Clobbers[i]; }
+ StringRef getClobber(unsigned i) const { return Clobbers[i]; }
SourceRange getSourceRange() const LLVM_READONLY {
return SourceRange(AsmLoc, EndLoc);