CLION detects an "Unused import statement" in the cpp file. When I select "Suppress UnusedImportStatement for file" insertion of CLion:
#pragma clang diagnostic push
#pragma ide diagnostic ignored "UnusedImportStatement"
....
#pragma clang diagnostic pop
How to configure CLION to create these pragmas targeting GCC instead of clang?
source
share