Issue 139058
Summary Flags specifics to a language mode are not diagnosed in other language modes
Labels clang:driver
Assignees
Reporter cor3ntin
    ```
clang -x c -fexceptions -frtti -fchar8_t -fcoroutines -fcxx-modules
```

We do not emit diagnostics for `-fexceptions -frtti -fchar8_t`, which are not valid C options.

(but we seem to do for `-fcoroutines -fcxx-modules`)

https://compiler-explorer.com/z/48hc6Krh3
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to