GCC Middle and Back End API Reference
file_location Class Reference

#include <read-md.h>

Public Member Functions

 file_location ()
 
 file_location (const char *, int, int)
 

Data Fields

const char * filename
 
int lineno
 
int colno
 

Detailed Description

MD reader definitions. Copyright (C) 1987-2025 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
Records a position in the file.

Constructor & Destructor Documentation

◆ file_location() [1/2]

file_location::file_location ( )
inline

◆ file_location() [2/2]

file_location::file_location ( const char * filename_in,
int lineno_in,
int colno_in )
inline

References colno, filename, and lineno.

Field Documentation

◆ colno

int file_location::colno

Referenced by file_location().

◆ filename

◆ lineno


The documentation for this class was generated from the following file: