7c1ee5e95f
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 |
||
---|---|---|
.. | ||
amdgpu-arch | ||
apinotes-test | ||
arcmt-test | ||
c-arcmt-test | ||
c-index-test | ||
clang-check | ||
clang-diff | ||
clang-extdef-mapping | ||
clang-format | ||
clang-format-vs | ||
clang-fuzzer | ||
clang-import-test | ||
clang-linker-wrapper | ||
clang-nvlink-wrapper | ||
clang-offload-bundler | ||
clang-offload-wrapper | ||
clang-pseudo | ||
clang-refactor | ||
clang-rename | ||
clang-repl | ||
clang-scan-deps | ||
clang-shlib | ||
diag-build | ||
diagtool | ||
driver | ||
include-mapping | ||
libclang | ||
scan-build | ||
scan-build-py | ||
scan-view | ||
CMakeLists.txt |