diff options
author | Martin Storsjo <martin@martin.st> | 2018-05-08 08:47:37 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-05-08 08:47:37 +0000 |
commit | 4021cee996f75e8f591991e53180d1d29dfd20d6 (patch) | |
tree | 4e932f1e242fc9ae996064de1f6995b0ce322717 /llvm/test/tools/llvm-rc/Inputs | |
parent | 5e6e6cc7213616038cc781ca21d9c532beb8e220 (diff) | |
download | bcm5719-llvm-4021cee996f75e8f591991e53180d1d29dfd20d6.tar.gz bcm5719-llvm-4021cee996f75e8f591991e53180d1d29dfd20d6.zip |
[llvm-rc] Don't strictly require quotes around external file names
Regardless of what docs may say, existing resource files in the
wild can use this syntax.
Rename a file used in an existing test, to make it usable for unquoted
paths.
Differential Revision: https://reviews.llvm.org/D46511
llvm-svn: 331747
Diffstat (limited to 'llvm/test/tools/llvm-rc/Inputs')
-rw-r--r-- | llvm/test/tools/llvm-rc/Inputs/deep-include.rc | 2 | ||||
-rw-r--r-- | llvm/test/tools/llvm-rc/Inputs/include-noquotes.rc | 3 | ||||
-rw-r--r-- | llvm/test/tools/llvm-rc/Inputs/nested/nested_bitmap.bmp (renamed from llvm/test/tools/llvm-rc/Inputs/nested/nested-bitmap.bmp) | bin | 110 -> 110 bytes |
3 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-rc/Inputs/deep-include.rc b/llvm/test/tools/llvm-rc/Inputs/deep-include.rc index b28fa8f243a..5097a90f960 100644 --- a/llvm/test/tools/llvm-rc/Inputs/deep-include.rc +++ b/llvm/test/tools/llvm-rc/Inputs/deep-include.rc @@ -1,3 +1,3 @@ // Whether this is found depends on whether the /I flag searches within the // "nested" subdirectory -foo BITMAP "nested-bitmap.bmp"
\ No newline at end of file +foo BITMAP "nested_bitmap.bmp" diff --git a/llvm/test/tools/llvm-rc/Inputs/include-noquotes.rc b/llvm/test/tools/llvm-rc/Inputs/include-noquotes.rc new file mode 100644 index 00000000000..11c971f32b3 --- /dev/null +++ b/llvm/test/tools/llvm-rc/Inputs/include-noquotes.rc @@ -0,0 +1,3 @@ +// Test including filenames without quotes. +// In this form, the path can't include dashes. +foo BITMAP ./nested/nested_bitmap.bmp diff --git a/llvm/test/tools/llvm-rc/Inputs/nested/nested-bitmap.bmp b/llvm/test/tools/llvm-rc/Inputs/nested/nested_bitmap.bmp Binary files differindex 5d5a00d8745..5d5a00d8745 100644 --- a/llvm/test/tools/llvm-rc/Inputs/nested/nested-bitmap.bmp +++ b/llvm/test/tools/llvm-rc/Inputs/nested/nested_bitmap.bmp |