https://bugs.llvm.org/show_bug.cgi?id=34528

            Bug ID: 34528
           Summary: [Modules TS] Assertion in lib/AST/Decl.cpp:1392
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: unassignedclangb...@nondot.org
          Reporter: bo...@codesynthesis.com
                CC: dgre...@apple.com, llvm-bugs@lists.llvm.org

Created attachment 19121
  --> https://bugs.llvm.org/attachment.cgi?id=19121&action=edit
Reproducing script.

Something recent (past ~2 weeks) causes the following assertion on pretty much
any mildly non-trivial Modules TS project for me:

lib/AST/Decl.cpp:1392: clang::LinkageInfo
clang::LinkageComputer::getLVForDecl(const clang::NamedDecl*,
clang::LVComputationKind): Assertion `!Old || Old->getCachedLinkage() ==
D->getCachedLinkage()' failed.

Reproducer is attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to