Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/swiftwasm/swift-clang

This repository is no longer in use, please refer to the LLVM monorepo https://github.com/swiftwasm/llvm-project
https://github.com/swiftwasm/swift-clang

[Preprocessor] Hide include typo correction behind SpellChecking.

Summary:
Similar to Sema typo correction, the Preprocessor typo correction should
also be hidden...

811d12140134699e88348b839a10a91405ede625 authored about 6 years ago by Haojian Wu <[email protected]>
[OpenCL] Add block argument CodeGen test

r326937 ("[OpenCL] Remove block invoke function from emitted block
literal struct", 2018-03-07) ...

1bd7d1bb1d2b77f7e3f5ead6bfb68e6471788bbd authored about 6 years ago by Sven van Haastregt <[email protected]>
Revert r326937 "[OpenCL] Remove block invoke function from emitted block literal struct"

This reverts r326937 as it broke block argument handling in OpenCL.
See the discussion on https:...

71264769ee530ae4d63d399b72326502808b5682 authored about 6 years ago by Sven van Haastregt <[email protected]>
[analyzer] Improvements to the SMT API

Summary:
Several improvements in preparation for the new backends.

Refactoring:

- Removed dupl...

06d46908046862bd04eab4de8ae344b5d31dce07 authored about 6 years ago by Mikhail R. Gadelha <[email protected]>
[AST] Pack the bit-fields of FunctionProtoType into Type.

Move the bit-fields of FunctionProtoType into FunctionTypeBitfields.
This cuts the size of Funct...

ad62da215c9cb15e530cecdd95d43e4f4e366782 authored about 6 years ago by Bruno Ricci <[email protected]>
[CodeComplete] Re-fix accessibilty of protected members from base class.

Summary:
The initial fix (r337453) had bug and was partially reverted (r338255).
This simplies t...

c242941e019b180e275d5dd79ff4e3c8613317f0 authored about 6 years ago by Eric Liu <[email protected]>
Revert untintentionally commited changes

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343574 91177308-0d34-0410-b5e6-96231b3b80d8

9375f5f7ed217129cf8eca4faf958b463369c8cd authored about 6 years ago by Eric Liu <[email protected]>
[Lex] TokenConcatenation now takes const Preprocessor

Differential Revision: https://reviews.llvm.org/D52502

git-svn-id: https://llvm.org/svn/llvm-pr...

363420a23bdb68bad5caeca64766332ddcc4ca99 authored about 6 years ago by Eric Liu <[email protected]>
Propagating prior merge from 'llvm.org/master'.

16718931d123fd2a740f8de1105be2b0c9df9e26 authored about 6 years ago by Automerger <Automerger@Swift>
[clang] Implement Override Suggestions in Sema.

Summary:
In clangd we had a new type of completion suggestions for cpp
class/struct/unions that ...

360d063736686e80709591e14da10a0a2b8b0544 authored about 6 years ago by Kadir Cetinkaya <[email protected]>
[AArch64][v8.5A] Test clang option for the Memory Tagging Extension

The implementation of this is in TargetParser, so we only need to add a
test for it in clang.

P...

65b96896c1a63ec40f21732e4b1777b0053d63c1 authored about 6 years ago by Oliver Stannard <[email protected]>
Added warning for unary minus used with unsigned type

Summary:
Inspired by MSVC, which found some occurrences of this expression on our code base.

Fi...

92e9c12e91148506062d9cad9dc81d308e8f96f9 authored about 6 years ago by David Bolvansky <[email protected]>
[CodeGen] Before entering the loop that copies a non-trivial array field

of a non-trivial C struct, copy the preceding trivial fields that
haven't been copied.

This comm...

c8e27aaeeeeac7172dafaab0e7829ba20d33855f authored about 6 years ago by Akira Hatanaka <[email protected]>
Merge remote-tracking branch 'origin/swift-5.0-branch' into stable

1ddef2249ad6899955767076428a9210ca9b5d00 authored about 6 years ago by swift-ci <[email protected]>
Fix linkage error on ProgramPoint's dump method.

Currently, ProgramPoint::dump calls the out-of-line function ProgramPoint::print. This causes
li...

5d00d26e3b56e7652391fe35cf803ed8a7988ca8 authored about 6 years ago by Eric Fiselier <[email protected]>
Revert "[analyzer] Add coverage information to plist output, update tests"

This reverts commit 03d183b6b94eda27ce66a4f9b87a00b0a148cf9e.

Temporary revert until the tests ...

1bcd3432024fded588b2ccb9b21454d8c2478a24 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Use correct end-of-line character when printing statements for exploded graph

Prevents bad centering.

Differential Revision: https://reviews.llvm.org/D51825

git-svn-id: htt...

13d4f3b2447457e5aa3bd6e15e7b45484df686d1 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Do not add invalid source location to the coverage information

Invalid source locations may arise from generated code.

Differential Revision: https://reviews....

126f882311577b600b226732e679473351b3a3d6 authored about 6 years ago by George Karpenkov <[email protected]>
Revert untintentionally commited changes

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343205 91177308-0d34-0410-b5e6-96231b3b...

15ded6bb4b192ff6a250a7966953d0c839477756 authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] [NFC] Prefer passing around reference to std::unique_ptr&

When object is owned elsewhere

Differential Revision: https://reviews.llvm.org/D51669

git-svn-...

d41bd7ce0e32a94d1893f2c29a72563687cd9581 authored about 6 years ago by George Karpenkov <[email protected]>
[Analyzer] Iterator Checker - Part 4: Mismatched iterator checker for function parameters

New check added to the checker which checks whether iterator parameters of template functions ty...

d3e2ba8ccfec024de2cb9d05f4305d50a9113d63 authored about 6 years ago by Adam Balogh <[email protected]>
[analyzer] Temporary disabling svalbuilder-rearrange-comparisons test

As debug printing has changed, and format was not guaranteed to be
stable.
Artem is currently wo...

cdb6b7c0e041e52f48799784ac0e48d96571f704 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Restore final on NeedsCastLocField. NFC

To fix compiler warning about non-virtual dtor introduced in r342221.

git-svn-id: https://llvm....

3febaa970be6ffd912b1c26795c51ea6a41d946d authored about 6 years ago by Ilya Biryukov <[email protected]>
[analyzer] Dump a reproducible, deterministic ID of program state to exploded graph

Differential Revision: https://reviews.llvm.org/D51395

git-svn-id: https://llvm.org/svn/llvm-pr...

39ea9dbee10144e12a4a8831d46b0a4740402782 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] NFC: Legalize state manager factory injection.

When a checker maintains a program state trait that isn't a simple list/set/map, but is a combin...

