clang 20.0.0git
Classes | Enumerations
clang::dependency_directives_scan Namespace Reference

Classes

struct  Directive
 Represents a directive that's lexed as part of the dependency directives scanning. More...
 
struct  Token
 Token lexed as part of dependency directive scanning. More...
 

Enumerations

enum  DirectiveKind : uint8_t {
  pp_none , pp_include , pp___include_macros , pp_define ,
  pp_undef , pp_import , pp_pragma_import , pp_pragma_once ,
  pp_pragma_push_macro , pp_pragma_pop_macro , pp_pragma_include_alias , pp_pragma_system_header ,
  pp_include_next , pp_if , pp_ifdef , pp_ifndef ,
  pp_elif , pp_elifdef , pp_elifndef , pp_else ,
  pp_endif , decl_at_import , cxx_module_decl , cxx_import_decl ,
  cxx_export_module_decl , cxx_export_import_decl , tokens_present_before_eof , pp_eof
}
 Represents the kind of preprocessor directive or a module declaration that is tracked by the scanner in its token output. More...
 

Enumeration Type Documentation

◆ DirectiveKind

Represents the kind of preprocessor directive or a module declaration that is tracked by the scanner in its token output.

Enumerator
pp_none 
pp_include 
pp___include_macros 
pp_define 
pp_undef 
pp_import 
pp_pragma_import 
pp_pragma_once 
pp_pragma_push_macro 
pp_pragma_pop_macro 
pp_pragma_include_alias 
pp_pragma_system_header 
pp_include_next 
pp_if 
pp_ifdef 
pp_ifndef 
pp_elif 
pp_elifdef 
pp_elifndef 
pp_else 
pp_endif 
decl_at_import 
cxx_module_decl 
cxx_import_decl 
cxx_export_module_decl 
cxx_export_import_decl 
tokens_present_before_eof 

Indicates that there are tokens present between the last scanned directive and eof.

The Directive::Tokens array will be empty for this kind.

pp_eof 

Definition at line 59 of file DependencyDirectivesScanner.h.