================ Comment at: clang-tidy/readability/RemoveVoidArg.cpp:73 @@ +72,3 @@ + const LangOptions &LangOpts = Compiler.getLangOpts(); + CPlusPlusFile_ = LangOpts.CPlusPlus || LangOpts.CPlusPlus11 || + LangOpts.CPlusPlus14 || LangOpts.CPlusPlus1z; ---------------- As far as I can remember when the code compiled in e.g.: CPlusPlus14 mode, the CPlusPlus11 and CPlusPlus flags are also turned on. It might be enough to check CPlusPlus.
http://reviews.llvm.org/D7639 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
