[PATCH] D89946: [clang] Suppress "follow-up" diagnostics on recovery call expressions.
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 22 03:46:29 PDT 2020
hokein added inline comments.
================
Comment at: clang/test/Modules/submodules-merge-defs.cpp:21
extern class A pre_a2;
-int pre_use_a = use_a(pre_a2); // expected-error 2{{'A' must be defined}} expected-error {{'use_a' must be declared}}
+int pre_use_a = use_a(pre_a2); // expected-error {{'use_a' must be declared}}
// expected-note at defs.h:2 +{{here}}
----------------
this (and the case below) are slight regressions, but I think the following diagnostics are not a big deal.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89946/new/
https://reviews.llvm.org/D89946
More information about the cfe-commits
mailing list