diff options
author | Daniel Jasper <djasper@google.com> | 2013-03-22 10:01:29 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-03-22 10:01:29 +0000 |
commit | 55213652486fb9d90d9ccaefd73d2c5f4eceed06 (patch) | |
tree | 1907bc2de5cf82356af0383ceb41d2fa5a8d2b7d /clang/lib/Serialization/ModuleManager.cpp | |
parent | 7b261db8e61653e6e885d7313ec9617e47d4a1f3 (diff) | |
download | llvm-55213652486fb9d90d9ccaefd73d2c5f4eceed06.zip llvm-55213652486fb9d90d9ccaefd73d2c5f4eceed06.tar.gz llvm-55213652486fb9d90d9ccaefd73d2c5f4eceed06.tar.bz2 |
Make clang-format understand more line comments.
Apparently one needs to set LangOptions.LineComment.
Before "//* */" got reformatted to "/ /* */" as the lexer was returning
the token sequence (slash, comment). This could also lead to weird other
stuff, e.g. for people that like to using comments like:
//****************
llvm-svn: 177720
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions