hans added a comment.

We're hitting an assertion in Chromium due to this:

  llvm/clang/lib/AST/Decl.cpp:1510: clang::LinkageInfo 
clang::LinkageComputer::getLVForDecl(const clang::NamedDecl *, 
clang::LVComputationKind): Assertion `D->getCachedLinkage() == LV.getLinkage()' 
failed.

See https://bugs.chromium.org/p/chromium/issues/detail?id=1331274#c2 for a 
reproducer.

I've reverted this in d42fe9aa84203a8f51b43a901d72fdc39eea69f7 
<https://reviews.llvm.org/rGd42fe9aa84203a8f51b43a901d72fdc39eea69f7> in the 
meantime.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126340/new/

https://reviews.llvm.org/D126340

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

Reply via email to