[PATCH] D11757: Propagate SourceLocations through to get a Loc on float_cast_overflow
Richard Smith
richard at metafoo.co.uk
Wed Aug 5 14:38:05 PDT 2015
rsmith added a comment.
Looks good to me too (though please hold off on this until you and samsonov have agreed on what to do about the ubsan ABI change).
================
Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:1288
@@ -1287,3 +1287,3 @@
OpenMPDirectiveKind Kind,
- const RegionCodeGenTy &BodyOpGen) {
+ const RegionCodeGenTy &BodyOpGen, SourceLocation Loc) {
llvm::Value *CallBool = CGF.EmitScalarConversion(
----------------
Please reorder the parameters to put the source location before the body, so that the expected lambda parameter is last (see http://llvm.org/docs/CodingStandards.html#format-lambdas-like-blocks-of-code).
http://reviews.llvm.org/D11757
More information about the cfe-commits
mailing list