[LLVMbugs] [Bug 15762] New: clang -fixit hits an assertions when given two files

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 16 14:27:38 PDT 2013


            Bug ID: 15762
           Summary: clang -fixit hits an assertions when given two files
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rtrieu at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

clang -cc1 -fixit a b

llvm/tools/clang/include/clang/Basic/Diagnostic.h:371: clang::SourceManager&
clang::DiagnosticsEngine::getSourceManager() const: Assertion `SourceMgr &&
"SourceManager not set!"' failed.

Running Clang fixit with any two files will cause an assertion failure.

Tested at r179627.

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/20130416/12946099/attachment.html>

More information about the llvm-bugs mailing list