Author: xazax
Date: Sat Dec 31 06:45:59 2016
New Revision: 290784
URL: http://llvm.org/viewvc/llvm-project?rev=290784&view=rev
Log:
[clang-tidy] Add delete null pointer check.
This check detects and fixes redundant null checks before deletes.
Patch by: Gergely Angeli!
Differential Revision: htt
Author: xazax
Date: Mon Jan 9 03:52:32 2017
New Revision: 291430
URL: http://llvm.org/viewvc/llvm-project?rev=291430&view=rev
Log:
[analyzer] Add checker for iterators dereferenced beyond their range.
Patch by: Adam Balogh!
Differential Revision: https://reviews.llvm.org/D25660
Added:
cfe/
Author: xazax
Date: Thu Aug 18 02:54:50 2016
New Revision: 279037
URL: http://llvm.org/viewvc/llvm-project?rev=279037&view=rev
Log:
[analyzer] Small cleanups when checkers retrieving statements from exploded
nodes.
Differential Revision: https://reviews.llvm.org/D23550
Modified:
cfe/trunk/li
Author: xazax
Date: Thu Aug 18 03:43:26 2016
New Revision: 279041
URL: http://llvm.org/viewvc/llvm-project?rev=279041&view=rev
Log:
[analyzer] Added valist related checkers.
Differential Revision: https://reviews.llvm.org/D15227
Added:
cfe/trunk/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
Author: xazax
Date: Thu Aug 18 04:13:37 2016
New Revision: 279043
URL: http://llvm.org/viewvc/llvm-project?rev=279043&view=rev
Log:
revert [analyzer] Added valist related checkers.
Removed:
cfe/trunk/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
cfe/trunk/test/Analysis/Inputs/system-heade
Author: xazax
Date: Mon Aug 22 05:07:32 2016
New Revision: 279425
URL: http://llvm.org/viewvc/llvm-project?rev=279425&view=rev
Log:
[analyzer] Correctly add assumptions based on array bounds.
Also simplify the constraints generated by the checker.
Differential Revision: https://reviews.llvm.org
Author: xazax
Date: Mon Aug 22 06:21:30 2016
New Revision: 279427
URL: http://llvm.org/viewvc/llvm-project?rev=279427&view=rev
Log:
Reapply "[analyzer] Added valist related checkers."
Differential Revision: https://reviews.llvm.org/D15227
Added:
cfe/trunk/lib/StaticAnalyzer/Checkers/ValistCh
Author: xazax
Date: Mon Apr 3 04:30:20 2017
New Revision: 299354
URL: http://llvm.org/viewvc/llvm-project?rev=299354&view=rev
Log:
[ASTImporter] Lookup SearchName instead of Name
When the SearchName is already calculated we should use that for the lookup.
Patch by Peter Szecsi!
Differential Re
Author: xazax
Date: Mon Apr 3 06:57:11 2017
New Revision: 299355
URL: http://llvm.org/viewvc/llvm-project?rev=299355&view=rev
Log:
[ASTImporter] Fix for importing unnamed structs
Patch by Peter Szecsi!
Differential Revision: https://reviews.llvm.org/D30876
Modified:
cfe/trunk/lib/AST/ASTIm
Author: xazax
Date: Mon Apr 3 16:06:45 2017
New Revision: 299386
URL: http://llvm.org/viewvc/llvm-project?rev=299386&view=rev
Log:
Revert r299355 "[ASTImporter] Fix for importing unnamed structs"
It breaks windows bots.
Modified:
cfe/trunk/lib/AST/ASTImporter.cpp
cfe/trunk/test/ASTMerg
Author: xazax
Date: Thu Apr 6 04:56:42 2017
New Revision: 299638
URL: http://llvm.org/viewvc/llvm-project?rev=299638&view=rev
Log:
[clang-tidy] Check for forwarding reference overload in constructors.
Patch by András Leitereg!
Differential Revision: https://reviews.llvm.org/D30547
Added:
c
Author: xazax
Date: Thu Apr 6 07:49:35 2017
New Revision: 299645
URL: http://llvm.org/viewvc/llvm-project?rev=299645&view=rev
Log:
Attempt to fix build bots after r299638.
Modified:
clang-tools-extra/trunk/test/clang-tidy/misc-forwarding-reference-overload.cpp
Modified:
clang-tools-extra/
Author: xazax
Date: Thu Apr 6 10:58:57 2017
New Revision: 299657
URL: http://llvm.org/viewvc/llvm-project?rev=299657&view=rev
Log:
[clang-tidy] Temporarily disable a test-case that does not work on windows.
Modified:
clang-tools-extra/trunk/test/clang-tidy/misc-forwarding-reference-overload
Author: xazax
Date: Fri Apr 14 07:31:36 2017
New Revision: 300320
URL: http://llvm.org/viewvc/llvm-project?rev=300320&view=rev
Log:
[clang-tidy] Fixes to misc-forwarding-reference-overload check.
* Style fixes to tests
* Make it work consistently on all platforms
Patch by András Leitereg!
Modif
Author: xazax
Date: Tue Jan 24 09:18:11 2017
New Revision: 292938
URL: http://llvm.org/viewvc/llvm-project?rev=292938&view=rev
Log:
[clang-tidy] Don't modernize-raw-string-literal if replacement is longer.
Fixes PR30964. The old behavior can be achieved using a setting.
Patch by: Andras Leitereg
Author: xazax
Date: Thu Feb 2 02:20:54 2017
New Revision: 293874
URL: http://llvm.org/viewvc/llvm-project?rev=293874&view=rev
Log:
[analyzer] Fix an assertion fail in CStringSyntaxChecker.
Differential Revision: https://reviews.llvm.org/D29384
Modified:
cfe/trunk/lib/StaticAnalyzer/Checker
Author: xazax
Date: Wed Jun 28 05:47:35 2017
New Revision: 306538
URL: http://llvm.org/viewvc/llvm-project?rev=306538&view=rev
Log:
[clang-tidy] Enable inline variable definitions in headers
Differential Revision: https://reviews.llvm.org/D34449
Added:
clang-tools-extra/trunk/test/clang-tidy
Author: xazax
Date: Wed Jun 28 23:53:13 2017
New Revision: 306648
URL: http://llvm.org/viewvc/llvm-project?rev=306648&view=rev
Log:
Factor out a functionality from isBeforeInTranslationUnit
The first user of this API will be the cross translation unit
functionality of the Static Analyzer which wi
Author: xazax
Date: Sat Jul 8 01:23:52 2017
New Revision: 307468
URL: http://llvm.org/viewvc/llvm-project?rev=307468&view=rev
Log:
[analyzer] Fix a path in the developer manual
Patch by: Reka Nikolett Kovacs
Modified:
cfe/trunk/www/analyzer/checker_dev_manual.html
Modified: cfe/trunk/www/a
Author: xazax
Date: Wed Jul 12 06:43:35 2017
New Revision: 307791
URL: http://llvm.org/viewvc/llvm-project?rev=307791&view=rev
Log:
[clang-tidy] Add new modernize use unary assert check
Patch by: Lilla Barancsuk
Differential Revision: https://reviews.llvm.org/D35257
Added:
clang-tools-extra
Author: xazax
Date: Fri Jul 14 05:15:55 2017
New Revision: 308020
URL: http://llvm.org/viewvc/llvm-project?rev=308020&view=rev
Log:
[clang-tidy] Add bugprone-suspicious-memset-usage check
Created new module bugprone and placed the check in that.
Finds memset() calls with potential mistakes in th
Author: xazax
Date: Fri Jul 14 05:20:19 2017
New Revision: 308021
URL: http://llvm.org/viewvc/llvm-project?rev=308021&view=rev
Log:
[clang-tidy] Add bugprone-undefined-memory-manipulation check
Patch by: Reka Nikolett Kovacs
Differential Revision: https://reviews.llvm.org/D35051
Added:
cla
Author: xazax
Date: Fri Jul 14 05:31:21 2017
New Revision: 308022
URL: http://llvm.org/viewvc/llvm-project?rev=308022&view=rev
Log:
[clang-tidy] Minor documentation fix. NFC.
Modified:
clang-tools-extra/trunk/docs/clang-tidy/checks/bugprone-undefined-memory-manipulation.rst
Modified:
clang
Author: xazax
Date: Mon Jul 24 23:52:08 2017
New Revision: 308954
URL: http://llvm.org/viewvc/llvm-project?rev=308954&view=rev
Log:
[clang-tidy] Handle incomplete types in bugprone-undefined-memory-manipulation
check
Patch by: Reka Nikolett Kovacs
Differential Revision: https://reviews.llvm.org/
Author: xazax
Date: Mon Jan 22 05:32:10 2018
New Revision: 323115
URL: http://llvm.org/viewvc/llvm-project?rev=323115&view=rev
Log:
[analyzer] Model and check unrepresentable left shifts
Patch by: Reka Nikolett Kovacs
Differential Revision: https://reviews.llvm.org/D41816
Modified:
cfe/trun
Author: xazax
Date: Sat Jan 27 08:11:45 2018
New Revision: 323589
URL: http://llvm.org/viewvc/llvm-project?rev=323589&view=rev
Log:
[ASTImporter] Add support to import some AST nodes:
* CXXOperatorCallExpr
* SizeOfPackExpr
* DependentTemplateSpecializationType
* DependentSizedArray
* CXXTypeidExp
Author: xazax
Date: Sat Jan 27 08:38:56 2018
New Revision: 323590
URL: http://llvm.org/viewvc/llvm-project?rev=323590&view=rev
Log:
Attempt to make the PS4 build bot happy.
Modified:
cfe/trunk/unittests/AST/ASTImporterTest.cpp
Modified: cfe/trunk/unittests/AST/ASTImporterTest.cpp
URL:
http:
Author: xazax
Date: Tue Feb 14 04:03:27 2017
New Revision: 295041
URL: http://llvm.org/viewvc/llvm-project?rev=295041&view=rev
Log:
[clang-tidy] Add readability-misleading-indentation check.
Differential Revision: https://reviews.llvm.org/D19586
Added:
clang-tools-extra/trunk/clang-tidy/rea
Author: xazax
Date: Wed Feb 15 09:35:56 2017
New Revision: 295186
URL: http://llvm.org/viewvc/llvm-project?rev=295186&view=rev
Log:
[analyzer] Proper caching in CallDescription objects.
During the review of D29567 it turned out the caching in CallDescription is not
implemented properly. In case
Author: xazax
Date: Fri Feb 17 02:52:51 2017
New Revision: 295435
URL: http://llvm.org/viewvc/llvm-project?rev=295435&view=rev
Log:
[clang-tidy] Add cert-dcl58-cpp (do not modify the 'std' namespace) check.
Differential Revision: https://reviews.llvm.org/D23421
Added:
clang-tools-extra/trunk
Author: xazax
Date: Tue Mar 7 10:04:23 2017
New Revision: 297153
URL: http://llvm.org/viewvc/llvm-project?rev=297153&view=rev
Log:
[analyzer] Improve valist checks and move it out from alpha state.
This patch makes the valist check more robust to the different AST variants on
different platforms
Author: xazax
Date: Fri Mar 10 08:50:12 2017
New Revision: 297461
URL: http://llvm.org/viewvc/llvm-project?rev=297461&view=rev
Log:
[analyzer] Extend block in critical section check with C11 and Pthread APIs.
Patch by Zoltan Daniel Torok!
Differential Revision: https://reviews.llvm.org/D29567
Author: xazax
Date: Mon Mar 13 07:48:26 2017
New Revision: 297619
URL: http://llvm.org/viewvc/llvm-project?rev=297619&view=rev
Log:
[analyzer] Fix a rare crash for valist check.
It looks like on some host-triples the result of a valist related expr can be
a LazyCompoundVal. Handle that case in th
Author: xazax
Date: Mon Mar 13 10:32:24 2017
New Revision: 297627
URL: http://llvm.org/viewvc/llvm-project?rev=297627&view=rev
Log:
[ASTImporter] Import fix of GCCAsmStmts w/ missing symbolic operands
Patch by Zoltan Gera!
Differential Revision: https://reviews.llvm.org/D30831
Modified:
cfe
Author: xazax
Date: Wed Nov 16 08:42:10 2016
New Revision: 287107
URL: http://llvm.org/viewvc/llvm-project?rev=287107&view=rev
Log:
[clang-tidy] New check to prefer transparent functors to non-transparent ones.
Added:
clang-tools-extra/trunk/clang-tidy/modernize/UseTransparentFunctorsCheck.cp
Author: xazax
Date: Wed Nov 23 09:24:23 2016
New Revision: 287763
URL: http://llvm.org/viewvc/llvm-project?rev=287763&view=rev
Log:
[ASTImporter] Added ability to import AtomicType nodes
Patch by: Kareem Khazem
Differential Revision: https://reviews.llvm.org/D26328
Modified:
cfe/trunk/lib/A
Author: xazax
Date: Wed Apr 19 09:55:58 2017
New Revision: 300699
URL: http://llvm.org/viewvc/llvm-project?rev=300699&view=rev
Log:
[clang-tidy] misc-misplaced-widening-cast: Disable checking of implicit
widening casts by default.
Patch by Ádám Balogh!
Differential Revision: https://reviews.llv
Author: xazax
Date: Wed Apr 19 10:11:10 2017
New Revision: 300703
URL: http://llvm.org/viewvc/llvm-project?rev=300703&view=rev
Log:
Remove unnecessary condition as suggested by clang-tidy. NFC
Patch by: Gergely Angeli!
Differential Revision: https://reviews.llvm.org/D31938
Modified:
cfe/tru
Author: xazax
Date: Mon May 1 16:02:38 2017
New Revision: 301836
URL: http://llvm.org/viewvc/llvm-project?rev=301836&view=rev
Log:
Reorder release notes, fix missing link and a grammar issue.
Patch by Réka Nikolett Kovács!
Modified:
clang-tools-extra/trunk/docs/ReleaseNotes.rst
Modified:
Author: xazax
Date: Wed May 10 06:16:55 2017
New Revision: 302637
URL: http://llvm.org/viewvc/llvm-project?rev=302637&view=rev
Log:
[clang-tidy] Add new cert-dcl21-cpp check
This check flags postfix operator++/-- declarations,
where the return type is not a const object.
Differential Revision:
Author: xazax
Date: Fri May 12 01:53:55 2017
New Revision: 302879
URL: http://llvm.org/viewvc/llvm-project?rev=302879&view=rev
Log:
[analyzer] Avoid an allocation in Std C function modelling
Differential Revision: https://reviews.llvm.org/D33095
Modified:
cfe/trunk/lib/StaticAnalyzer/Checker
Author: xazax
Date: Fri May 12 02:02:54 2017
New Revision: 302880
URL: http://llvm.org/viewvc/llvm-project?rev=302880&view=rev
Log:
[analyzer] Add modelling of __builtin_assume
Differential Revision: https://reviews.llvm.org/D33092
Added:
cfe/trunk/test/Analysis/builtin-assume.c
Modified:
Author: xazax
Date: Fri Sep 11 11:29:05 2015
New Revision: 247423
URL: http://llvm.org/viewvc/llvm-project?rev=247423&view=rev
Log:
[Static Analyzer] Minor cleanups for the nullability checker.
Differential Revision: http://reviews.llvm.org/D12619
Modified:
cfe/trunk/lib/StaticAnalyzer/Chec
Author: xazax
Date: Fri Sep 11 11:55:01 2015
New Revision: 247426
URL: http://llvm.org/viewvc/llvm-project?rev=247426&view=rev
Log:
[Static Analyzer] Lambda support.
Differential Revision: http://reviews.llvm.org/D12652
Added:
cfe/trunk/test/Analysis/lambda-notes.cpp
Modified:
cfe/trunk
Author: xazax
Date: Fri Sep 11 12:19:57 2015
New Revision: 247430
URL: http://llvm.org/viewvc/llvm-project?rev=247430&view=rev
Log:
[Static Analyzer] Properly clean up the dynamic type information for dead
regions.
Differential Revision: http://reviews.llvm.org/D12767
Added:
cfe/trunk/incl
Author: xazax
Date: Fri Sep 11 13:41:50 2015
New Revision: 247444
URL: http://llvm.org/viewvc/llvm-project?rev=247444&view=rev
Log:
[Static Analyzer] Fixed a typo in a diagnostic message.
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
Modified: cfe/trunk/lib/StaticAna
Author: xazax
Date: Fri Sep 11 16:19:39 2015
New Revision: 247476
URL: http://llvm.org/viewvc/llvm-project?rev=247476&view=rev
Log:
[Static Analyzer] Properly cash the configuration option for lambda support.
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
Modified: cfe/trun
Author: xazax
Date: Sun Sep 13 18:02:24 2015
New Revision: 247532
URL: http://llvm.org/viewvc/llvm-project?rev=247532&view=rev
Log:
[Static Analyzer] Merge the Objective-C Generics Checker into Dynamic Type
Propagation checker.
Differential Revision: http://reviews.llvm.org/D12381
Modified:
Author: xazax
Date: Sun Sep 13 18:03:11 2015
New Revision: 247533
URL: http://llvm.org/viewvc/llvm-project?rev=247533&view=rev
Log:
[Static Analyzer] Remove a redundant file.
Removed:
cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCGenericsChecker.cpp
Removed: cfe/trunk/lib/StaticAnalyzer/Checkers
Author: xazax
Date: Mon Sep 14 13:31:34 2015
New Revision: 247590
URL: http://llvm.org/viewvc/llvm-project?rev=247590&view=rev
Log:
[Static Analyzer] Moving nullability checkers to a top level package.
Differential Revision: http://reviews.llvm.org/D12852
Added:
cfe/trunk/test/Analysis/null
Author: xazax
Date: Mon Sep 14 13:48:55 2015
New Revision: 247595
URL: http://llvm.org/viewvc/llvm-project?rev=247595&view=rev
Log:
[Static Analyzer] Moving nullability checkers out of alpha.
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/Checkers.td
cfe/trunk/test/Analysis/nullability.m
Author: xazax
Date: Mon Sep 14 14:00:08 2015
New Revision: 247598
URL: http://llvm.org/viewvc/llvm-project?rev=247598&view=rev
Log:
[Static Analyzer] Relaxing a caching out related assert.
Differential Revision: http://reviews.llvm.org/D12818
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/Expr
Author: xazax
Date: Mon Sep 14 15:31:46 2015
New Revision: 247612
URL: http://llvm.org/viewvc/llvm-project?rev=247612&view=rev
Log:
[Static Analyzer] Nullability checker optimization.
Differential Revision: http://reviews.llvm.org/D12848
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/Nulla
Author: xazax
Date: Mon Sep 14 15:34:06 2015
New Revision: 247614
URL: http://llvm.org/viewvc/llvm-project?rev=247614&view=rev
Log:
[Static Analyzer] Turn on some nullability checks by default.
Differential Revision: http://reviews.llvm.org/D12858
Modified:
cfe/trunk/lib/Driver/Tools.cpp
M
Author: xazax
Date: Tue Sep 15 18:14:01 2015
New Revision: 247739
URL: http://llvm.org/viewvc/llvm-project?rev=247739&view=rev
Log:
[Static Analyzer] Added an XFAIL test for inlining when the type inference
involves generic types.
Added:
cfe/trunk/test/Analysis/DynamicTypePropagation.m
Adde
Author: xazax
Date: Fri Sep 18 11:43:27 2015
New Revision: 248002
URL: http://llvm.org/viewvc/llvm-project?rev=248002&view=rev
Log:
[Static Analyzer] Use generics related information to infer dynamic types.
Differential Revision: http://reviews.llvm.org/D12916
Modified:
cfe/trunk/lib/Static
Author: xazax
Date: Fri Sep 18 14:13:22 2015
New Revision: 248021
URL: http://llvm.org/viewvc/llvm-project?rev=248021&view=rev
Log:
[analyzer] A fix for substraction of an integer from a pointer.
Patch by Artem Dergachev!
Differential Revision: http://reviews.llvm.org/D12725
Modified:
cfe/
Author: xazax
Date: Fri Sep 18 16:15:37 2015
New Revision: 248041
URL: http://llvm.org/viewvc/llvm-project?rev=248041&view=rev
Log:
[Static Analyzer] General type checker based on dynamic type information.
Differential Revision: http://reviews.llvm.org/D12973
Added:
cfe/trunk/lib/StaticAnal
Author: xazax
Date: Fri Sep 18 18:38:57 2015
New Revision: 248065
URL: http://llvm.org/viewvc/llvm-project?rev=248065&view=rev
Log:
[Static Analyzer] Fixed a false positive case in DynamicTypeChecker when
dealing with forward declarations.
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/Dyna
Author: xazax
Date: Thu Aug 20 17:59:49 2015
New Revision: 245637
URL: http://llvm.org/viewvc/llvm-project?rev=245637&view=rev
Log:
[Static Analyzer] Made it easier to test new checkers using the test suite.
Modified:
cfe/trunk/utils/analyzer/SATestBuild.py
Modified: cfe/trunk/utils/analyzer
Author: xazax
Date: Tue Aug 25 11:27:03 2015
New Revision: 245949
URL: http://llvm.org/viewvc/llvm-project?rev=245949&view=rev
Log:
[Static Analyzer] Fixed a typo in a diagnostic message.
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCGenericsChecker.cpp
Modified: cfe/trunk/lib/StaticAn
Author: xazax
Date: Tue Aug 25 11:38:05 2015
New Revision: 245951
URL: http://llvm.org/viewvc/llvm-project?rev=245951&view=rev
Log:
[Static Analyzer] Fix tests to reflect the change in the diagnostic message.
Modified:
cfe/trunk/test/Analysis/generics.m
Modified: cfe/trunk/test/Analysis/gene
Author: xazax
Date: Wed Aug 26 18:17:43 2015
New Revision: 246105
URL: http://llvm.org/viewvc/llvm-project?rev=246105&view=rev
Log:
[Static Analyzer] Checks to catch nullability related issues.
Differential Revision: http://reviews.llvm.org/D11468
Added:
cfe/trunk/docs/analyzer/nullability.r
Author: xazax
Date: Thu Aug 27 13:49:07 2015
New Revision: 246182
URL: http://llvm.org/viewvc/llvm-project?rev=246182&view=rev
Log:
[Static Analyzer] Make NonNullParamChecker emit implicit null dereference
events.
Differential Revision: http://reviews.llvm.org/D11433
Modified:
cfe/trunk/inc
Author: xazax
Date: Thu Aug 27 13:57:00 2015
New Revision: 246188
URL: http://llvm.org/viewvc/llvm-project?rev=246188&view=rev
Log:
[Static Analyzer] BugReporter.cpp:2869: Assertion failed:
!RemainingNodes.empty() && "No error node found in the trimmed graph"
The assertion is caused by reusing a
Author: xazax
Date: Mon Aug 31 15:10:35 2015
New Revision: 246479
URL: http://llvm.org/viewvc/llvm-project?rev=246479&view=rev
Log:
Revert r246345 until an assertion is fixed.
Removed:
cfe/trunk/test/Analysis/pr22954.c
Modified:
cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/Me
Author: xazax
Date: Thu Sep 3 18:16:21 2015
New Revision: 246818
URL: http://llvm.org/viewvc/llvm-project?rev=246818&view=rev
Log:
[Static Analyzer] Remove sinks from nullability checks.
Differential Revision: http://reviews.llvm.org/D12445
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/
Author: xazax
Date: Thu Oct 22 08:23:18 2015
New Revision: 251014
URL: http://llvm.org/viewvc/llvm-project?rev=251014&view=rev
Log:
Attempt to fix build bot test failures.
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/IssueHash.cpp
cfe/trunk/test/Analysis/inlining/path-notes.m
Modified: cf
Author: xazax
Date: Mon Oct 26 08:32:26 2015
New Revision: 251289
URL: http://llvm.org/viewvc/llvm-project?rev=251289&view=rev
Log:
[analyzer] Fixed a rare crash when analyzing lambda functions.
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/MemRegion.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/
Author: xazax
Date: Mon Oct 26 12:42:14 2015
New Revision: 251313
URL: http://llvm.org/viewvc/llvm-project?rev=251313&view=rev
Log:
[analyzer] Added a missing test case for r251289.
Modified:
cfe/trunk/test/Analysis/lambdas.cpp
Modified: cfe/trunk/test/Analysis/lambdas.cpp
URL:
http://llvm.
Author: xazax
Date: Tue Oct 27 07:36:26 2015
New Revision: 251404
URL: http://llvm.org/viewvc/llvm-project?rev=251404&view=rev
Log:
[analyzer] Fix another crash when analyzing lambda functions.
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/MemRegion.cpp
cfe/trunk/test/Analysis/lambdas.cpp
Author: xazax
Date: Tue Oct 27 08:46:39 2015
New Revision: 251407
URL: http://llvm.org/viewvc/llvm-project?rev=251407&view=rev
Log:
[analyzer] Fix lambdas that are capturing constants.
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp
cfe/trunk/test/Analysis/lambdas.cpp
Modified
Author: xazax
Date: Mon Aug 8 04:22:59 2016
New Revision: 277989
URL: http://llvm.org/viewvc/llvm-project?rev=277989&view=rev
Log:
[analyzer] Model base to derived casts more precisely.
Dynamic casts are handled relatively well by the static analyzer.
BaseToDerived casts however are treated cons
Author: xazax
Date: Mon Aug 8 08:41:04 2016
New Revision: 278006
URL: http://llvm.org/viewvc/llvm-project?rev=278006&view=rev
Log:
[analyzer] Command line option to show enabled checker list.
This patch adds a command line option to list the checkers that were enabled
by analyzer-checker and not
Author: xazax
Date: Tue Feb 9 03:26:11 2016
New Revision: 260212
URL: http://llvm.org/viewvc/llvm-project?rev=260212&view=rev
Log:
[clang-tidy] Replace a custom ASTMatcher with a built-in one.
Modified:
clang-tools-extra/trunk/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
Modified:
cl
Author: xazax
Date: Tue Feb 9 04:20:48 2016
New Revision: 260217
URL: http://llvm.org/viewvc/llvm-project?rev=260217&view=rev
Log:
[clang-tidy] Make readability-container-size-empty work with inline namespaces.
Fix PR25812.
Modified:
clang-tools-extra/trunk/clang-tidy/readability/ContainerS
Author: xazax
Date: Thu Feb 11 03:23:33 2016
New Revision: 260503
URL: http://llvm.org/viewvc/llvm-project?rev=260503&view=rev
Log:
[clang-tidy] Add a check to find unintended semicolons that changes the
semantics.
Reviewers: hokein, alexfh
Differential Revision: http://reviews.llvm.org/D16535
Author: xazax
Date: Tue Feb 23 06:34:39 2016
New Revision: 261632
URL: http://llvm.org/viewvc/llvm-project?rev=261632&view=rev
Log:
[analyzer] Improve pointer arithmetic checker.
This patch is intended to improve pointer arithmetic checker.
From now on it only warns when the pointer arithmetic is
Author: xazax
Date: Wed May 4 06:59:39 2016
New Revision: 268490
URL: http://llvm.org/viewvc/llvm-project?rev=268490&view=rev
Log:
[ASTMatchers] New matcher forFunction
Summary: Matcher proposed in the review of checker misc-assign-operator (name
pending). Its goal is to find the direct enclosi
Author: xazax
Date: Wed May 4 07:02:22 2016
New Revision: 268492
URL: http://llvm.org/viewvc/llvm-project?rev=268492&view=rev
Log:
[clang-tidy] New: checker misc-unconventional-assign-operator replacing
misc-assign-operator-signature
Summary: Finds return statements in assign operator bodies wh
Author: xazax
Date: Wed May 4 07:17:55 2016
New Revision: 268494
URL: http://llvm.org/viewvc/llvm-project?rev=268494&view=rev
Log:
[clang-tidy] Remove STL dependency from a test.
Modified:
clang-tools-extra/trunk/test/clang-tidy/misc-unconventional-assign-operator.cpp
Modified:
clang-tool
Author: xazax
Date: Wed Mar 30 05:08:59 2016
New Revision: 264851
URL: http://llvm.org/viewvc/llvm-project?rev=264851&view=rev
Log:
[analyzer] Fix an assertion fail in hash generation.
In case the (uniqueing) location of the diagnostic is in a line that only
contains whitespaces there was an asse
Author: xazax
Date: Wed Mar 30 06:22:14 2016
New Revision: 264855
URL: http://llvm.org/viewvc/llvm-project?rev=264855&view=rev
Log:
[ASTMatchers] Existing matcher hasAnyArgument fixed
Summary: A checker (will be uploaded after this patch) needs to check implicit
casts. The checker needs matcher
Author: xazax
Date: Wed Mar 30 07:16:09 2016
New Revision: 264859
URL: http://llvm.org/viewvc/llvm-project?rev=264859&view=rev
Log:
[clang-tidy] Adjust dangling references check to ASTMatcher changes.
Modified:
clang-tools-extra/trunk/clang-tidy/misc/DanglingHandleCheck.cpp
Modified: clang-t
Author: xazax
Date: Wed Apr 6 07:04:51 2016
New Revision: 265532
URL: http://llvm.org/viewvc/llvm-project?rev=265532&view=rev
Log:
[clang-tidy] Extension of checker misc-misplaced-widening-cast
Summary:
Existing checker misc-misplaced-widening-cast was extended:
- New use cases: casted expressio
Author: xazax
Date: Wed Apr 6 09:49:15 2016
New Revision: 265544
URL: http://llvm.org/viewvc/llvm-project?rev=265544&view=rev
Log:
[clang-tidy] Assertion fix in misc-misplaced-widening-cast check.
Modified:
clang-tools-extra/trunk/clang-tidy/misc/MisplacedWideningCastCheck.cpp
Modified: cla
Author: xazax
Date: Thu Apr 14 06:56:28 2016
New Revision: 266293
URL: http://llvm.org/viewvc/llvm-project?rev=266293&view=rev
Log:
[analyzer] Make it possible to query the function name from a CallDescription.
Modified:
cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
M
Author: xazax
Date: Tue Apr 19 08:29:05 2016
New Revision: 266734
URL: http://llvm.org/viewvc/llvm-project?rev=266734&view=rev
Log:
[clang-tidy] readability-container-size-empty fixes
Summary: This patch fixes PR27410 and adds std::basic_string support.
Reviewers: Eugene.Zelenko, hokein
Subscri
Author: xazax
Date: Thu Mar 3 04:27:32 2016
New Revision: 262601
URL: http://llvm.org/viewvc/llvm-project?rev=262601&view=rev
Log:
[clang-tidy] Documentation fixes.
Modified:
clang-tools-extra/trunk/docs/clang-tidy/checks/misc-throw-by-value-catch-by-reference.rst
Modified:
clang-tools-ex
Author: xazax
Date: Thu Mar 3 07:08:11 2016
New Revision: 262615
URL: http://llvm.org/viewvc/llvm-project?rev=262615&view=rev
Log:
[clang-tidy] Do not emit warnings from misc-suspicious-semicolon when the
compilation fails.
Added:
clang-tools-extra/trunk/test/clang-tidy/misc-suspicious-semi
Author: xazax
Date: Thu Mar 3 07:43:23 2016
New Revision: 262618
URL: http://llvm.org/viewvc/llvm-project?rev=262618&view=rev
Log:
[clang-tidy] Improve the robustness of a test.
Modified:
clang-tools-extra/trunk/test/clang-tidy/misc-suspicious-semicolon-fail.cpp
Modified:
clang-tools-extra
Author: xazax
Date: Thu Mar 24 05:12:08 2016
New Revision: 264251
URL: http://llvm.org/viewvc/llvm-project?rev=264251&view=rev
Log:
[clang-tidy] misc-assign-operator-signature checker checks return value of all
assign operators
The return value of every assign operator should be Type&, not only
Author: xazax
Date: Mon Dec 28 11:20:33 2015
New Revision: 256504
URL: http://llvm.org/viewvc/llvm-project?rev=256504&view=rev
Log:
[clang-tidy] Fix a false positive case in ContainerSizeEmpty check.
Modified:
clang-tools-extra/trunk/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
clan
Author: xazax
Date: Fri Jan 22 15:45:51 2016
New Revision: 258562
URL: http://llvm.org/viewvc/llvm-project?rev=258562&view=rev
Log:
[clang-tidy] Handle decayed types and other improvements in VirtualNearMiss
check.
Handle decayed types, ignore qualifiers and accessibility when considering a
meth
Author: xazax
Date: Fri Jan 22 16:32:46 2016
New Revision: 258572
URL: http://llvm.org/viewvc/llvm-project?rev=258572&view=rev
Log:
[analyzer] Utility to match function calls.
This patch adds a small utility to match function calls. This utility abstracts
away the mutable keywords and the lazy i
Author: xazax
Date: Tue Dec 1 03:00:41 2015
New Revision: 254394
URL: http://llvm.org/viewvc/llvm-project?rev=254394&view=rev
Log:
[analyzer] Fix IssueHash generation.
Differential Revision: http://reviews.llvm.org/D14919
Original patch by: Gyorgy Orban!
Modified:
cfe/trunk/include/clang/
Author: xazax
Date: Fri Dec 4 09:02:30 2015
New Revision: 254718
URL: http://llvm.org/viewvc/llvm-project?rev=254718&view=rev
Log:
[analyzer] Improve modelling of nullptr_t in the analyzer. Fix PR25414.
Differential Revision: http://reviews.llvm.org/D15007
Modified:
cfe/trunk/lib/StaticAnal
Author: xazax
Date: Sat Dec 12 05:31:25 2015
New Revision: 255431
URL: http://llvm.org/viewvc/llvm-project?rev=255431&view=rev
Log:
[clang-tidy] Fix PR25812.
Modified:
clang-tools-extra/trunk/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
clang-tools-extra/trunk/test/clang-tidy/readab
Author: xazax
Date: Tue Dec 15 02:35:45 2015
New Revision: 255627
URL: http://llvm.org/viewvc/llvm-project?rev=255627&view=rev
Log:
Add a new matcher to match character types.
Modified:
cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h
cfe/trunk/unittests/ASTMatchers/ASTMatchersTest.cpp
Author: xazax
Date: Tue Dec 15 02:47:20 2015
New Revision: 255630
URL: http://llvm.org/viewvc/llvm-project?rev=255630&view=rev
Log:
[clang-tidy] Check for suspicious string assignments.
It is possible to assign arbitrary integer types to strings.
Sometimes it is the result of missing to_string ca
101 - 200 of 201 matches
Mail list logo