This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGbf15697e9b66: [clang][cli] Stop creating '-Wno-stdlibcxx-not-found' in cc1 (authored by jansvoboda11).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97042/new/ https://reviews.llvm.org/D97042 Files: clang/lib/Frontend/CompilerInvocation.cpp Index: clang/lib/Frontend/CompilerInvocation.cpp =================================================================== --- clang/lib/Frontend/CompilerInvocation.cpp +++ clang/lib/Frontend/CompilerInvocation.cpp @@ -4588,12 +4588,6 @@ Res.getPreprocessorOpts().Includes, Diags); if (Res.getFrontendOpts().ProgramAction == frontend::RewriteObjC) LangOpts.ObjCExceptions = 1; - if (T.isOSDarwin() && DashX.isPreprocessed()) { - // Supress the darwin-specific 'stdlibcxx-not-found' diagnostic for - // preprocessed input as we don't expect it to be used with -std=libc++ - // anyway. - Res.getDiagnosticOpts().Warnings.push_back("no-stdlibcxx-not-found"); - } } if (LangOpts.CUDA) {
Index: clang/lib/Frontend/CompilerInvocation.cpp =================================================================== --- clang/lib/Frontend/CompilerInvocation.cpp +++ clang/lib/Frontend/CompilerInvocation.cpp @@ -4588,12 +4588,6 @@ Res.getPreprocessorOpts().Includes, Diags); if (Res.getFrontendOpts().ProgramAction == frontend::RewriteObjC) LangOpts.ObjCExceptions = 1; - if (T.isOSDarwin() && DashX.isPreprocessed()) { - // Supress the darwin-specific 'stdlibcxx-not-found' diagnostic for - // preprocessed input as we don't expect it to be used with -std=libc++ - // anyway. - Res.getDiagnosticOpts().Warnings.push_back("no-stdlibcxx-not-found"); - } } if (LangOpts.CUDA) {
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits