diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-09-27 01:42:07 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-09-27 01:42:07 +0000 |
commit | 4fcd2885deb078fa46b39666a2fe8c8d3cdfaa68 (patch) | |
tree | 90a7e008fc606596eb77adfb3c05f1e52c75eb30 /clang/test/FixIt/fixit-include.c | |
parent | 8ba0fba28afcfd9797175281e0fbcb9b2e25dd05 (diff) | |
download | bcm5719-llvm-4fcd2885deb078fa46b39666a2fe8c8d3cdfaa68.tar.gz bcm5719-llvm-4fcd2885deb078fa46b39666a2fe8c8d3cdfaa68.zip |
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
llvm-svn: 164743
Diffstat (limited to 'clang/test/FixIt/fixit-include.c')
-rw-r--r-- | clang/test/FixIt/fixit-include.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/FixIt/fixit-include.c b/clang/test/FixIt/fixit-include.c index 51bd9b0dfd5..383c51386ab 100644 --- a/clang/test/FixIt/fixit-include.c +++ b/clang/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}} |