A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/classclang_1_1MacroDirective.html below:

clang: clang::MacroDirective Class Reference

Encapsulates changes to the "macros namespace" (the location where the macro name became active, the location where it was undefined, etc.). More...

#include "clang/Lex/MacroInfo.h"

Encapsulates changes to the "macros namespace" (the location where the macro name became active, the location where it was undefined, etc.).

MacroDirectives, associated with an identifier, are used to model the macro history. Usually a macro definition (MacroInfo) is where a macro name becomes active (MacroDirective) but #pragma push_macro / pop_macro can create additional DefMacroDirectives for the same MacroInfo.

Definition at line 313 of file MacroInfo.h.

◆ Kind Enumerator MD_Define  MD_Undefine  MD_Visibility 

Definition at line 315 of file MacroInfo.h.

◆ MacroDirective() ◆ classof() ◆ dump() LLVM_DUMP_METHOD void MacroDirective::dump ( ) const ◆ findDirectiveAtLoc() ◆ getDefinition() [1/2] ◆ getDefinition() [2/2] const DefInfo clang::MacroDirective::getDefinition ( ) const inline ◆ getKind() Kind clang::MacroDirective::getKind ( ) const inline ◆ getLocation() ◆ getMacroInfo() [1/2] MacroInfo * clang::MacroDirective::getMacroInfo ( ) inline ◆ getMacroInfo() [2/2] const MacroInfo * clang::MacroDirective::getMacroInfo ( ) const inline ◆ getPrevious() [1/2]

Get previous definition of the macro with the same name.

Definition at line 357 of file MacroInfo.h.

References Previous.

◆ getPrevious() [2/2] ◆ isDefined() bool clang::MacroDirective::isDefined ( ) const inline ◆ isFromPCH() bool clang::MacroDirective::isFromPCH ( ) const inline

Return true if the macro directive was loaded from a PCH file.

Definition at line 360 of file MacroInfo.h.

References IsFromPCH.

◆ setIsFromPCH() void clang::MacroDirective::setIsFromPCH ( ) inline ◆ setPrevious() ◆ IsFromPCH unsigned clang::MacroDirective::IsFromPCH protected ◆ IsPublic unsigned clang::MacroDirective::IsPublic protected ◆ Loc ◆ MDKind ◆ Previous

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4