rogfer01 added a comment. There is a flag `-fno-ident` that has the same effect in GCC https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fno-ident although it involves also ignoring the `#ident`.
A quick look seems to suggest that #ident is just ignored in the usual PP callbacks used by the parser so in practice `-fno-ident` would be the same as `-Qn` https://reviews.llvm.org/D45255 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits