diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-01-13 07:42:33 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-01-13 07:42:33 +0000 |
commit | b3c6d52d3abb6595610798b45c932f42c9003265 (patch) | |
tree | 0c381d9dc07f5caf2b448b5cfa61fe92cbf84ec1 /clang/lib/Lex/ModuleMap.cpp | |
parent | 26cc634dbfef1f8828f47066a163f9c07b4f741f (diff) | |
download | llvm-b3c6d52d3abb6595610798b45c932f42c9003265.zip llvm-b3c6d52d3abb6595610798b45c932f42c9003265.tar.gz llvm-b3c6d52d3abb6595610798b45c932f42c9003265.tar.bz2 |
Parse: Don't crash when default argument in typedef consists of sole '='
We'd crash trying to make the SourceRange for the tokens we'd like to
highlight. Don't assume there is more than one token makes up the
default argument.
llvm-svn: 225774
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions