mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
e8fe398340
This implements a custom compilation database to conditionally add the correct language flags to the compiler frontend. Otherwise, a C header might receive `--std=c++17` and fail. Note: All headers are always processed in C++ mode. We expect that headers of well-behaved C libraries contain `#ifdef __cplusplus`/`extern "C" {}` guards. PiperOrigin-RevId: 435302048 Change-Id: Ib84e6e1f301ba434999846a012b3f8c16884648e |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
compilation_database.cc | ||
compilation_database.h | ||
diagnostics.cc | ||
diagnostics.h | ||
emitter_test.cc | ||
emitter.cc | ||
emitter.h | ||
frontend_action_test_util.cc | ||
frontend_action_test_util.h | ||
generator_tool.cc | ||
generator.cc | ||
generator.h | ||
types.cc | ||
types.h |