enum DirectiveKind
Description
Represents the kind of preprocessor directive or a module declaration that is tracked by the scanner in its token output.
Declared at: clang/include/clang/Lex/DependencyDirectivesScanner.h:59
Enumerators
| Name | Value | Comment |
|---|---|---|
| pp_none | 0 | |
| pp_include | 1 | |
| pp___include_macros | 2 | |
| pp_define | 3 | |
| pp_undef | 4 | |
| pp_import | 5 | |
| pp_pragma_import | 6 | |
| pp_pragma_once | 7 | |
| pp_pragma_push_macro | 8 | |
| pp_pragma_pop_macro | 9 | |
| pp_pragma_include_alias | 10 | |
| pp_include_next | 11 | |
| pp_if | 12 | |
| pp_ifdef | 13 | |
| pp_ifndef | 14 | |
| pp_elif | 15 | |
| pp_elifdef | 16 | |
| pp_elifndef | 17 | |
| pp_else | 18 | |
| pp_endif | 19 | |
| decl_at_import | 20 | |
| cxx_module_decl | 21 | |
| cxx_import_decl | 22 | |
| cxx_export_module_decl | 23 | |
| cxx_export_import_decl | 24 | |
| pp_eof | 25 |