diff options
| author | Daniel Jasper <djasper@google.com> | 2013-01-04 18:52:56 +0000 | 
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-01-04 18:52:56 +0000 | 
| commit | c0880a904b92ae30d61219232df538d6951ba72b (patch) | |
| tree | 1da4a8f6c5b0cb12ebcfd90babbe5a01d2fad94b /clang/lib/Lex/ModuleMap.cpp | |
| parent | c18708ee6e502431cae3ab285218237deeb824d9 (diff) | |
| download | llvm-c0880a904b92ae30d61219232df538d6951ba72b.zip llvm-c0880a904b92ae30d61219232df538d6951ba72b.tar.gz llvm-c0880a904b92ae30d61219232df538d6951ba72b.tar.bz2 | |
Let the formatter ignore UnwrappedLines containing errors.
This prevents code like:
namespace {
class Foo {
  Foo(
  };
}  // comment
from causing segfaults (see llvm.org/PR14774).
llvm-svn: 171495
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions
