"-I/usr/local/include",
"-D__clangd__"
]
- # macos: flags that come from xcrun that brewd clangd doesn't understand
+ # macos: flags that come from xcrun that brewed clangd doesn't understand
Remove: [
"-clang-vendor-feature*",
"-fno-odr-hash-protocols*"
#include <assert.h>
#include <signal.h>
+extern char **environ;
+
#ifndef FALL_THROUGH
/** clang 10 doesn't recognised the FALL-THROUGH comment anymore
*/
{
if (!cmd->options.silent) {
char const **argument = argv;
+ char **env_p = environ;
+
+ while (*env_p) {
+ NOTICE("Environment: %s\n", *env_p);
+ env_p++;
+ }
+
NOTICE("Executing: ");
while (*argument) {
NOTICE("%s ", *argument);