summaryrefslogtreecommitdiff
path: root/test/Driver/cl-pch-showincludes.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-03-13 02:44:13 +0000
committerNico Weber <nicolasweber@gmx.de>2016-03-13 02:44:13 +0000
commitfdde4e46019e20bc540106b117c58740ef0ffede (patch)
treef084f2f275f4451751344b7c366a3bab76f0567c /test/Driver/cl-pch-showincludes.cpp
parentd59a142ef50bf041797143db71d2d4777fd32d27 (diff)
downloadclang-fdde4e46019e20bc540106b117c58740ef0ffede.tar.gz
clang-cl: Add /Yc argument to /showIncludes output.
To make this work, delay printing of ExtraDeps in HeaderIncludesCallback a bit, so that it happens after CompilerInstance::InitializeSourceManager() has run. General /FI arguments are still missing from /showIncludes output, this still needs to be fixed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263352 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/cl-pch-showincludes.cpp')
-rw-r--r--test/Driver/cl-pch-showincludes.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Driver/cl-pch-showincludes.cpp b/test/Driver/cl-pch-showincludes.cpp
index 1fe25c08ec..db4fb7b732 100644
--- a/test/Driver/cl-pch-showincludes.cpp
+++ b/test/Driver/cl-pch-showincludes.cpp
@@ -9,8 +9,7 @@
// input itself) and header3.h (included directly, above) should be printed.
// RUN: %clang_cl -Werror /showIncludes /I%S/Inputs /Ycheader2.h /FIheader2.h /Fp%t.pch /c -- %s 2>&1 \
// RUN: | FileCheck -check-prefix=CHECK-YC %s
-// FIXME: clang-cl doesn't print "header2.h" yet, next line shouldn't say -NOT
-// CHECK-YC-NOT: Note: including file: {{.*header2.h}}
+// CHECK-YC: Note: including file: {{.*header2.h}}
// CHECK-YC: Note: including file: {{.*header1.h}}
// CHECK-YC: Note: including file: {{.*header3.h}}