Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f0dd853bb1e8f3e59b169e6d34a8556c6003c47c
/
test
/
SemaCXX
/
array-bounds.cpp
a9990e8
Have Sema::ActOnStartOfFunctionDef return the declaration that was passed it.
by Argyrios Kyrtzidis
· 12 years ago
92b670e
Fix a couple bugs in the way we handle array indexes in array bounds checking. Specifically, make sure we don't ignore explicit casts in indexes, and make sure we use unsigned extension/comparisons on indexes. Fixes <rdar://problem/10916006>.
by Eli Friedman
· 13 years ago
23661d3
Revert various template unreachability code I committed accidentally.
by David Blaikie
· 13 years ago
36b7c63
Simple hack to do unreachable code analysis on template patterns.
by David Blaikie
· 13 years ago
381711c
Suppress -Warray-bounds for classes (not just structs) where the last field is
by Matt Beaumont-Gay
· 13 years ago
cfbc5b5
Merge branch 'yo-dawg-i-herd-u-like-arrays'
by Matt Beaumont-Gay
· 13 years ago
a5aa96d
Wordsmith the -Warray-bounds diagnostic text a bit
by Matt Beaumont-Gay
· 13 years ago
615eb7c
Fix regression of -Warray-bounds involving varargs functions [PR 11007].
by Ted Kremenek
· 13 years ago
de5998f
Let -Warray-bounds handle casted array types without false positives.
by Nico Weber
· 13 years ago
d6c8865
Perform array bounds checking in more situations and properly handle special
by Kaelyn Uhrain
· 13 years ago
c268434
Flesh out the -Warray-bounds detection of C89 tail-padded one-element
by Chandler Carruth
· 13 years ago
9e6a1ca
disable array bounds overflow warning for cases where an array
by Chris Lattner
· 13 years ago
2760455
Revert r136046 while fixing handling of e.g. &foo[index_one_past_size]
by Kaelyn Uhrain
· 13 years ago
b48f7c0
Expand array bounds checking to work in the presence of unary & and *,
by Kaelyn Uhrain
· 13 years ago
432c478
Teach CFGBuilder that the 'default' branch of a switch statement is dead if all enum values in a switch conditioned are handled.
by Ted Kremenek
· 14 years ago
0498247
Correctly handle nested switch statements in CFGBuilder when on switch statement has a condition that evaluates to a constant.
by Ted Kremenek
· 14 years ago
e71f3d5
Teach CFGBuilder to prune trivially unreachable case statements.
by Ted Kremenek
· 14 years ago
3aea4da
For C++, enhance -Warray-bounds to recursively analyze array subscript accesses in ?: expressions.
by Ted Kremenek
· 14 years ago
9e060ca
Fix bogus -Warray-bounds warning involving 'array[true]' reported in PR 9296.
by Ted Kremenek
· 14 years ago
3bcc2be
Add test case for PR 9284, a false positive for -Warray-bounds that is now addressed using basic reachability analysis.
by Ted Kremenek
· 14 years ago
351ba91
Enhance Sema::DiagRuntimeBehavior() to delay some diagnostics to see if the related code is reachable. This suppresses some
by Ted Kremenek
· 14 years ago
25b3b84
Fix assertion failure on -Warray-bounds for 32-bit builds of Clang.
by Ted Kremenek
· 14 years ago
a85f528
Add -Warray-bounds test showing how the warning currently interoperates with macros.
by Ted Kremenek
· 14 years ago
35001ca
Enhance the array bounds checking to work for several other constructs,
by Chandler Carruth
· 14 years ago
c71a2c0
Fix assertion failure in -Warray-bounds on template parameters used as arrays.
by Ted Kremenek
· 14 years ago
[Renamed (84%) from test/Sema/array-bounds.c]
bac7737
Placate Doug and change capitalization of diagnostic note.
by Ted Kremenek
· 14 years ago
8fd0a5d
Tweak -Warray-bounds diagnostics based on feedback from Chandler.
by Ted Kremenek
· 14 years ago
a0125d8
Add trivial buffer overflow checking in Sema.
by Ted Kremenek
· 14 years ago