[LLVMbugs] [Bug 22236] New: wrong error message on builtin type parsing error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 14 23:57:44 PST 2015


            Bug ID: 22236
           Summary: wrong error message on builtin type parsing error
           Product: clang
           Version: 3.5
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolas.brunie at kalray.eu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13690
  --> http://llvm.org/bugs/attachment.cgi?id=13690&action=edit
git patch to fix the bug

when using 'h' modifier in a builtin type string, along an erroneous Unsigned
or Signed modifier, clang will display "Bad modifiers used with 'f'!" rather
than "(...) with 'h'!".

LLVM 3.5.1
file: clang/lib/AST/ASTContext.cpp
line: 7520 (~7581 in current clang trunk)
function DecodeTypeFromStr

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/20150115/9724dd07/attachment.html>

More information about the llvm-bugs mailing list