A user reported that llvm-rc did not work correctly when there were comments in the file. This patch aims to fix that.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
lgtm, but isn't this the beginning of a C pre-processor? Long term we might want to link this as a library into clang and make clang-cl -c foo.rc produce a .res file.
llvm/tools/llvm-rc/ResourceScriptToken.cpp | ||
---|---|---|
149 | Does this happen after line concatenation? If a line ends with a backslash just before the newline, then the "single-line" comment includes the next "line" as well. |
Does this happen after line concatenation? If a line ends with a backslash just before the newline, then the "single-line" comment includes the next "line" as well.