[PATCH] D153690: [clang][Sema] Remove dead diagnostic for loss of __unaligned qualifier
Michael Jabbour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 29 06:28:54 PDT 2023
michael-jabbour-sonarsource added a comment.
The removal of the early return in this patch causes a crash when parsing the following example:
struct S {
bool operator==(int) const;
};
void func() {
S __unaligned s;
s == 42;
}
See this Compiler Explorer link with a stacktrace: https://godbolt.org/z/4Mcd3crq1.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153690/new/
https://reviews.llvm.org/D153690
More information about the cfe-commits
mailing list