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: unassignedclangb...@nondot.org
          Reporter: bo...@codesynthesis.com
                CC: dgre...@apple.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to