| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
reinterpret_cast.
llvm-svn: 126021
|
| |
|
|
|
|
| |
back by one pointer.
llvm-svn: 126020
|
| |
|
|
|
|
|
|
|
| |
but it's not reasonable for the diagnostic to figure that out.
Pointed out by Benjamin Kramer.
Also clarify the logic here.
llvm-svn: 126017
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
without defining them. This should be an error, but I'm paranoid about
"uses" that end up not actually requiring a definition. I'll revisit later.
Also, teach IR generation to not set internal linkage on variable
declarations, just for safety's sake. Doing so produces an invalid module
if the variable is not ultimately defined.
Also, fix several places in the test suite where we were using internal
functions without definitions.
llvm-svn: 126016
|
| |
|
|
| |
llvm-svn: 126013
|
| |
|
|
|
|
|
|
|
|
|
|
| |
control of Store objects.
This yields a minor memory reduction (for larger functions) on Sqlite at the cost of slightly
higher memory usage on some functions because of the increased size of GRState (which can be optimized).
I expect the real memory savings from this enhancement will come when we aggressively
canabilize more of the ExplodedGraph.
llvm-svn: 126012
|
| |
|
|
| |
llvm-svn: 126007
|
| |
|
|
|
|
| |
investigated.
llvm-svn: 126006
|
| |
|
|
|
|
|
|
|
| |
diagnostics, resolving PR9227.
Patch originally by Mihai Rusu and Stephen Hines with some minimal style
tweaks from me.
llvm-svn: 125999
|
| |
|
|
|
|
|
|
| |
diagnostics.
Patch by Stephen Hines.
llvm-svn: 125998
|
| |
|
|
|
|
| |
messages.
llvm-svn: 125997
|
| |
|
|
|
|
|
|
| |
abstract class type.
Patch by Stephen Hines, with a wording tweak from Doug applied by me.
llvm-svn: 125996
|
| |
|
|
|
|
|
|
| |
a non-pointer on the two sides of a conditional expression.
Patch by Stephen Hines and Mihai Rusu.
llvm-svn: 125995
|
| |
|
|
|
|
| |
thing the visit does is dyn_cast<>, which leads to a nasty segfault.
llvm-svn: 125993
|
| |
|
|
|
|
|
| |
enumeration type, prioritize the enumeration constants and don't
provide completions for any other expressions. Fixes <rdar://problem/7283668>.
llvm-svn: 125991
|
| |
|
|
| |
llvm-svn: 125990
|
| |
|
|
|
|
| |
LLVM_INCLUDE_TESTS:=OFF, which may no longer be necessary for all I know.
llvm-svn: 125985
|
| |
|
|
| |
llvm-svn: 125983
|
| |
|
|
| |
llvm-svn: 125982
|
| |
|
|
|
|
| |
turn off all builtin optimizations.
llvm-svn: 125979
|
| |
|
|
|
|
|
|
|
|
|
|
| |
that was ignored in a few places (most notably, code
completion). Introduce Selector::getNameForSlot() for the common case
where we only care about the name. Audit all uses of
getIdentifierInfoForSlot(), switching many over to getNameForSlot(),
fixing a few crashers.
Fixed <rdar://problem/8939352>, a code-completion crasher.
llvm-svn: 125977
|
| |
|
|
|
|
|
|
|
|
|
| |
Without this I get:
--
-- Generating done
CMake Error: Unknown Target referenced : check.deps
CMake Error: Target: check-all depends on unknown target: check.deps
--
llvm-svn: 125976
|
| |
|
|
|
|
|
| |
target triple. This would be a decent place to add -fno-builtin
info for example.
llvm-svn: 125971
|
| |
|
|
| |
llvm-svn: 125963
|
| |
|
|
| |
llvm-svn: 125962
|
| |
|
|
| |
llvm-svn: 125958
|
| |
|
|
|
|
|
|
| |
depending on language.
No functionality change.
llvm-svn: 125957
|
| |
|
|
|
|
| |
scalar types. // rdar://7761305
llvm-svn: 125946
|
| |
|
|
|
|
| |
patch by Amit Kulkarni!
llvm-svn: 125944
|
| |
|
|
|
|
| |
TCE target has some too strict alignment rules (that the HW really does not require, but which caused problems elsewhere) for data types and an ABI change was decided.
llvm-svn: 125833
|
| |
|
|
| |
llvm-svn: 125826
|
| |
|
|
|
|
|
|
|
|
| |
a scoped enumeration type to an integral or floating type,
properly. There was an over-eager assertion, and it was missing the
floating-point case.
Fixes PR9107/<rdar://problem/8937402>.
llvm-svn: 125825
|
| |
|
|
|
|
|
|
|
|
|
|
| |
_Block_object_* flags; it's just BLOCK_HAS_COPY_DISPOSE or not.
Also, we don't need to chase forwarding pointers prior to calling
_Block_object_dispose; _Block_object_dispose in fact already does
this.
rdar://problem/9006315
llvm-svn: 125823
|
| |
|
|
|
|
|
|
|
| |
or union, place the qualifier on the outermost member reference
expression, which actually contains the entity name.
Fixes PR9188/<rdar://problem/8990184>.
llvm-svn: 125822
|
| |
|
|
| |
llvm-svn: 125821
|
| |
|
|
|
|
|
|
|
| |
This removes the final dependency edge from any lib outside of CodeGen
to core. As a result we can, and do, trim the dependency on core
from libclang, PrintFunctionNames, the unit tests and c-index-test.
While at it, review and trim other unneeded dependencies.
llvm-svn: 125820
|
| |
|
|
| |
llvm-svn: 125819
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
enumeration type, we were generating an integer literal implicitly
casted to the appropriate enumeration type. However, later checks on
that expression would strip the implicit cast.
This commit tweaks the lame hack, by creating an explicit cast instead
of an implicit cast. The right answer is to introduce a
SubstNonTypeTemplateParmExpr expression that acts like the substituted
result. I'll investigate that soon.
llvm-svn: 125818
|
| |
|
|
|
|
|
|
|
| |
bugs from other clients that don't expect to see a LabelDecl in a DeclStmt,
but if so they should be easy to fix.
This implements most of PR3429 and rdar://8287027
llvm-svn: 125817
|
| |
|
|
| |
llvm-svn: 125816
|
| |
|
|
| |
llvm-svn: 125814
|
| |
|
|
|
|
|
| |
own weird little DenseMap. Hey look, we now emit unused label
warnings deterministically, amazing.
llvm-svn: 125813
|
| |
|
|
|
|
|
| |
std::make_pair is unreliable under MSVC 2010.
Ref: http://stackoverflow.com/questions/2691680/why-does-visual-studio-2010-throw-this-error-with-boost-1-42-0
llvm-svn: 125811
|
| |
|
|
| |
llvm-svn: 125810
|
| |
|
|
| |
llvm-svn: 125806
|
| |
|
|
| |
llvm-svn: 125799
|
| |
|
|
|
|
| |
by Heikki Kultala!
llvm-svn: 125784
|
| |
|
|
| |
llvm-svn: 125783
|
| |
|
|
|
|
| |
macros.
llvm-svn: 125781
|
| |
|
|
|
|
|
|
|
|
| |
The relative checker package is 'debug':
'-dump-live-variables' is replaced by '-analyzer-checker=debug.DumpLiveVars'
'-cfg-view' is replaced by '-analyzer-checker=debug.ViewCFG'
'-cfg-dump' is replaced by '-analyzer-checker=debug.DumpCFG'
llvm-svn: 125780
|