[clang] Remove delayed typo expressions (PR #143423)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 10 04:30:52 PDT 2025
================
@@ -649,12 +647,12 @@ class AddObservation { // expected-note {{declared here}}
namespace testNonStaticMemberHandling {
struct Foo {
- bool usesMetadata; // expected-note {{'usesMetadata' declared here}}
+ bool usesMetadata;
};
int test(Foo f) {
if (UsesMetadata) // expected-error-re {{use of undeclared identifier 'UsesMetadata'{{$}}}}
return 5;
- if (f.UsesMetadata) // expected-error {{no member named 'UsesMetadata' in 'testNonStaticMemberHandling::Foo'; did you mean 'usesMetadata'?}}
+ if (f.UsesMetadata) // expected-error {{no member named 'UsesMetadata' in 'testNonStaticMemberHandling::Foo'}}
----------------
AaronBallman wrote:
Same as above; it was relying on delayed typo correction for some reason.
https://github.com/llvm/llvm-project/pull/143423
More information about the cfe-commits
mailing list