From: Marco Antognini Date: Mon, 3 Dec 2018 14:03:49 +0000 (+0000) Subject: [OpenCL][Sema] Improving formatting X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05e93e2d74ed10a2ac378ecb7dafdd10a1635b62;p=clang [OpenCL][Sema] Improving formatting Reformat comment added in r348120 following review https://reviews.llvm.org/D55136. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348139 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index 03115514e3..3b69c6a2f9 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -5567,9 +5567,8 @@ Sema::BuildResolvedCallExpr(Expr *Fn, NamedDecl *NDecl, Fn->getType()->isSpecificBuiltinType(BuiltinType::BuiltinFn)) { // Extract the return type from the (builtin) function pointer type. // FIXME Several builtins still have setType in - // Sema::CheckBuiltinFunctionCall. One should review their - // definitions in Builtins.def to ensure they are correct before - // removing setType calls. + // Sema::CheckBuiltinFunctionCall. One should review their definitions in + // Builtins.def to ensure they are correct before removing setType calls. QualType FnPtrTy = Context.getPointerType(FDecl->getType()); Result = ImpCastExprToType(Fn, FnPtrTy, CK_BuiltinFnToFnPtr).get(); ResultTy = FDecl->getCallResultType();