We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
escapeDependencyFilename
1 parent b6183f5 commit e742379Copy full SHA for e742379
llvm/lib/TableGen/Main.cpp
@@ -95,17 +95,15 @@ static std::string escapeDependencyFilename(StringRef Filename) {
95
sys::path::native(Filename, NativePath);
96
97
for (unsigned I = 0, E = NativePath.size(); I != E; ++I) {
98
- if (NativePath[I] == '#') {
+ if (NativePath[I] == '#')
99
OS << '\\';
100
- } else if (NativePath[I] == ' ') {
+ else if (NativePath[I] == ' ') {
101
102
unsigned J = I;
103
- while (J > 0 && NativePath[--J] == '\\') {
+ while (J > 0 && NativePath[--J] == '\\')
104
105
- }
106
- } else if (NativePath[I] == '$') {
+ } else if (NativePath[I] == '$')
107
OS << '$';
108
109
OS << NativePath[I];
110
}
111
0 commit comments