GCC Middle and Back End API Reference
column-options.h
Go to the documentation of this file.
1/* Options relating to the meaning of column numbers.
2 Copyright (C) 2000-2025 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
8Software Foundation; either version 3, or (at your option) any later
9version.
10
11GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or
13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14for more details.
15
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
19
20#ifndef GCC_DIAGNOSTICS_COLUMN_OPTIONS_H
21#define GCC_DIAGNOSTICS_COLUMN_OPTIONS_H
22
23namespace diagnostics {
24
25/* A bundle of options relating to the meaning of column numbers. */
26
28{
30 expanded_location s) const;
31
32 /* What units to use when outputting the column number. */
34
35 /* The origin for the column number (1-based or 0-based typically). */
37
38 /* The size of the tabstop for tab expansion. */
40};
41
42} // namespace diagnostics
43
44#endif /* ! GCC_DIAGNOSTICS_COLUMN_OPTIONS_H */
Definition file-cache.h:82
diagnostics_column_unit
Definition context-options.h:29
Definition coretypes.h:167
Definition column-options.h:28
int m_column_origin
Definition column-options.h:36
int m_tabstop
Definition column-options.h:39
enum diagnostics_column_unit m_column_unit
Definition column-options.h:33
int convert_column(file_cache &fc, expanded_location s) const
Definition diagnostics/context.cc:770