diff options
author | Alex Lorenz <arphaman@gmail.com> | 2015-06-30 16:51:29 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2015-06-30 16:51:29 +0000 |
commit | 6c6c46e4dfa9e3e16a7b40bffd90438ce5d38095 (patch) | |
tree | 4867db38ea76b9573e4c10dee8ce1c3a2199f85a /clang/lib/Basic/Module.cpp | |
parent | 3123eff5ebea42904ffb9297e6f0a2eb403ea03d (diff) | |
download | llvm-6c6c46e4dfa9e3e16a7b40bffd90438ce5d38095.zip llvm-6c6c46e4dfa9e3e16a7b40bffd90438ce5d38095.tar.gz llvm-6c6c46e4dfa9e3e16a7b40bffd90438ce5d38095.tar.bz2 |
MIR Parser: adopt the 'maybeLex...' pattern. NFC.
This commit refactors the machine instruction lexer so that the lexing
functions use the 'maybeLex...' pattern, where they determine if they
can lex the current token by themselves.
Reviewers: Sean Silva
Differential Revision: http://reviews.llvm.org/D10817
llvm-svn: 241078
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions