[LLVMbugs] [Bug 11442] New: libclang sends a signal when adding a column character to a .m file

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Nov 27 11:48:39 PST 2011


http://llvm.org/bugs/show_bug.cgi?id=11442

             Bug #: 11442
           Summary: libclang sends a signal when adding a column character
                    to a .m file
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: alessandro at runpresto.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7650
  --> http://llvm.org/bugs/attachment.cgi?id=7650
example Xcode project

I am using lib clang ( clang version 3.1 (trunk 144457) ) to build a code
editor on OSX.

When I type a single column ( ':' ) character inside the implementation of a
class in an objective-C (.m) file, clang_reparseTranslationUnit() sends a
signal and terminates the program.

I also noticed that clang_reparseTranslationUnit() is very slow ( too slow to
keep up with my typing to do lexical highlight, i.e. using clang_tokenize()
without clang_annotateTokens() ) when reprising a .h file, while it's much
quicker when reparising a .m file that includes that very same .h file.

-- 
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.



More information about the llvm-bugs mailing list