Commit 1ff91a7
authored
📝 Set correct clangd query-driver regex (#70)
clangd will use the query-driver to request system includes from g++.
Having clangd do this for clang is problematic because it ends up adding
additional system includes which disrupt and break the analysis. To
solve this, we a query-driver that only activates for g++ and other
gcc C++ compiler names such as arm-none-eabi-g++. To support these we
can use this query driver argument:
For Linux/Mac: `--query-driver=**/g++,**/*-g++`
For Windows: `--query-driver=**/g++.exe,**/*-g++.exe`1 parent 69fb876 commit 1ff91a7
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments