llvm-project/clang/lib
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
..
ARCMigrate [openmp] Base of tablegen generated OpenMP common declaration 2020-06-23 10:32:32 -04:00
AST [c++20] consteval functions don't get vtable slots. 2020-06-30 18:22:09 -07:00
ASTMatchers [ASTMatcher] Fix a performance regression: memorize the child match. 2020-06-30 15:43:51 +02:00
Analysis Reland D81869 "Modify FPFeatures to use delta not absolute settings" 2020-06-27 01:34:57 -07:00
Basic [X86] Move frontend CPU feature initialization to a look up table based implementation. NFCI 2020-06-30 12:04:58 -07:00
CodeGen [c++20] consteval functions don't get vtable slots. 2020-06-30 18:22:09 -07:00
CrossTU [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02:00
DirectoryWatcher
Driver [darwin][driver] pass the minimum supported OS version to the linker 2020-06-29 19:03:57 -07:00
Edit
Format [clang-format] Preserve whitespace in selected macros 2020-06-29 09:57:47 -04:00
Frontend [clang][diagnostics] Add '-Wundef-prefix' warning option 2020-06-30 13:57:47 -07:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [PowerPC][Power10] Implement centrifuge, vector gather every nth bit, vector evaluate Builtins in LLVM/Clang 2020-06-25 21:34:41 -05:00
Index [openmp] Base of tablegen generated OpenMP common declaration 2020-06-23 10:32:32 -04:00
Lex [clang][diagnostics] Add '-Wundef-prefix' warning option 2020-06-30 13:57:47 -07:00
Parse [CodeComplete] Add code completion after function equals 2020-07-01 12:51:25 +08:00
Rewrite
Sema [Sema][NFC] Remove Redundant Condition 2020-07-01 09:04:27 +02:00
Serialization Reland D81869 "Modify FPFeatures to use delta not absolute settings" 2020-06-27 01:34:57 -07:00
StaticAnalyzer [Analyzer] Fix errors in iterator modeling 2020-07-01 09:04:28 +02:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling Add Metadata to Transformer tooling 2020-06-30 15:03:07 +00:00
CMakeLists.txt Move unittest helpers to a shared location 2020-05-29 16:47:33 +02:00