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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to