diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-04-08 01:23:59 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-04-08 01:23:59 +0000 |
commit | 6a6747d9dd8e89bb6199acf42f10359ed4584561 (patch) | |
tree | edc905dad3d9ca13b9ac4ea13039037b1b88e012 /clang/test/Modules/preprocess.cpp | |
parent | 805873148afbbbd2a377340ec647a6c838570aa5 (diff) | |
download | bcm5719-llvm-6a6747d9dd8e89bb6199acf42f10359ed4584561.tar.gz bcm5719-llvm-6a6747d9dd8e89bb6199acf42f10359ed4584561.zip |
[modules] Add a comment to explain why -E leaves some #includes in the preprocessed output.
llvm-svn: 265766
Diffstat (limited to 'clang/test/Modules/preprocess.cpp')
-rw-r--r-- | clang/test/Modules/preprocess.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/Modules/preprocess.cpp b/clang/test/Modules/preprocess.cpp index aa28191722a..0615331c8bd 100644 --- a/clang/test/Modules/preprocess.cpp +++ b/clang/test/Modules/preprocess.cpp @@ -1,6 +1,6 @@ // RUN: rm -rf %t // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -x c++ -E %s | \ -// RUN: FileCheck -strict-whitespace %s --check-prefix=CHECK --check-prefix=CXX +// RUN: FileCheck -strict-whitespace %s --check-prefix=CHECK --check-prefix=CXX --check-prefix=CXX-DASHE // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -x objective-c -E %s | \ // RUN: FileCheck -strict-whitespace %s --check-prefix=CHECK --check-prefix=OBJC // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -x c++ -E -frewrite-includes %s | \ @@ -14,7 +14,9 @@ foo bar baz // The weird {{ }} here is to prevent the -frewrite-includes test from matching its own CHECK lines. // CXX: #include{{ }}"dummy.h" +// CXX-DASHE-SAME: /* clang -E: implicit import for module dummy */ // CXX: #include{{ }}"dummy.h" +// CXX-DASHE-SAME: /* clang -E: implicit import for module dummy */ // CXX: foo bar baz // OBJC: @import{{ }}dummy; /* clang |