[LLVMbugs] [Bug 13334] New: Fix __has_include crashes in test/Preprocessor/has_include.c

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 11 13:08:14 PDT 2012


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

             Bug #: 13334
           Summary: Fix __has_include crashes in
                    test/Preprocessor/has_include.c
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: jordan_rose at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


A number of "badly formed expressions" in test/Preprocessor/has_include.c cause
clang to crash if uncommented.

#if __has_include("stdint.h"
#if __has_include(
#if __has_include
#if __has_include(<stdint.h>
#if __has_include(<stdint.h)

(I'm about to commit a change that tags the crashing cases under this PR
number.)

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