diff options
author | Chris Lattner <clattner@nondot.org> | 2020-03-23 15:39:32 -0700 |
---|---|---|
committer | Chris Lattner <clattner@nondot.org> | 2020-03-23 17:35:17 -0700 |
commit | 4a219bf7ff6fbe5cbd3b0c2120c8fe471e3f60fa (patch) | |
tree | 60425626a5c3bfc347837993beace7ad2c15d1d6 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f09f4b26762ab5d5c15ab6f66eb02a497c5f0b8e (diff) | |
download | llvm-4a219bf7ff6fbe5cbd3b0c2120c8fe471e3f60fa.zip llvm-4a219bf7ff6fbe5cbd3b0c2120c8fe471e3f60fa.tar.gz llvm-4a219bf7ff6fbe5cbd3b0c2120c8fe471e3f60fa.tar.bz2 |
Fix a bug in the .mlir lexer, where a \0 character in a file is treated as a colon (due to an accidental fall through) instead of whitespace.
Summary:
While here, simplify the lexer a bit by eliminating the unneeded 'operator'
classification of certain sigils, they can just be treated as 'punctuation'.
Reviewers: rriddle!
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D76647
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions