From 192704bac18fabb499b22ac47883120d27ebc332 Mon Sep 17 00:00:00 2001 From: Ben Craig Date: Fri, 6 May 2016 13:29:46 +0000 Subject: [PATCH] Adding omitted column to invalid loc diagnostic. note_fe_backend_invalid_loc expects three arguments (file, line, column), and will assert when only given two. The other two places in this file that use note_fe_backend_invalid_loc already supply the Column for the third parameter. http://reviews.llvm.org/D19936 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268732 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/CodeGenAction.cpp b/lib/CodeGen/CodeGenAction.cpp index d280a3eaef..98685539d3 100644 --- a/lib/CodeGen/CodeGenAction.cpp +++ b/lib/CodeGen/CodeGenAction.cpp @@ -454,7 +454,7 @@ const FullSourceLoc BackendConsumer::getBestLocationFromDebugLoc( // we could not translate this location. This can happen in the // case of #line directives. Diags.Report(Loc, diag::note_fe_backend_invalid_loc) - << Filename << Line; + << Filename << Line << Column; return Loc; } -- 2.40.0