Closed as not planned
Description
Bugzilla Link | 14017 |
Version | trunk |
OS | Windows NT |
Attachments | The source that triggers the error |
Reporter | LLVM Bugzilla Contributor |
Extended Description
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!