commit | da313592441db36cf4b06be97c4bcc238ee6fa9c | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Sep 27 01:42:07 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Sep 27 01:42:07 2012 +0000 |
tree | 2f8a1bcce21d4a56f6c118b8968154c0a9b79cec | |
parent | 69e80c58bcfdeeadc90f205b9c1b234f8eed14ed [diff] [blame] |
Per discussion in http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120917/064551.html have PPCallbacks::InclusionDirective pass the character range for the filename quotes or brackets. rdar://11113134 & http://llvm.org/PR13880 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164743 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/FixIt/fixit-include.c b/test/FixIt/fixit-include.c index 51bd9b0..383c513 100644 --- a/test/FixIt/fixit-include.c +++ b/test/FixIt/fixit-include.c
@@ -3,8 +3,10 @@ // RUN: cp %S/fixit-include.h %T // RUN: not %clang_cc1 -fsyntax-only -fixit %t // RUN: %clang_cc1 -Wall -pedantic %t +// RUN: %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s #include <fixit-include.h> // expected-error {{'fixit-include.h' file not found with <angled> include; use "quotes" instead}} +// CHECK: fix-it:{{.*}}:{8:10-8:27} #pragma does_not_exist // expected-warning {{unknown pragma ignored}}