llvm-project/clang
Adam Balogh ea563daae5 [Analyzer] Fix errors in iterator modeling
There is major a bug found in iterator modeling: upon adding a value
to or subtracting a value from an iterator the position of the original
iterator is also changed beside the result. This patch fixes this bug.

To catch such bugs in the future we also changed the tests to look for
regular expressions including an end-of-line symbol (`$`) so we can
prevent false matches where only the tested prefix matches.

Another minor bug is that when printing the state, all the iterator
positions are printed in a single line. This patch also fixes this.

Differential Revision: https://reviews.llvm.org/D82385
2020-07-01 09:04:28 +02:00
..
INPUTS
bindings Revert "Temporarily revert "build: use `find_package(Python3)` if available"" 2020-04-29 01:38:08 +00:00
cmake Make it possible for client code to consume CLANG_LINK_CLANG_DYLIB 2020-06-30 15:13:53 +02:00
docs [clang][docs] Add note about using `-flto` with `-g` on macOS 2020-06-30 09:33:20 -07:00
examples [CMake] Fix building with -DBUILD_SHARED_LIBS=ON on mingw 2020-05-11 23:51:14 +03:00
include [CodeComplete] Add code completion after function equals 2020-07-01 12:51:25 +08:00
lib [Analyzer] Fix errors in iterator modeling 2020-07-01 09:04:28 +02:00
runtime
test [Analyzer] Fix errors in iterator modeling 2020-07-01 09:04:28 +02:00
tools [Driver] When forcing a crash print the bug report message 2020-06-29 13:13:12 +01:00
unittests Add Metadata to Transformer tooling 2020-06-30 15:03:07 +00:00
utils [sve][acle] Recommit https://reviews.llvm.org/D82501 2020-06-26 20:45:29 +00:00
www DR458: Search template parameter scopes in the right order. 2020-06-23 17:14:33 -07:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [CMake] Pass CLANG_VENDOR variables into later stages 2020-05-29 09:13:08 +02:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt Revert "[nfc] test commit" 2020-05-16 15:12:04 -05:00

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 development mailing list:
  http://lists.llvm.org/mailman/listinfo/cfe-dev

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