Sarcasm / irony-mode

A C/C++ minor mode for Emacs powered by libclang
GNU General Public License v3.0
901 stars 98 forks source link

support compile_flags.txt #489

Closed ensc closed 4 years ago

ensc commented 6 years ago

Recent clang supports a compile_flags.txt file which can be used as an alternative to compilation-database.json. Quoting from https://clang.llvm.org/docs/JSONCompilationDatabase.html#build-system-integration

Alternatives

For simple projects, Clang tools also recognize a compile_flags.txt file. This should contain one flag per line. The same flags will be used to compile any file.

It would be nice when irony-mode would support this file.