forked from OSchip/llvm-project
23376259c0
Before: var regex = / a\//; int i; After: var regex = /a\//; int i; This required pushing the Lexer into its wrapper class and generating a new one in this specific case. Otherwise, the sequence get lexed as a //-comment. This is hacky, but I don't know a better way (short of supporting regex literals in the Lexer). Pushing the Lexer down seems to make all the call sites simpler. llvm-svn: 217444 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ClangFormat.cpp | ||
Makefile | ||
clang-format-bbedit.applescript | ||
clang-format-diff.py | ||
clang-format-sublime.py | ||
clang-format.el | ||
clang-format.py | ||
git-clang-format |