http://llvm.org/bugs/show_bug.cgi?id=14017
Bug #: 14017
Summary: PreprocessingRecord assertion failure, line 257
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 9305
--> http://llvm.org/bugs/attachment.cgi?id=9305
The source that triggers the error
Clang fails with a correct source file:
E:\llvm\llvm\bin\Debug>c-index-test -test-load-source all fail.c
Assertion failed: (PreprocessedEntities.empty() ||
!SourceMgr.isBeforeInTranslat
ionUnit(BeginLoc, PreprocessedEntities.back()->getSourceRange().getBegin())) &&
"a macro directive was encountered out-of-order", file
.\PreprocessingRecord.cpp
, line 257
libclang: crash detected during parsing: {
'source_filename' : '(null)'
'command_line_args' : ['fail.c'],
'unsaved_files' : [],
'options' : 1,
}
Unable to load translation unit!
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs