@@ -195,30 +195,30 @@ static bool parseCommand(StringRef InputString, Command &Cmd,
195
195
// If no cmd, assume it's CODE.
196
196
Cmd = Command::Code;
197
197
}
198
- const char *pos = InputString.data ();
198
+ const char *Pos = InputString.data ();
199
199
// Skip delimiters and parse input filename (if needed).
200
200
if (ClBinaryName.empty ()) {
201
- pos += strspn (pos , kDelimiters );
202
- if (*pos == ' "' || *pos == ' \' ' ) {
203
- char quote = *pos ;
204
- pos ++;
205
- const char *end = strchr (pos, quote );
206
- if (!end )
201
+ Pos += strspn (Pos , kDelimiters );
202
+ if (*Pos == ' "' || *Pos == ' \' ' ) {
203
+ char Quote = *Pos ;
204
+ Pos ++;
205
+ const char *End = strchr (Pos, Quote );
206
+ if (!End )
207
207
return false ;
208
- ModuleName = std::string (pos, end - pos );
209
- pos = end + 1 ;
208
+ ModuleName = std::string (Pos, End - Pos );
209
+ Pos = End + 1 ;
210
210
} else {
211
- int name_length = strcspn (pos , kDelimiters );
212
- ModuleName = std::string (pos, name_length );
213
- pos += name_length ;
211
+ int NameLength = strcspn (Pos , kDelimiters );
212
+ ModuleName = std::string (Pos, NameLength );
213
+ Pos += NameLength ;
214
214
}
215
215
} else {
216
216
ModuleName = ClBinaryName;
217
217
}
218
218
// Skip delimiters and parse module offset.
219
- pos += strspn (pos , kDelimiters );
220
- int offset_length = strcspn (pos , kDelimiters );
221
- return !StringRef (pos, offset_length ).getAsInteger (0 , ModuleOffset);
219
+ Pos += strspn (Pos , kDelimiters );
220
+ int OffsetLength = strcspn (Pos , kDelimiters );
221
+ return !StringRef (Pos, OffsetLength ).getAsInteger (0 , ModuleOffset);
222
222
}
223
223
224
224
static void symbolizeInput (StringRef InputString, LLVMSymbolizer &Symbolizer,
0 commit comments