| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
Also, inline InitializeLanguageStandard into InitializeLangOptions; this code
needs to be refactored but the current division doesn't make any sense.
llvm-svn: 86816
|
| |
|
|
| |
llvm-svn: 86815
|
| |
|
|
| |
llvm-svn: 86814
|
| |
|
|
|
|
| |
determine if a pointer is casted to a struct pointer. This fixes an observed false positive when a value is casted to a union.
llvm-svn: 86813
|
| |
|
|
|
|
| |
resetting the flag indicating that the current Decl* has not yet been displayed. Also move this out of AnalysisManager, since AnalysisManager should not handle text output to the user.
llvm-svn: 86812
|
| |
|
|
| |
llvm-svn: 86811
|
| |
|
|
| |
llvm-svn: 86810
|
| |
|
|
|
|
| |
BadCallChecker, making their implementations completely private.
llvm-svn: 86809
|
| |
|
|
|
|
| |
PCH/-E and PCH/not--E cases.
llvm-svn: 86808
|
| |
|
|
|
|
| |
by default).
llvm-svn: 86807
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the front-end (as far as the preprocessor goes), follow the usual logic of
inserting the (original include path) name into the predefines buffer. This
pushes the responsibility for handling this to PCH instead of the front-end. In
PCH this requires being a little more clever when we diff the predefines
buffers.
Neither of these solutions are particularly great, I think what we eventually
should do is something like gcc where we insert a special marker to indicate the
PCH file, but then run the preprocessor as usual. This would be clearer and
would allow us to drop the overly clever predefines handling.
llvm-svn: 86806
|
| |
|
|
| |
llvm-svn: 86805
|
| |
|
|
| |
llvm-svn: 86804
|
| |
|
|
| |
llvm-svn: 86803
|
| |
|
|
| |
llvm-svn: 86802
|
| |
|
|
| |
llvm-svn: 86801
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- FileCheck is a *huuuuge* improvement here.
- Still feels like we could use a better tool for this though, either teach
llvm-dis to spit out the FileCheck syntax, or provide another tool to turn a
.ll into a "matchable" input.
- Also on my Christmas list is better FileCheck diagnostics with missing
variables or mismatches.
llvm-svn: 86800
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
tons of std::string trashing. I plan to move this and other fun string munging
utilities to a StringRefExtras.h at some point if no one beats me to it.
On a synthetic benchmark on x86_64, llvm-gcc actually generates code thats 10%
faster using the StringRef version. gcc miscompiles the synthetic benchmark,
which I'm crossing my fingers and hoping won't happen here. clang compiles the
sythetic benchmark correctly (wootness), but the StringRef version is
slower. Silly clang.
llvm-svn: 86799
|
| |
|
|
|
|
|
|
|
|
| |
the old builder API. This percolated a bunch of changes up to the
Checker class (where CheckLocation has been renamed VisitLocation) and
GRExprEngine. ProgramPoint now has the notion of a "LocationCheck"
point (with PreLoad and PreStore respectively), and a bunch of the old
ProgramPoints that are no longer used have been removed.
llvm-svn: 86798
|
| |
|
|
|
|
| |
Approved by Evan Cheng.
llvm-svn: 86797
|
| |
|
|
|
|
| |
anonymous members. Partial fix for PR 5390.
llvm-svn: 86796
|
| |
|
|
| |
llvm-svn: 86795
|
| |
|
|
| |
llvm-svn: 86794
|
| |
|
|
|
|
| |
interface. WIP.
llvm-svn: 86793
|
| |
|
|
| |
llvm-svn: 86792
|
| |
|
|
|
|
|
|
|
|
|
| |
can only branch forward. To best take advantage of them, we'd like to adjust
the basic blocks around a bit when reasonable. This patch puts basics in place
to do that, with a super-simple algorithm for backwards jump table targets that
creates a new branch after the jump table which branches backwards. Real
heuristics for reordering blocks or other modifications rather than inserting
branches will follow.
llvm-svn: 86791
|
| |
|
|
|
|
|
| |
if (self = [super init])
Recognize it and only warn if -Wparentheses is explicitly enabled.
llvm-svn: 86790
|
| |
|
|
|
|
|
|
| |
start using them in a trivial way when -enable-jump-threading-lvi
is passed. enable-jump-threading-lvi will be my playground for
awhile.
llvm-svn: 86789
|
| |
|
|
| |
llvm-svn: 86786
|
| |
|
|
| |
llvm-svn: 86785
|
| |
|
|
| |
llvm-svn: 86784
|
| |
|
|
|
|
| |
function it's generated for.
llvm-svn: 86779
|
| |
|
|
|
|
| |
objects.
llvm-svn: 86778
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameters. Rather than storing them as either declarations (for the
non-dependent case) or expressions (for the dependent case), we now
(always) store them as TemplateNames.
The primary change here is to add a new kind of TemplateArgument,
which stores a TemplateName. However, making that change ripples to
every switch on a TemplateArgument's kind, also affecting
TemplateArgumentLocInfo/TemplateArgumentLoc, default template
arguments for template template parameters, type-checking of template
template arguments, etc.
This change is light on testing. It should fix several pre-existing
problems with template template parameters, such as:
- the inability to use dependent template names as template template
arguments
- template template parameter default arguments cannot be
instantiation
However, there are enough pieces missing that more implementation is
required before we can adequately test template template parameters.
llvm-svn: 86777
|
| |
|
|
| |
llvm-svn: 86776
|
| |
|
|
| |
llvm-svn: 86775
|
| |
|
|
| |
llvm-svn: 86774
|
| |
|
|
|
|
| |
more readable alternative to getTriple().
llvm-svn: 86773
|
| |
|
|
| |
llvm-svn: 86772
|
| |
|
|
| |
llvm-svn: 86771
|
| |
|
|
|
|
| |
Also, add unittests for find_first_of and find_first_not_of.
llvm-svn: 86770
|
| |
|
|
| |
llvm-svn: 86769
|
| |
|
|
|
|
| |
commit this, no harm, but add a todoo
llvm-svn: 86768
|
| |
|
|
|
|
| |
vend value constraint information to the optimizer.
llvm-svn: 86767
|
| |
|
|
| |
llvm-svn: 86766
|
| |
|
|
|
|
| |
Analysis/Passes.h
llvm-svn: 86765
|
| |
|
|
| |
llvm-svn: 86764
|
| |
|
|
| |
llvm-svn: 86763
|
| |
|
|
| |
llvm-svn: 86761
|
| |
|
|
| |
llvm-svn: 86760
|