llvm-capstone/clang-tools-extra
Younan Zhang e257c0a919 [clang][clangd] Ensure the stack bottom before building AST
`clang::runWithSufficientStackSpace` requires the address of the
initial stack bottom to prevent potential stack overflows.

In addition, add a fallback to ASTFrontendAction in case any client
forgets to call it when not through CompilerInstance::ExecuteAction,
which is rare.

Fixes https://github.com/clangd/clangd/issues/1745.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D158967
2023-09-02 18:53:06 +08:00
..
clang-apply-replacements cmake: add missing dependencies on ClangDriverOptions tablegen 2023-08-04 10:27:19 -07:00
clang-change-namespace cmake: add missing dependencies on ClangDriverOptions tablegen 2023-08-04 10:27:19 -07:00
clang-doc cmake: add missing dependencies on ClangDriverOptions tablegen 2023-08-04 10:27:19 -07:00
clang-include-fixer [Headers][Modules] Make separate headers for the stdarg.h and stddef.h pieces so that they can be modularized 2023-08-30 11:41:12 -07:00
clang-move cmake: add missing dependencies on ClangDriverOptions tablegen 2023-08-04 10:27:19 -07:00
clang-query cmake: add missing dependencies on ClangDriverOptions tablegen 2023-08-04 10:27:19 -07:00
clang-reorder-fields cmake: add missing dependencies on ClangDriverOptions tablegen 2023-08-04 10:27:19 -07:00
clang-tidy [lldb] Fix duplicate word typos; NFC 2023-09-01 21:32:24 -07:00
clangd [clang][clangd] Ensure the stack bottom before building AST 2023-09-02 18:53:06 +08:00
docs [clang-tidy] Add exit code support to clang-tidy-diff.py 2023-08-31 19:58:15 +00:00
include-cleaner [include-cleaner] Handle decls/refs to concepts 2023-08-31 13:57:22 +02:00
modularize [Driver] Refactor to use llvm Option's new Visibility flags 2023-08-15 14:26:40 -07:00
pp-trace [lldb] Fix duplicate word typos; NFC 2023-09-01 21:32:24 -07:00
pseudo cmake: add missing dependencies on ClangDriverOptions tablegen 2023-08-04 10:27:19 -07:00
test [lldb] Fix duplicate word typos; NFC 2023-09-01 21:32:24 -07:00
tool-template
unittests [clang-tidy][include-cleaner] Add option to control deduplication of findings per symbol 2023-08-08 16:01:33 +02:00
.gitignore
CMakeLists.txt Generalize "check-all" umbrella targets, use for check-clang-tools 2022-05-06 12:30:49 +02:00
CODE_OWNERS.TXT Update the clang and clang-tools-extra code owners files 2022-09-06 08:28:03 -04:00
LICENSE.TXT
README.txt [NFC] update clang-tools-extra README.txt 2022-06-10 16:59:57 +05:30

//===----------------------------------------------------------------------===//
// Clang Tools repository
//===----------------------------------------------------------------------===//

Welcome to the repository of extra Clang Tools.  This repository holds tools
that are developed as part of the LLVM compiler infrastructure project and the
Clang frontend.  These tools are kept in a separate "extra" repository to
allow lighter weight checkouts of the core Clang codebase.

All discussion regarding Clang, Clang-based tools, and code in this repository
should be held using the standard Clang forum:
  https://discourse.llvm.org/c/clang

Code review for this tree should take place on the standard Clang patch and
commit lists:
  http://lists.llvm.org/mailman/listinfo/cfe-commits

If you find a bug in these tools, please file it in the LLVM bug tracker:
  https://github.com/llvm/llvm-project/issues/