Author: danielmarjamaki
Date: Wed Oct 11 07:49:35 2017
New Revision: 315462
URL: http://llvm.org/viewvc/llvm-project?rev=315462&view=rev
Log:
[Analyzer] Clarify error messages for undefined result
Differential Revision: https://reviews.llvm.org/D30295
Modified:
cfe/trunk/include/clang/Stati
Author: danielmarjamaki
Date: Fri Sep 29 02:44:41 2017
New Revision: 314499
URL: http://llvm.org/viewvc/llvm-project?rev=314499&view=rev
Log:
[Sema] Suppress warnings for C's zero initializer
Patch by S. Gilles!
Differential Revision: https://reviews.llvm.org/D28148
Added:
cfe/trunk/test/Se
Author: danielmarjamaki
Date: Mon Aug 28 23:25:24 2017
New Revision: 311984
URL: http://llvm.org/viewvc/llvm-project?rev=311984&view=rev
Log:
[clang-tidy] Fix 'misc-misplaced-widening-cast' assertion error.
Reviewers: alexfh, xazax.hun, danielmarjamaki
Differential Revision: http://reviews.llvm.
Author: danielmarjamaki
Date: Wed Aug 2 01:26:56 2017
New Revision: 309799
URL: http://llvm.org/viewvc/llvm-project?rev=309799&view=rev
Log:
[StaticAnalyzer] Fix false positives for unreachable code in macros.
Example:
#define MACRO(C) if (C) { static int x; .. }
void foo() {
MACRO(0)
Author: danielmarjamaki
Date: Mon Jun 19 03:55:51 2017
New Revision: 305669
URL: http://llvm.org/viewvc/llvm-project?rev=305669&view=rev
Log:
[analyzer] Fix logical not for pointers with different bit width
Differential Revision: https://reviews.llvm.org/D31029
Modified:
cfe/trunk/include/c
Author: danielmarjamaki
Date: Tue May 2 06:46:12 2017
New Revision: 301913
URL: http://llvm.org/viewvc/llvm-project?rev=301913&view=rev
Log:
[analyzer] Detect bad free of function pointers
Differential Revision: https://reviews.llvm.org/D31650
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers
Author: danielmarjamaki
Date: Wed Apr 5 03:57:04 2017
New Revision: 299523
URL: http://llvm.org/viewvc/llvm-project?rev=299523&view=rev
Log:
[analyzer] alpha.core.Conversion - Fix false positive for 'U32 += S16;'
expression, that is not unsafe
Summary:
The alpha.core.Conversion was too strict a
Author: danielmarjamaki
Date: Wed Mar 8 09:22:24 2017
New Revision: 297283
URL: http://llvm.org/viewvc/llvm-project?rev=297283&view=rev
Log:
[analyzer] Clarify 'uninitialized function argument' messages
Differential Revision: https://reviews.llvm.org/D30341
Modified:
cfe/trunk/lib/StaticAna
Author: danielmarjamaki
Date: Tue Mar 7 13:20:48 2017
New Revision: 297187
URL: http://llvm.org/viewvc/llvm-project?rev=297187&view=rev
Log:
[analyzer] Fix crashes in CastToStruct checker for undefined structs
This crash was reported in https://bugs.llvm.org//show_bug.cgi?id=31173
Differential
Author: danielmarjamaki
Date: Tue Feb 28 08:53:50 2017
New Revision: 296477
URL: http://llvm.org/viewvc/llvm-project?rev=296477&view=rev
Log:
[Sema] Detect more array index out of bounds when C++ overloaded operators are
used
Differential Revision: https://reviews.llvm.org/D30192
Modified:
Author: danielmarjamaki
Date: Mon Feb 27 04:44:24 2017
New Revision: 296326
URL: http://llvm.org/viewvc/llvm-project?rev=296326&view=rev
Log:
[analyzer] clarify 'result is garbage value' when it is out of bounds
Differential Revision: https://reviews.llvm.org/D28278
Modified:
cfe/trunk/lib/S
Author: danielmarjamaki
Date: Fri Feb 24 03:02:44 2017
New Revision: 296100
URL: http://llvm.org/viewvc/llvm-project?rev=296100&view=rev
Log:
[clang-tidy] Fix readability-redundant-declaration false positive
Differential Revision: https://reviews.llvm.org/D27048
Modified:
clang-tools-extra/t
Author: danielmarjamaki
Date: Sat Feb 18 10:31:35 2017
New Revision: 295548
URL: http://llvm.org/viewvc/llvm-project?rev=295548&view=rev
Log:
[analyzer] Revert 295545. There are buildbot failures.
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp
cfe/trunk/test/Analy
Author: danielmarjamaki
Date: Sat Feb 18 05:18:57 2017
New Revision: 295545
URL: http://llvm.org/viewvc/llvm-project?rev=295545&view=rev
Log:
[analyzer] Fix crash in CastToStruct when there is no record definition
This crash was reported in https://bugs.llvm.org//show_bug.cgi?id=31173
Differenti
Author: danielmarjamaki
Date: Mon Nov 21 10:08:17 2016
New Revision: 287550
URL: http://llvm.org/viewvc/llvm-project?rev=287550&view=rev
Log:
clang-tidy: improve my test for readability-redundant-declaration
Modified:
clang-tools-extra/trunk/test/clang-tidy/readability-redundant-declaration
Author: danielmarjamaki
Date: Mon Nov 21 09:46:40 2016
New Revision: 287546
URL: http://llvm.org/viewvc/llvm-project?rev=287546&view=rev
Log:
clang-tidy: Attempt to fix build bot failure with mismatching size_t platform
type.
Modified:
clang-tools-extra/trunk/test/clang-tidy/readability-red
Author: danielmarjamaki
Date: Mon Nov 21 08:29:53 2016
New Revision: 287540
URL: http://llvm.org/viewvc/llvm-project?rev=287540&view=rev
Log:
readability-redundant-declaration: Fix crash
Differential Revision: https://reviews.llvm.org/D26911
Modified:
clang-tools-extra/trunk/clang-tidy/read
Author: danielmarjamaki
Date: Tue Nov 1 08:26:15 2016
New Revision: 285689
URL: http://llvm.org/viewvc/llvm-project?rev=285689&view=rev
Log:
[clang-tidy] Add check readability-redundant-declaration
Finds redundant variable and function declarations.
extern int X;
extern int X; // <- redund
Author: danielmarjamaki
Date: Tue Oct 18 08:16:53 2016
New Revision: 284477
URL: http://llvm.org/viewvc/llvm-project?rev=284477&view=rev
Log:
alpha.core.UnreachableCode - don't warn about unreachable code inside macro
In macros, 'do {...} while (0)' is often used. Don't warn about the condition 0
Author: danielmarjamaki
Date: Mon Oct 10 02:39:39 2016
New Revision: 283725
URL: http://llvm.org/viewvc/llvm-project?rev=283725&view=rev
Log:
Fix style issue. Spaces in argument list.
Modified:
cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
Modified: cfe/trunk/include
Author: danielmarjamaki
Date: Fri Oct 7 09:21:08 2016
New Revision: 283554
URL: http://llvm.org/viewvc/llvm-project?rev=283554&view=rev
Log:
[analyzer] Don't merge different return nodes in ExplodedGraph
Returns when calling an inline function should not be merged in the
ExplodedGraph unless th
Author: danielmarjamaki
Date: Mon Oct 3 04:45:35 2016
New Revision: 283096
URL: http://llvm.org/viewvc/llvm-project?rev=283096&view=rev
Log:
[StaticAnalyser] Add test case to ensure that unreachable code is found.
https://reviews.llvm.org/D24905
Modified:
cfe/trunk/test/Analysis/unreachabl
Author: danielmarjamaki
Date: Mon Oct 3 03:28:51 2016
New Revision: 283095
URL: http://llvm.org/viewvc/llvm-project?rev=283095&view=rev
Log:
[StaticAnalyzer] Fix UnreachableCode false positives.
When there is 'do { } while (0);' in the code the ExplodedGraph and
UnoptimizedCFG did not match.
D
Author: danielmarjamaki
Date: Wed Sep 28 05:39:53 2016
New Revision: 282574
URL: http://llvm.org/viewvc/llvm-project?rev=282574&view=rev
Log:
[StaticAnalyzer] Fix false positives for vardecls that are technically
unreachable but they are needed.
Example:
switch (x) {
int a; // <- Thi
Author: danielmarjamaki
Date: Mon Sep 26 10:17:18 2016
New Revision: 282411
URL: http://llvm.org/viewvc/llvm-project?rev=282411&view=rev
Log:
[analyzer] Improve CastToStruct checker so it can also detect widening casts of
struct data
Example:
struct AB {
int A;
int B;
};
struct ABC {
int
Author: danielmarjamaki
Date: Fri Sep 23 07:23:44 2016
New Revision: 282242
URL: http://llvm.org/viewvc/llvm-project?rev=282242&view=rev
Log:
Minor tweak. Avoid hardcoding.
Modified:
cfe/trunk/lib/Frontend/InitPreprocessor.cpp
Modified: cfe/trunk/lib/Frontend/InitPreprocessor.cpp
URL:
http:
Author: danielmarjamaki
Date: Fri Sep 23 03:27:24 2016
New Revision: 282233
URL: http://llvm.org/viewvc/llvm-project?rev=282233&view=rev
Log:
Fix indentation
Modified:
cfe/trunk/test/Sema/constant-conversion.c
Modified: cfe/trunk/test/Sema/constant-conversion.c
URL:
http://llvm.org/viewvc/l
Author: danielmarjamaki
Date: Thu Sep 22 09:13:46 2016
New Revision: 282156
URL: http://llvm.org/viewvc/llvm-project?rev=282156&view=rev
Log:
Fix Wbitfield-constant-conversion false positives
Summary:
The diagnostic did not handle ~ well. An expression such as ~0 is often used
when 'all ones' is
Author: danielmarjamaki
Date: Mon Sep 12 07:04:13 2016
New Revision: 281206
URL: http://llvm.org/viewvc/llvm-project?rev=281206&view=rev
Log:
[clang-tidy] readability-misplaced-array-index: add new check that warns when
array index is misplaced.
Reviewers: alexfh
Differential Revision: https://
Author: danielmarjamaki
Date: Tue Aug 23 05:09:08 2016
New Revision: 279507
URL: http://llvm.org/viewvc/llvm-project?rev=279507&view=rev
Log:
[clang-tidy] readability-non-const-parameter: add new check that warns when
function parameters should be const
The check will warn when the constness wil
Author: danielmarjamaki
Date: Wed Jun 8 05:30:24 2016
New Revision: 272128
URL: http://llvm.org/viewvc/llvm-project?rev=272128&view=rev
Log:
[clang-tidy] misc-macro-parentheses - avoid adding parentheses in variable
declarations
Fixes bugzilla issues 26273 and 27399
Reviewers: alexfh
Subscri
Author: danielmarjamaki
Date: Fri Feb 12 03:38:38 2016
New Revision: 260667
URL: http://llvm.org/viewvc/llvm-project?rev=260667&view=rev
Log:
[clang-tidy] Fix failure in 'misc-misplaced-widening-cast' test.
I added portability warnings when int results are casted to long. I forgot to
handle uint
Author: danielmarjamaki
Date: Fri Feb 12 01:51:10 2016
New Revision: 260665
URL: http://llvm.org/viewvc/llvm-project?rev=260665&view=rev
Log:
[clang-tidy] improve misc-misplaced-widening-cast so it also detects
portability problems.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revis
Author: danielmarjamaki
Date: Tue Feb 9 09:43:05 2016
New Revision: 260225
URL: http://llvm.org/viewvc/llvm-project?rev=260225&view=rev
Log:
[clang-tidy] Add -target in misc-misplaced-widening-cast test so it will work
on various bots
Modified:
clang-tools-extra/trunk/test/clang-tidy/misc-m
Author: danielmarjamaki
Date: Tue Feb 9 08:08:49 2016
New Revision: 260223
URL: http://llvm.org/viewvc/llvm-project?rev=260223&view=rev
Log:
[clang-tidy] Add 'misc-misplaced-widening-cast' check.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D16310
Author: danielmarjamaki
Date: Wed Jan 27 01:33:50 2016
New Revision: 258911
URL: http://llvm.org/viewvc/llvm-project?rev=258911&view=rev
Log:
Fix array index out of bounds
Differential Revision: http://reviews.llvm.org/D16582
Modified:
cfe/trunk/lib/Driver/MSVCToolChain.cpp
Modified: cfe/tr
Author: danielmarjamaki
Date: Mon Jan 25 03:29:38 2016
New Revision: 258673
URL: http://llvm.org/viewvc/llvm-project?rev=258673&view=rev
Log:
[Sema] Improve constness
Modified:
cfe/trunk/lib/Sema/SemaChecking.cpp
Modified: cfe/trunk/lib/Sema/SemaChecking.cpp
URL:
http://llvm.org/viewvc/llvm
Author: danielmarjamaki
Date: Wed Nov 25 05:30:00 2015
New Revision: 254066
URL: http://llvm.org/viewvc/llvm-project?rev=254066&view=rev
Log:
[clang-tidy] code cleanup using isAssignmentOp()
Modified:
clang-tools-extra/trunk/clang-tidy/misc/AssertSideEffectCheck.cpp
Modified: clang-tools-ext
Author: danielmarjamaki
Date: Tue Nov 10 08:32:25 2015
New Revision: 252608
URL: http://llvm.org/viewvc/llvm-project?rev=252608&view=rev
Log:
[clang-tidy] misc-macro-parentheses: fix fp when using object member pointers
Fixes http://llvm.org/PR25208.
Modified:
clang-tools-extra/trunk/clang-
Author: danielmarjamaki
Date: Mon Aug 10 02:18:29 2015
New Revision: 244435
URL: http://llvm.org/viewvc/llvm-project?rev=244435&view=rev
Log:
[Static Analyzer] Warn when inner and outer conditions are identical. The inner
condition is always true.
Reviewed in http://reviews.llvm.org/D10892.
Mo
40 matches
Mail list logo