3c67c86d4c6c73c11a7c1727e34e65b2109b02fd authored about 6 years ago by Artem Dergachev <[email protected]>
Revert "Revert "Revert "Revert "[analyzer] Add coverage information to plist output, update tests""""

This reverts commit 2f5d71d9fa135be86bb299e7d773036e50bf1df6.

Hopefully fixing tests on Windows...

32b2f37b4311fb7a287f12042960d2c7e5a9496e authored about 6 years ago by George Karpenkov <[email protected]>
[Analyzer] Iterator Checker - Part 5: Move Assignment of Containers

If a container is moved by its move assignment operator, according to the standard all their ite...

32775ea22dc6d992298760a63d25fb8fd22fc28f authored about 6 years ago by Adam Balogh <[email protected]>
[analyzer] [NFC] Remove unused parameters, as found by -Wunused-parameter

Differential Revision: https://reviews.llvm.org/D52640

git-svn-id: https://llvm.org/svn/llvm-pr...

38aa87bfa0c8ad7af608c6221762875866672c83 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Further printing improvements: use declarations,

skip pointers whenever redundant, use unique prefixes.

Differential Revision: https://reviews.l...

e5ab5735755d264d8732b2260aeb20e30e9efece authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Support modeling no-op BaseToDerived casts in ExprEngine.

Introduce a new MemRegion sub-class, CXXDerivedObjectRegion, which is
the opposite of CXXBaseObj...

e6315c7ff56c49cd2c926fd4ef4192da6359f63a authored about 6 years ago by Artem Dergachev <[email protected]>
[analyzer] Attempt to make a windows buildbot happy.

Got an error that a cast is happening from a pointer type to long, which is
smaller.

git-svn-i...

8d1cdfe94288fbcfc1cfe5ea201926de093fd863 authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] [NFC] Use StringRef when returning a large string literal in HTMLDiagnostics

(NB: could be a clang-tidy / analyzer check)

Differential Revision: https://reviews.llvm.org/D5...

714c7bd3a1b2277db65ac9209909d62f4542feec authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Skip printing duplicate nodes, even if nodes have multiple predecessors/successors

Still generate a node, but leave the redundant field empty.

Differential Revision: https://revi...

d7019896205469050b75febb48e7976df3308742 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] [NFC] Heavy refactoring of trackNullOrUndefValue

Differential Revision: https://reviews.llvm.org/D52519

git-svn-id: https://llvm.org/svn/llvm-pr...

5605243815122c8d3c9cbcd0a98b1ee63f13ceba authored about 6 years ago by George Karpenkov <[email protected]>
[Analyzer] Define and use diff_plist in tests, NFC

This patch defines a new substitution and uses it to reduce
duplication in the Clang Analyzer te...

5449dcda6e1a6e9326edc07dc5c6806672e6013f authored about 6 years ago by Mikhail Maltsev <[email protected]>
[analyzer] Generate and use stable identifiers for LocationContext

Those are not created in the allocator.
Since they are created fairly rarely, a counter overhead...

5f56aa40c42a6b6b1e5c053b91a54b2a81393d72 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Associate diagnostics created in checkEndFunction with a return statement, if possible

If not possible, use the last line of the declaration, as before.

Differential Revision: https:...

5921acc07c9cd6e1fc4e9b08166fbe3d31ea299c authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] NFC: CallDescription: Improve array management.

Combine the two constructor overrides into a single ArrayRef constructor
to allow easier brace i...

5742641bb3292f061c8a716a9269d9a74fa2f7c6 authored about 6 years ago by Artem Dergachev <[email protected]>
Support generating unique identifiers for Stmt objects

The generated identifiers are stable across multiple runs, and can be a
great debug or visualiza...

572e3b18f0558a2dab9ebc4b3193faf3502eb53d authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Better retain count rules for OSObjects

Differential Revision: https://reviews.llvm.org/D51184

git-svn-id: https://llvm.org/svn/llvm-pr...

548832931a9c057efe74f47f064b523246c410df authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Hotfix for the bug in exploded graph printing

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343276 91177308-0d34-0410-b5e6-96231b3b80d8

605d3d3809e3c50f7b1dd53803380977f142077f authored about 6 years ago by George Karpenkov <[email protected]>
StmtPrinter: allow customizing the end-of-line character

Differential Revision: https://reviews.llvm.org/D51824

git-svn-id: https://llvm.org/svn/llvm-pr...

900461e2afa587fb5a0225f63015d003e00ce1c5 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Fix bug in isInevitablySinking

If the non-sink report is generated at the exit node, it will be
suppressed by the current funct...

8b72a368733ca609ba20deda5f2c0adf9275f8d8 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer][UninitializedObjectChecker] Fixed dereferencing

iThis patch aims to fix derefencing, which has been debated for months now.

Instead of working ...

8534278599f90f158afe891a7a2b83f1f40a54e6 authored about 6 years ago by Kristof Umann <[email protected]>
[Analyzer] Iterator Checker - Part 8: Support for assign, clear, insert, emplace and erase operations

This patch adds support for the following operations in the iterator checkers: assign, clear, in...

87905a1e93434bebef902bc765f7f9d062174fff authored about 6 years ago by Adam Balogh <[email protected]>
[analyzer][UninitializedObjectChecker] Correct dynamic type is acquired for record pointees

Differential Revision: https://reviews.llvm.org/D50892

git-svn-id: https://llvm.org/svn/llvm-p...

69da5d87318116e027ea3ed8200469c140da8ef9 authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] Add a testing facility for testing relationships between symbols.

Tests introduced in r329780 was disabled in r342317 because these tests
were accidentally testin...

739fa1302ef1d85809dc386279f4bfd53a1ec71e authored about 6 years ago by Artem Dergachev <[email protected]>
[analyzer] Highlight sink nodes in red

Differential Revision: https://reviews.llvm.org/D52337

git-svn-id: https://llvm.org/svn/llvm-pr...

6c638e5c7b9afc3b76c45fd326fdc3a17c251ced authored about 6 years ago by George Karpenkov <[email protected]>
[Analyzer] Iterator Checker - Part 7: Support for push and pop operations

This patch adds support for the following operations in the iterator checkers: push_back, push_f...

67b73503401cc770c5e99d6ed0b667d858daec48 authored about 6 years ago by Adam Balogh <[email protected]>
[analyzer] Dump unique identifiers for statements in exploded graph

Differential Revision: https://reviews.llvm.org/D51823

git-svn-id: https://llvm.org/svn/llvm-pr...

6a6f8c64898fdbd80cb502c577b4dc6bc4da2f28 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Fix tests on 32-bit platforms by specifying the tuple explicitly

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340972 91177308-0d34-0410-b5e6-96231b3b80d8

7230a714b72ff2f9c16b8511bac4d236a50b8ce0 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer][UninitializedObjectChecker] New flag to ignore records based on it's fields

Based on a suggestion from @george.karpenkov.

In some cases, structs are used as unions with a ...

e7dbf4a6518185ecd2cd04da0e9ff46e4ed8894c authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] Dump stable identifiers for exploded nodes

Differential Revision: https://reviews.llvm.org/D51667

git-svn-id: https://llvm.org/svn/llvm-pr...

e96851d024e6b72cc97bebf2864bc216bcee64cd authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Highlight nodes which have error reports in them in red in exploded graph

Differential Revision: https://reviews.llvm.org/D52584

git-svn-id: https://llvm.org/svn/llvm-pr...

ebb0401ff5eccc1e7f86b1852765f5bb7ef7cfd6 authored about 6 years ago by George Karpenkov <[email protected]>
Revert "Revert "[analyzer] Add coverage information to plist output, update tests""

This reverts commit a39bcab414dd7ace7e490363ecdf01ecce7743fc.

Reverting the revert, fixing test...

f638c01d6dc28a089b6d475b56b3e774748fc7d6 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] [NFC] Move dumping program point into a separate function

Differential Revision: https://reviews.llvm.org/D51666

git-svn-id: https://llvm.org/svn/llvm-pr...

e7ede56fc24178fd83ad09ab0773b29bf32fea4f authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Process state in checkEndFunction in RetainCountChecker

Modify the RetainCountChecker to perform state "adjustments" in
checkEndFunction, as performing ...

c371ba04477e9871cc5fb10ffa0fe6609be27185 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Remove traces of ubigraph visualization

Ubigraph project has been dead since about 2008, and to the best of my
knowledge, no one was usi...

b905da0fbb4a5f5a09f92d321524ee01f02886a1 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Improve tracing for uninitialized struct fields

rdar://13729267

Differential Revision: https://reviews.llvm.org/D51323

git-svn-id: https://llv...

bbd493aa5cb3daa00e44ce1706b3d6f069dee1cb authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] [NFC] Prefer make_unique over "new"

Differential Revision: https://reviews.llvm.org/D52336

git-svn-id: https://llvm.org/svn/llvm-pr...

ba33ba886e084769c690c18c3c0193934e32ba99 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] ExplodedGraph printing fixes

Fixes a number of issues:

- Global variables are not used for communication
- Trait should be...

7d67cfc203605a812d82625c871b6a2d1cb0621a authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] [NFC] Move methods for dumping the coverage in HTMLDiagnostics into the class

Differential Revision: https://reviews.llvm.org/D51513

git-svn-id: https://llvm.org/svn/llvm-pr...

7898475098218e1fc970acbff1fcf7d817c1b823 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Resolve the crash in ReturnUndefChecker

By making sure the returned value from getKnownSVal is consistent with
the value used inside exp...

814bf08ad26043d53aad5381aa4763ff567d2b81 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Add coverage information to plist output, update tests

Split tests which were still using FileCheck to compare plists.

Differential Revision: https://...

7a1ffb75bf9298717ba6aae3a158880e329b6c2c authored about 6 years ago by George Karpenkov <[email protected]>
[Lex] TokenConcatenation now takes const Preprocessor

Differential Revision: https://reviews.llvm.org/D52502

git-svn-id: https://llvm.org/svn/llvm-p...

7b79436c981d0662fd01cc63e17fedc970352039 authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer][UninitializedObjectChecker] Refactored checker options

Since I plan to add a number of new flags, it made sense to encapsulate
them in a new struct, in...

474669457ca5a65fb83a92c677f6f910bc25c35c authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] [NFC] Change the tests by making the version check more resilient

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341978 91177308-0d34-0410-b5e6-96231b3b80d8

453d80c6fa26a4b0c7741e0bbf7170a90b015cd4 authored about 6 years ago by George Karpenkov <[email protected]>
[CFG] [analyzer] Disable argument construction contexts for variadic functions.

The analyzer doesn't make use of them anyway and they seem to have
pretty weird AST from time to...

4bd9b51971ed5da0d5979e4671a3053efef6bae3 authored about 6 years ago by Artem Dergachev <[email protected]>
[analyzer] Skip printing trivial nodes in exploded graph

A node is considered to be trivial if it only has one successor, one
predecessor, and a state eq...

4c80e9a0948ce961e1116c1833863be2d107f065 authored about 6 years ago by George Karpenkov <[email protected]>
Removed extra semicolon to fix Wpedantic. (NFCI).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343085 91177308-0d34-0410-b5e6-96231b3b80d8

506c7880f6b9a5070ee3d652bd9626b0fd65e2be authored about 6 years ago by Simon Pilgrim <[email protected]>
[analyzer] Push updating-the-executed-lines logic into the BugReporter.

So it can be reused across different consumers.

Differential Revision: https://reviews.llvm.org...

4d997417a91f6c81006e87e1eb6ab3787efa0b9d authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer][UninitializedObjectChecker] Using the new const methods of ImmutableList

Differential Revision: https://reviews.llvm.org/D51886

git-svn-id: https://llvm.org/svn/llvm-p...

99d5d3089a3b1777bf54dd094c6b0966db71c7ed authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] [NFC] Move the code for dumping the program point to ProgramPoint

So we can dump them outside of viewing the exploded grpah.

Differential Revision: https://revie...

9d6f1def94b1fc93a91962f2e9e78ec14fa43f71 authored about 6 years ago by George Karpenkov <[email protected]>
[CFG] [analyzer] Disable argument construction contexts for variadic functions.

The analyzer doesn't make use of them anyway and they seem to have
pretty weird AST from time to...

952f15e14e405084f8693c3b75e06b4b9a6adea1 authored about 6 years ago by Artem Dergachev <[email protected]>
[CStringSyntaxChecker] Check strlcat sizeof check

Assuming strlcat is used with strlcpy we check as we can if the last argument does not equal os...

9f12b6877e226f6a4a35f63f91ff624cf2e6f24d authored about 6 years ago by David Carlier <[email protected]>
[analyzer] Dump reproducible identifiers for statements in exploded graph in store

Differential Revision: https://reviews.llvm.org/D51826

git-svn-id: https://llvm.org/svn/llvm-pr...

98bc44575713915b03107870c534412b6c8a9101 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer][UninitializedObjectChecker] Support for nonloc::LocAsInteger

Differential Revision: https://reviews.llvm.org/D49437

git-svn-id: https://llvm.org/svn/llvm-p...

aaa2936d7027913a07ee85b86bc3d3775009c8e9 authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] [NFC] Dead code removal

Differential Revision: https://reviews.llvm.org/D52269

git-svn-id: https://llvm.org/svn/llvm-pr...

a75a63adc3737cbd7b49027d4c8bcbbe32c7e352 authored about 6 years ago by George Karpenkov <[email protected]>
Quickfix for failing tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340110 91177308-0d34-0410-b5e6-96231b3b80d8

ac1178cb4bff7ea9f312b6dfc855f7baa696ae6b authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Executed lines: store file IDs, not hashes.

Raw FileIDs are needed for the PlistDiagnostics to produce stable filenames.

Differential Revis...

b1b02f5acf198eea949abae9af4dac95cf0178af authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] [NFC] Move class definition out of the function

Differential Revision: https://reviews.llvm.org/D51322

git-svn-id: https://llvm.org/svn/llvm-pr...

2603dff78ba04fe884a77aae486cdadf191d00bd authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Prevent crashes in FindLastStoreBRVisitor

This patch is a band-aid. A proper solution would be too change
trackNullOrUndefValue to only tr...

22535addfbaf55971b9514ac8559e473d2c22241 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] CFRetainReleaseChecker: Don't check C++ methods with the same name.

Don't try to understand what's going on when there's a C++ method called eg.
CFRetain().

Refact...

30197b4eb24c5e64ae6b640fbdf72646194d3480 authored about 6 years ago by Artem Dergachev <[email protected]>
[analyzer] Remove the "postponed" hack, deal with derived symbols using an extra map

The "derived" symbols indicate children fields of a larger symbol.
As parents do not have pointe...

2f89db66b0fbd7d76cbf50fb4334bab7aa761a6f authored about 6 years ago by George Karpenkov <[email protected]>
Generate unique identifiers for Decl objects

The generated identifier is stable across multiple runs,
and can be a great visualization or deb...

298893d6030031296b69d72ffcd67e909ed5ded1 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] [NFC] Remove unused "state" argument from makeSymExprValNN

Differential Revision: https://reviews.llvm.org/D51250

git-svn-id: https://llvm.org/svn/llvm-pr...

2a9e486e425fa71fdf7e70a2466de030c8a692a3 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Fix a crash on casting symbolic pointers to derived classes.

Commit r340984 causes a crash when a pointer to a completely unrelated type
UnrelatedT (eg., opa...

110115ee56de2a175774f5fda9b83426c28fd7c2 authored about 6 years ago by Artem Dergachev <[email protected]>
[Analyzer] Commit fix for rL341790/rC341790

Test file was accidentally not added for rL341790/rC341790 and subsequant patches.

git-svn-id...

0374b33d4995e4bb33efa903d8c007030a8f4929 authored about 6 years ago by Adam Balogh <[email protected]>
Revert "Revert "Revert "[analyzer] Add coverage information to plist output, update tests"""

