aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/error.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/error.cc')
-rw-r--r--gcc/cp/error.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/cp/error.cc b/gcc/cp/error.cc
index 0ed69bc..785909c 100644
--- a/gcc/cp/error.cc
+++ b/gcc/cp/error.cc
@@ -3636,7 +3636,7 @@ cp_print_error_function (diagnostic_context *context,
pp_newline (context->printer);
if (s.file != NULL)
{
- if (context->show_column && s.column != 0)
+ if (context->m_show_column && s.column != 0)
pp_printf (context->printer,
_(" inlined from %qD at %r%s:%d:%d%R"),
fndecl,
@@ -3737,7 +3737,7 @@ print_instantiation_partial_context_line (diagnostic_context *context,
expanded_location xloc = expand_location (loc);
- if (context->show_column)
+ if (context->m_show_column)
pp_verbatim (context->printer, _("%r%s:%d:%d:%R "),
"locus", xloc.file, xloc.line, xloc.column);
else
@@ -3816,7 +3816,7 @@ print_instantiation_partial_context (diagnostic_context *context,
{
expanded_location xloc;
xloc = expand_location (loc);
- if (context->show_column)
+ if (context->m_show_column)
pp_verbatim (context->printer,
_("%r%s:%d:%d:%R [ skipping %d instantiation "
"contexts, use -ftemplate-backtrace-limit=0 to "
@@ -3876,7 +3876,7 @@ maybe_print_constexpr_context (diagnostic_context *context)
{
expanded_location xloc = expand_location (EXPR_LOCATION (t));
const char *s = expr_as_string (t, 0);
- if (context->show_column)
+ if (context->m_show_column)
pp_verbatim (context->printer,
_("%r%s:%d:%d:%R in %<constexpr%> expansion of %qs"),
"locus", xloc.file, xloc.line, xloc.column, s);
@@ -3893,7 +3893,7 @@ static void
print_location (diagnostic_context *context, location_t loc)
{
expanded_location xloc = expand_location (loc);
- if (context->show_column)
+ if (context->m_show_column)
pp_verbatim (context->printer, _("%r%s:%d:%d:%R "),
"locus", xloc.file, xloc.line, xloc.column);
else