[llvm] r247354 - Mark another method const. Sorry for missing this one the first time.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 15:46:38 PDT 2015
Author: rafael
Date: Thu Sep 10 17:46:38 2015
New Revision: 247354
URL: http://llvm.org/viewvc/llvm-project?rev=247354&view=rev
Log:
Mark another method const. Sorry for missing this one the first time.
Modified:
llvm/trunk/include/llvm/MC/StringTableBuilder.h
Modified: llvm/trunk/include/llvm/MC/StringTableBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/StringTableBuilder.h?rev=247354&r1=247353&r2=247354&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/StringTableBuilder.h (original)
+++ llvm/trunk/include/llvm/MC/StringTableBuilder.h Thu Sep 10 17:46:38 2015
@@ -41,7 +41,7 @@ public:
/// \brief Retrieve the string table data. Can only be used after the table
/// is finalized.
- StringRef data() {
+ StringRef data() const {
assert(isFinalized());
return StringTable;
}
More information about the llvm-commits
mailing list