clang 19.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
clang::SkippedRange Struct Reference

#include "/home/buildbot/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.

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.

◆ PrevTokLoc

SourceLocation clang::SkippedRange::PrevTokLoc

Definition at line 42 of file CoverageMappingGen.h.

◆ Range

SourceRange clang::SkippedRange::Range

Definition at line 40 of file CoverageMappingGen.h.

◆ RangeKind

Kind clang::SkippedRange::RangeKind

Definition at line 46 of file CoverageMappingGen.h.

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


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