GCC Middle and Back End API Reference
gcc-urlifier.cc File Reference
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "pretty-print.h"
#include "pretty-print-urlifier.h"
#include "gcc-urlifier.h"
#include "opts.h"
#include "options.h"
#include "diagnostic.h"
#include "selftest.h"
#include "make-unique.h"
#include "gcc-urlifier.def"
Include dependency graph for gcc-urlifier.cc:

Macros

#define DOC_URL(QUOTED_TEXT, URL_SUFFIX)
 

Functions

char * make_doc_url (const char *doc_url_suffix)
 
std::unique_ptr< urlifiermake_gcc_urlifier (unsigned int lang_mask)
 

Macro Definition Documentation

◆ DOC_URL

#define DOC_URL ( QUOTED_TEXT,
URL_SUFFIX )
Value:
{ (QUOTED_TEXT), (URL_SUFFIX) }
class gcc_urlifier : public urlifier.
Manage a hard-coded mapping from quoted string to URL suffixes in gcc-urlifier.def

Function Documentation

◆ make_doc_url()

char * make_doc_url ( const char * doc_url_suffix)
Automatic generation of links into GCC's documentation. Copyright (C) 2023-2025 Free Software Foundation, Inc. Contributed by David Malcolm <dmalcolm@redhat.com>. 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/>.

Referenced by attribute_urlifier::get_url_for_quoted_text().

◆ make_gcc_urlifier()

std::unique_ptr< urlifier > make_gcc_urlifier ( unsigned int lang_mask)
Automatic generation of links into GCC's documentation. Copyright (C) 2023-2025 Free Software Foundation, Inc. Contributed by David Malcolm <dmalcolm@redhat.com>. 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/>.

Referenced by general_init(), and driver::global_initializations().