https://bugs.llvm.org/show_bug.cgi?id=38820
Bug ID: 38820
Summary: Decl.cpp:2332: bool clang::VarDecl::checkInitIsICE()
const: Assertion `!Init->isValueDependent()' failed
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: unassignedclangb...@nondot.org
Reporter: balarishi.bhog...@amd.com
CC: llvm-bugs@lists.llvm.org
Created attachment 20831
--> https://bugs.llvm.org/attachment.cgi?id=20831&action=edit
Reduced testcase file to reproduce the issue
Faced the below assertion failure:
/home/amd/JENKINS/workspace/Staging_Build_Tracker/llvm/tools/clang/lib/AST/Decl.cpp:2332:
bool clang::VarDecl::checkInitIsICE() const: Assertion
`!Init->isValueDependent()' failed.
Steps to reproduce the issue with the reduced testcase:
- Download the attached file
- Compile the cpp file using the below command
clang++ CE_assertion_err.cpp
--
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