llvm/clang/tools
Sam McCall 7c1ee5e95f [Pseudo] Token/TokenStream, PP directive parser.
The TokenStream class is the representation of the source code that will
be fed into the GLR parser.

This patch allows a "raw" TokenStream to be built by reading source code.
It also supports scanning a TokenStream to find the directive structure.

Next steps (with placeholders in the code): heuristically choosing a
path through #ifs, preprocessing the code by stripping directives and comments.
These will produce a suitable stream to feed into the parser proper.

Differential Revision: https://reviews.llvm.org/D119162
2022-02-23 17:52:02 +01:00
..
amdgpu-arch
apinotes-test
arcmt-test
c-arcmt-test
c-index-test [clang][cmake] Use GNUInstallDirs to support custom installation dirs 2022-01-21 23:58:08 +00:00
clang-check
clang-diff
clang-extdef-mapping
clang-format clang-format.el: Make clang-format work in indirect buffers. 2022-02-23 17:00:12 +01:00
clang-format-vs
clang-fuzzer
clang-import-test
clang-linker-wrapper [OpenMP] Remove static allocator in linker wrapper 2022-02-22 21:22:19 -05:00
clang-nvlink-wrapper [clang][cmake] Use GNUInstallDirs to support custom installation dirs 2022-01-21 23:58:08 +00:00
clang-offload-bundler Fix a typo (occured => occurred) 2022-02-08 21:35:26 +01:00
clang-offload-wrapper
clang-pseudo [Pseudo] Token/TokenStream, PP directive parser. 2022-02-23 17:52:02 +01:00
clang-refactor
clang-rename [clang][cmake] Use GNUInstallDirs to support custom installation dirs 2022-01-21 23:58:08 +00:00
clang-repl
clang-scan-deps [clang][deps] Return the whole TU command line 2022-02-23 15:46:20 +01:00
clang-shlib
diag-build
diagtool Move STLFunctionalExtras out of STLExtras 2022-01-24 14:13:21 +01:00
driver [NFC][MC] remove unused argument MCRegisterInfo in MCCodeEmitter 2022-02-16 13:10:09 +08:00
include-mapping [clangd] NFC: Move stdlib headers handling to Clang 2022-02-09 11:05:39 +01:00
libclang [clang] CIndex.cpp - use cast<> instead of dyn_cast<> to avoid dereference of nullptr 2022-02-23 10:09:44 +00:00
scan-build [clang][cmake] Use GNUInstallDirs to support custom installation dirs 2022-01-21 23:58:08 +00:00
scan-build-py [scan-build] Fix deadlock at failures in libears/ear.c 2022-02-02 12:55:44 +01:00
scan-view [clang][cmake] Use GNUInstallDirs to support custom installation dirs 2022-01-21 23:58:08 +00:00
CMakeLists.txt [syntax][pseudo] Introduce the C++ spec grammar. 2022-02-04 11:58:50 +01:00