[cfe-commits] r161912 - /cfe/trunk/include/clang/AST/Stmt.h

Chad Rosier mcrosier at apple.com
Tue Aug 14 17:41:20 PDT 2012


Author: mcrosier
Date: Tue Aug 14 19:41:20 2012
New Revision: 161912

URL: http://llvm.org/viewvc/llvm-project?rev=161912&view=rev
Log:
[ms-inline asm] Mark getClobber() const.

Modified:
    cfe/trunk/include/clang/AST/Stmt.h

Modified: cfe/trunk/include/clang/AST/Stmt.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Stmt.h?rev=161912&r1=161911&r2=161912&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Stmt.h (original)
+++ cfe/trunk/include/clang/AST/Stmt.h Tue Aug 14 19:41:20 2012
@@ -1660,7 +1660,7 @@
   //===--- 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);





More information about the cfe-commits mailing list