forked from OSchip/llvm-project
parent
3091e11726
commit
e680139c34
|
@ -85,7 +85,7 @@ static double HexToFP(const char *Buffer) {
|
|||
// If AllowNull is set to true, the return value of the function points to the
|
||||
// last character of the string in memory.
|
||||
//
|
||||
char *UnEscapeLexed(char *Buffer, bool AllowNull = false) {
|
||||
char *UnEscapeLexed(char *Buffer, bool AllowNull) {
|
||||
char *BOut = Buffer;
|
||||
for (char *BIn = Buffer; *BIn; ) {
|
||||
if (BIn[0] == '\\' && isxdigit(BIn[1]) && isxdigit(BIn[2])) {
|
||||
|
|
|
@ -387,7 +387,7 @@ static Value *getVal(const Type *Ty, const ValID &D) {
|
|||
// defs now...
|
||||
//
|
||||
static void ResolveDefinitions(vector<ValueList> &LateResolvers,
|
||||
vector<ValueList> *FutureLateResolvers = 0) {
|
||||
vector<ValueList> *FutureLateResolvers) {
|
||||
// Loop over LateResolveDefs fixing up stuff that couldn't be resolved
|
||||
for (unsigned ty = 0; ty < LateResolvers.size(); ty++) {
|
||||
while (!LateResolvers[ty].empty()) {
|
||||
|
|
Loading…
Reference in New Issue