llvm-project/clang
Sam Estep 0eaecbbc23 [clang][dataflow] Handle return statements
This patch adds a `ReturnLoc` field to the `Environment`, serving a similar to the `ThisPointeeLoc` field in the `DataflowAnalysisContext`. It then uses that (along with a new `VisitReturnStmt` method in `TransferVisitor`) to handle non-`void`-returning functions in context-sensitive analysis.

Reviewed By: ymandel, sgatev

Differential Revision: https://reviews.llvm.org/D130600
2022-08-04 17:42:19 +00:00
..
bindings Fixed a number of typos 2022-08-01 13:13:18 -04:00
cmake Reland "[lldb/Fuzzer] Add fuzzer for expression evaluator" 2022-08-04 11:47:06 -04:00
docs [AArch64] Always allow the __bf16 type 2022-08-04 18:35:27 +01:00
examples
include [clang][dataflow] Handle return statements 2022-08-04 17:42:19 +00:00
lib [clang][dataflow] Handle return statements 2022-08-04 17:42:19 +00:00
runtime Fix running orc-rt tests with LLVM_BUILD_EXTERNAL_COMPILER_RT (again). 2022-07-05 15:20:08 -07:00
test [AArch64] Always allow the __bf16 type 2022-08-04 18:35:27 +01:00
tools Reland "[lldb/Fuzzer] Add fuzzer for expression evaluator" 2022-08-04 11:47:06 -04:00
unittests [clang][dataflow] Handle return statements 2022-08-04 17:42:19 +00:00
utils [RISCV][Clang] Support policy functions for Vector Reduction 2022-08-02 17:27:56 +00:00
www [Clang][C++20] Support capturing structured bindings in lambdas 2022-08-04 10:12:53 +02:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [clang-repl] Disable building when LLVM_STATIC_LINK_CXX_STDLIB is ON. 2022-07-31 05:42:57 +09:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt

README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:             http://clang.llvm.org/
Building and using Clang:         http://clang.llvm.org/get_started.html
Clang Static Analyzer:            http://clang-analyzer.llvm.org/
Information on the LLVM project:  http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang forums:
  https://discourse.llvm.org/c/clang/

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/