Reverts analyzer tests from rL341627 again as they still broke windows buildbots

git-svn-id: ht...

0c365fa10ed70947afb005156abdf3c489704c58 authored about 6 years ago by Simon Pilgrim <[email protected]>
[analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, enable by default

Differential Revision: https://reviews.llvm.org/D51251

git-svn-id: https://llvm.org/svn/llvm-pr...

0fbdb1d3df60cc63ecf6d0ba85a2cc971c232e49 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] InnerPointerChecker: Fix a segfault when checking symbolic strings.

Return value of dyn_cast_or_null should be checked before use.
Otherwise we may put a null point...

014b30defd00178c19f2491df2f24e3c29ecf414 authored about 6 years ago by Artem Dergachev <[email protected]>
[analyzer] Document that pointer arithmetic is not represented by SymExprs.

Add assertions to verify that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340990 ...

07caa2ca0078685af3048a81f0a03a2a8d08cd94 authored about 6 years ago by Artem Dergachev <[email protected]>
[Analyzer] Iterator Checker - Part 6: Mismatched iterator checker for constructors and comparisons

Extension of the mismatched iterator checker for constructors taking range of first..last (first...

0069fa24ec913f353084262baacf16f7906b95a4 authored about 6 years ago by Adam Balogh <[email protected]>
[analyzer] Provide an option to dump generated exploded graphs to a given file.

Dumping graphs instead of opening them is often very useful,
e.g. for transfer or converting to ...

06204e610f8eed25629158289e89c604f6e68a0d authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer][UninitializedObjectChecker] Updated comments

