diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-04-27 21:57:05 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-04-27 21:57:05 +0000 |
| commit | 4eb8393c636b5525ac92ee0ac8efcf263e0a2541 (patch) | |
| tree | 4e85116ed26bc9b32d45f3fc6002ec97899023b2 /clang/test/Modules/Inputs/suggest-include/usetextual2.h | |
| parent | 575ad8c2e13d6099f67d9d5e816fad8968c6e900 (diff) | |
| download | bcm5719-llvm-4eb8393c636b5525ac92ee0ac8efcf263e0a2541.tar.gz bcm5719-llvm-4eb8393c636b5525ac92ee0ac8efcf263e0a2541.zip | |
[modules] When diagnosing a missing module import, suggest adding a #include if
the current language doesn't have an import syntax and we can figure out a
suitable file to include.
llvm-svn: 267802
Diffstat (limited to 'clang/test/Modules/Inputs/suggest-include/usetextual2.h')
| -rw-r--r-- | clang/test/Modules/Inputs/suggest-include/usetextual2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/suggest-include/usetextual2.h b/clang/test/Modules/Inputs/suggest-include/usetextual2.h new file mode 100644 index 00000000000..95b24457363 --- /dev/null +++ b/clang/test/Modules/Inputs/suggest-include/usetextual2.h @@ -0,0 +1,2 @@ +#define EXPAND_MACRO extern int usetextual2; +#include "textual2.h" |

