diff options
| author | Jan Svoboda <jan_svoboda@apple.com> | 2021-02-08 09:36:28 +0100 |
|---|---|---|
| committer | Jan Svoboda <jan_svoboda@apple.com> | 2021-02-08 09:42:44 +0100 |
| commit | c1b482e726a943862ec5277a44c1994acfb7f97f (patch) | |
| tree | a531d59591f701bb2ebaa1962d29dff430214d14 /lldb/test/API/python_api/process/TestProcessAPI.py | |
| parent | 1b435eb8f3b71d11976c04bb6b99d6502aed2aab (diff) | |
[clang][index] Mark file as C++ in parse-all-comments test
`CompilerInvocation::CreateFromArgs` doesn't always report command line parsing failures through the return value. Sometimes, errors are only reported via diagnostics.
Some clients like `c-index-test` only check the return value and don't check the state of `DiagnosticsEngine`.
If we were to start returning the correct return value from `CreateFromArgs`, this index test starts to fail, because it specifies `-std=c++11` for a C input, which is invalid.
This patch fixes that issue by adding forgotten `-x c++` argument.
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D95879
Diffstat (limited to 'lldb/test/API/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
