Skip to content

Commit 6b6c362

Browse files
committed
[pseudo] remove most of clang-pseudo
This was never completed, in particular we still wanted: - disambiguation all grammatical ambiguity, e.g. by cross-referencing reused identifiers - heuristic symbol resolution - conversion to syntax trees The parts still used by clangd remain and will be dealt with later. See https://discourse.llvm.org/t/removing-pseudo-parser/71131/5 Original design doc: https://docs.google.com/document/d/1eGkTOsFja63wsv8v0vd5JdoTonj-NlN3ujGF0T7xDbM/edit
1 parent 8a5bdd8 commit 6b6c362

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+7
-8028
lines changed

clang-tools-extra/pseudo/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
include_directories(include)
2-
include_directories(${CMAKE_CURRENT_BINARY_DIR}/include)
3-
add_subdirectory(include)
4-
add_subdirectory(gen)
52
add_subdirectory(lib)
6-
add_subdirectory(tool)
7-
add_subdirectory(fuzzer)
8-
add_subdirectory(benchmarks)
93
if(CLANG_INCLUDE_TESTS)
104
add_subdirectory(unittests)
115
add_subdirectory(test)

clang-tools-extra/pseudo/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Removed
2+
3+
This was never completed and most of the implementation has been removed.
4+
This document remains for historical interest, for now.
5+
6+
See https://docs.google.com/document/d/1eGkTOsFja63wsv8v0vd5JdoTonj-NlN3ujGF0T7xDbM/edit
7+
18
# clang pseudoparser
29

310
This directory implements an approximate heuristic parser for C++, based on the

clang-tools-extra/pseudo/benchmarks/Benchmark.cpp

Lines changed: 0 additions & 156 deletions
This file was deleted.

clang-tools-extra/pseudo/benchmarks/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

clang-tools-extra/pseudo/fuzzer/CMakeLists.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

clang-tools-extra/pseudo/fuzzer/Fuzzer.cpp

Lines changed: 0 additions & 82 deletions
This file was deleted.

clang-tools-extra/pseudo/fuzzer/Main.cpp

Lines changed: 0 additions & 16 deletions
This file was deleted.

clang-tools-extra/pseudo/gen/CMakeLists.txt

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)