Some of the comments are incorrect, imprecise, or simply nonexistent.
Since I have a better gras...

fc73557f46653d53b54ba47b7c10bd9ec95c8951 authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] pr37204: Take signedness into account in getTruthValue().

It now actually produces a signed APSInt when the QualType passed into it is
signed, which is wh...

cb3d97b93171b7276cf0a5fa5509312cf127ca98 authored about 6 years ago by Artem Dergachev <[email protected]>
[analyzer] [NFC] Split up RetainSummaryManager from RetainCountChecker - try #2

Turns out it can't be removed from the analyzer since it relies on CallEvent.

Moving to staticA...

f9afec8be9196eb1e99e29e74d21922645c4e1a2 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Drop support for GC mode in RetainCountChecker

A lot of code in RetainCountChecker deals with GC mode.
Given that GC mode is deprecated, Apple ...

f9cb5d7bb5c4fa645d79b8dfeafebbfa2888a369 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] [NFC] Minor refactoring of ISL-specific code in RetainCountChecker

Differential Revision: https://reviews.llvm.org/D50879

git-svn-id: https://llvm.org/svn/llvm-pr...

fb97f8266ca3d442739e263b53e7a0f978430e6d authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Moved all CSA code from the SMT API to a new header, `SMTConv.h`. NFC.

Summary:
With this patch, the SMT backend is almost completely detached from the CSA.

Unfortuna...

f7f6fad57e97ede138b9864f49690f75f1a44f55 authored about 6 years ago by Mikhail R. Gadelha <[email protected]>