projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use InstrSlots::NUM rather than pre-dividing by four. Also, mark this const.
[oota-llvm.git]
/
lib
/
AsmParser
/
LLLexer.h
diff --git
a/lib/AsmParser/LLLexer.h
b/lib/AsmParser/LLLexer.h
index 7eaa9f9d0ab70e906a1f0f3ae5f45aa4e0a93d40..8b44b14cb741e9b14474772c3db420a7598f7bb6 100644
(file)
--- a/
lib/AsmParser/LLLexer.h
+++ b/
lib/AsmParser/LLLexer.h
@@
-30,7
+30,7
@@
namespace llvm {
std::string TheError;
public:
- LLLexer(MemoryBuffer *StartBuf);
+
explicit
LLLexer(MemoryBuffer *StartBuf);
~LLLexer() {}
const char *getTokStart() const { return TokStart; }