makefile: specify C99/C++17 standards in .clangd
This commit is contained in:
parent
c504b5dc31
commit
ade70d176a
10
.clangd
10
.clangd
@ -1,3 +1,13 @@
|
|||||||
CompileFlags:
|
CompileFlags:
|
||||||
Add: [-I/usr/include/efi, -I/usr/include/efi/x86_64, -DHELOS]
|
Add: [-I/usr/include/efi, -I/usr/include/efi/x86_64, -DHELOS]
|
||||||
|
---
|
||||||
|
If:
|
||||||
|
PathMatch: [.*\.h, .*\.c]
|
||||||
|
CompileFlags:
|
||||||
|
Add: [-xc, -std=c99]
|
||||||
|
---
|
||||||
|
If:
|
||||||
|
PathMatch: [.*\.hpp, .*\.cpp]
|
||||||
|
CompileFlags:
|
||||||
|
Add: [-xc++, -std=c++17]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user