[llvm-bugs] [Bug 26633] New: clang clang::Sema::BuildCXXDefaultArgExpr asserts "isa<> used on a null pointer"

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 16 05:38:30 PST 2016


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

            Bug ID: 26633
           Summary: clang clang::Sema::BuildCXXDefaultArgExpr asserts
                    "isa<> used on a null pointer"
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: yaron.keren at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15911
  --> https://llvm.org/bugs/attachment.cgi?id=15911&action=edit
example source code

clang -fsyntax-only on the atatched file results in Assertion failed: Val &&
"isa<> used on a null pointer" from clang::Sema::BuildCXXDefaultArgExpr(class
clang::SourceLocation,class clang::FunctionDecl *,class clang::ParmVarDecl *).

Tested on Windows and Linux x64, clang version 3.9.0 (trunk 260888).

-- 
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/20160216/13af86e0/attachment.html>


More information about the llvm-bugs mailing list