[llvm-bugs] [Bug 35384] New: [Modules TS] Assertion in lib/AST/Decl.cpp:1421 on namespace declared in and out of module

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 22 08:22:21 PST 2017


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

            Bug ID: 35384
           Summary: [Modules TS] Assertion in lib/AST/Decl.cpp:1421 on
                    namespace declared in and out of module
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: boris at codesynthesis.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

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

The attached reproducer causes the following assertion:

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

D is namespace foo.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171122/55f66f9e/attachment.html>


More information about the llvm-bugs mailing list