[llvm-rc] Don't strictly require quotes around external file names
commit75f6bb88efd5de8663dd38b12d08bf89c1ec39c4
authorMartin Storsjo <martin@martin.st>
Tue, 8 May 2018 08:47:37 +0000 (8 08:47 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 8 May 2018 08:47:37 +0000 (8 08:47 +0000)
tree6225543e4d6251e2483fc0be1bb868f5a8813df4
parentabad877bfa02f7f6ab9c75a9658b996c7f20f96e
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331747 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-rc/Inputs/deep-include.rc
test/tools/llvm-rc/Inputs/include-noquotes.rc [new file with mode: 0644]
test/tools/llvm-rc/Inputs/nested/nested_bitmap.bmp [moved from test/tools/llvm-rc/Inputs/nested/nested-bitmap.bmp with 100% similarity]
test/tools/llvm-rc/include-paths.test
test/tools/llvm-rc/parser.test
tools/llvm-rc/ResourceScriptParser.cpp
tools/llvm-rc/ResourceScriptParser.h
tools/llvm-rc/ResourceScriptToken.cpp