clang 24.0.0git
clang::SkippedRange Struct Reference

#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CoverageMappingGen.h"

Public Types

enum  Kind { PPIfElse , EmptyLine , Comment }

Public Member Functions

bool isComment ()
bool isEmptyLine ()
bool isPPIfElse ()
 SkippedRange (SourceRange Range, Kind K, SourceLocation PrevTokLoc=SourceLocation(), SourceLocation NextTokLoc=SourceLocation())

Public Attributes

SourceRange Range
SourceLocation PrevTokLoc
SourceLocation NextTokLoc
Kind RangeKind

Detailed Description

Definition at line 33 of file CoverageMappingGen.h.

Member Enumeration Documentation

◆ Kind

Enumerator
PPIfElse 
EmptyLine 
Comment 

Definition at line 34 of file CoverageMappingGen.h.

Constructor & Destructor Documentation

◆ SkippedRange()

clang::SkippedRange::SkippedRange ( SourceRange Range,
Kind K,
SourceLocation PrevTokLoc = SourceLocation(),
SourceLocation NextTokLoc = SourceLocation() )
inline

Definition at line 52 of file CoverageMappingGen.h.

References NextTokLoc, PrevTokLoc, Range, and RangeKind.

Member Function Documentation

◆ isComment()

bool clang::SkippedRange::isComment ( )
inline

Definition at line 48 of file CoverageMappingGen.h.

References Comment, and RangeKind.

◆ isEmptyLine()

bool clang::SkippedRange::isEmptyLine ( )
inline

Definition at line 49 of file CoverageMappingGen.h.

References EmptyLine, and RangeKind.

◆ isPPIfElse()

bool clang::SkippedRange::isPPIfElse ( )
inline

Definition at line 50 of file CoverageMappingGen.h.

References PPIfElse, and RangeKind.

Member Data Documentation

◆ NextTokLoc

SourceLocation clang::SkippedRange::NextTokLoc

Definition at line 44 of file CoverageMappingGen.h.

Referenced by SkippedRange().

◆ PrevTokLoc

SourceLocation clang::SkippedRange::PrevTokLoc

Definition at line 42 of file CoverageMappingGen.h.

Referenced by SkippedRange().

◆ Range

SourceRange clang::SkippedRange::Range

Definition at line 40 of file CoverageMappingGen.h.

Referenced by SkippedRange().

◆ RangeKind

Kind clang::SkippedRange::RangeKind

Definition at line 46 of file CoverageMappingGen.h.

Referenced by isComment(), isEmptyLine(), isPPIfElse(), and SkippedRange().


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