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 38 of file CoverageMappingGen.h.

Member Enumeration Documentation

◆ Kind


Definition at line 39 of file CoverageMappingGen.h.

Constructor & Destructor Documentation

◆ SkippedRange()

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

Definition at line 57 of file CoverageMappingGen.h.

Member Function Documentation

◆ isComment()

bool clang::SkippedRange::isComment ( )

Definition at line 53 of file CoverageMappingGen.h.

References Comment, and RangeKind.

◆ isEmptyLine()

bool clang::SkippedRange::isEmptyLine ( )

Definition at line 54 of file CoverageMappingGen.h.

References EmptyLine, and RangeKind.

◆ isPPIfElse()

bool clang::SkippedRange::isPPIfElse ( )

Definition at line 55 of file CoverageMappingGen.h.

References PPIfElse, and RangeKind.

Member Data Documentation

◆ NextTokLoc

SourceLocation clang::SkippedRange::NextTokLoc

Definition at line 49 of file CoverageMappingGen.h.

◆ PrevTokLoc

SourceLocation clang::SkippedRange::PrevTokLoc

Definition at line 47 of file CoverageMappingGen.h.

◆ Range

SourceRange clang::SkippedRange::Range

Definition at line 45 of file CoverageMappingGen.h.

◆ RangeKind

Kind clang::SkippedRange::RangeKind

Definition at line 51 of file CoverageMappingGen.h.

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

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