parent
ed99b8a2a8
commit
55343038f4
|
@ -91,8 +91,8 @@ ASTStreamerTy *clang::ASTStreamer_Init(Preprocessor &pp, ASTContext &ctxt,
|
|||
return new ASTStreamer(pp, ctxt, MainFileID);
|
||||
}
|
||||
|
||||
/// ASTStreamer_ReadTopLevelDecl - Parse and return one top-level declaration. This
|
||||
/// returns null at end of file.
|
||||
/// ASTStreamer_ReadTopLevelDecl - Parse and return one top-level declaration.
|
||||
/// This returns null at end of file.
|
||||
Decl *clang::ASTStreamer_ReadTopLevelDecl(ASTStreamerTy *Streamer) {
|
||||
return static_cast<ASTStreamer*>(Streamer)->ReadTopLevelDecl();
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ Sema::CheckFunctionCall(Expr *Fn,
|
|||
if (FnInfo->getBuiltinID() ==
|
||||
Builtin::BI__builtin___CFStringMakeConstantString) {
|
||||
assert(NumArgsInCall == 1 &&
|
||||
"Wrong number of arguments to builtin CFStringMakeConstantString");
|
||||
"Wrong number of arguments to builtin CFStringMakeConstantString");
|
||||
return CheckBuiltinCFStringArgument(Args[0]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue