[LLVMbugs] [Bug 23901] New: Crash on invalid on error suppressed by error-limit

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 19 17:00:00 PDT 2015


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

            Bug ID: 23901
           Summary: Crash on invalid on error suppressed by error-limit
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: klimek at google.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

unknown_type foo(unknown_type);

template <typename>
class Bar {};

extern template class Bar<int>;
template class Bar<int>;

Commandline: clang -cc1 -fsyntax-only -std=c++11 -ferror-limit 1  s.ii

Backtrace:
clang: llvm/tools/clang/include/clang/AST/DeclCXX.h:592: struct DefinitionData
&clang::CXXRecordDecl::data() const: Assertion `DD && "queried property of
class with no definition"' failed.

-- 
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/20150620/6c4fa96a/attachment.html>


More information about the llvm-bugs mailing list