[LLVMbugs] [Bug 13880] New: Incorrect range of <angled> include fixit

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 19 15:33:02 PDT 2012


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

             Bug #: 13880
           Summary: Incorrect range of <angled> include fixit
           Product: new-bugs
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: vsapsai.llvm.bugs at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Steps to Reproduce:
In llvm/tools/clang/test/FixIt run
$ clang -fsyntax-only fixit-include.c

Actual Results:
fixit-include.c:7:10: error: 'fixit-include.h' file not found with <angled>
include; use "quotes" instead
#include <fixit-include.h> // expected-error {{'fixit-include.h' file not found
with <angled> include; use "quotes" instead}}
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         "fixit-include.h"
1 error generated.

Expected Results:
fixit-include.c:7:10: error: 'fixit-include.h' file not found with <angled>
include; use "quotes" instead
#include <fixit-include.h> // expected-error {{'fixit-include.h' file not found
with <angled> include; use "quotes" instead}}
         ^~~~~~~~~~~~~~~~~
         "fixit-include.h"
1 error generated.

I.e. fixit range shouldn't go beyond right angled bracket.

Build Date & Platform:
Build 09/20/2012 (r164256) on Mac OS X 10.6.8.

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