Skip to content
This repository was archived by the owner on Feb 4, 2024. It is now read-only.

Commit bb7c039

Browse files
committed
test: Add compile-flags.txt for clangd
Many editors have support for using clangd for error detection, code completion, etc. The `compile_flags.txt` sets the compiler flags assumed by clangd when checking code. We set our default defines here so that the most common code paths appear "active" in our editors.
1 parent 3fd6da5 commit bb7c039

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compile_flags.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-DCONFIGFILE
2+
-DUSE_FLOCK
3+
-DLINENOISE
4+
-DHIGH_BAUD

0 commit comments

Comments
 (0)