diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2014-04-30 19:04:01 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2014-04-30 19:04:01 +0000 |
commit | a64f34b759bb19a49d9fcc6be6db8f703a9c79d7 (patch) | |
tree | acecb63e11363876e443ca9e003cb6d36ea90e45 /clang/lib/Tooling/CompilationDatabase.cpp | |
parent | db8a4a8578af7703937c30b47ee3ffc9a952e6b4 (diff) | |
download | llvm-a64f34b759bb19a49d9fcc6be6db8f703a9c79d7.zip llvm-a64f34b759bb19a49d9fcc6be6db8f703a9c79d7.tar.gz llvm-a64f34b759bb19a49d9fcc6be6db8f703a9c79d7.tar.bz2 |
[Driver] Check type of InputElement before request a error message. If the
element is a FileNode, request error description. If the element is Group,
print hard coded error message. We need to implement a better diagnostics
here but even current solution is better than a segmentation fault output.
llvm-svn: 207691
Diffstat (limited to 'clang/lib/Tooling/CompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions