| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
doesn't happen when compiling straight C code.
llvm-svn: 48287
|
|
|
|
|
|
| |
-Wrap objc runtime calls with "extern "C"" (for now).
llvm-svn: 48284
|
|
|
|
|
|
| |
meta-data).
llvm-svn: 48271
|
|
|
|
|
|
| |
typedefs/structures). The previous version of the rewriter generated both a type def and structure def for each class (which doesn't fly in C++).
llvm-svn: 48266
|
|
|
|
|
|
| |
commit).
llvm-svn: 48235
|
|
|
|
| |
llvm-svn: 48230
|
|
|
|
|
|
| |
"flexible array member" idiom and perform some extra casts).
llvm-svn: 48202
|
|
|
|
| |
llvm-svn: 48191
|
|
|
|
|
|
| |
name.
llvm-svn: 48190
|
|
|
|
| |
llvm-svn: 48172
|
|
|
|
| |
llvm-svn: 48153
|
|
|
|
| |
llvm-svn: 48089
|
|
|
|
| |
llvm-svn: 48066
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that are not related to error nodes.
Fixed bug where we did not detect some NULL dereferences.
Added "ExplodedGraph::Trim" to trim all nodes that cannot transitively reach
a set of provided nodes.
Fixed subtle bug in ExplodedNodeImpl where we could create predecessor
iterators that included the mangled "sink" bit. The better fix is to integrate
this bit into the void* for the wrapped State, not the NodeGroups representing
a node's predecessors and successors.
llvm-svn: 48036
|
|
|
|
|
|
| |
implemented).
llvm-svn: 47982
|
|
|
|
| |
llvm-svn: 47954
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
theoretically useful, but not useful in practice. It adds a bunch of
complexity, and not much value. It's best to nuke it. One big advantage
is that it means the target interfaces will soon lose their SLoc arguments
and target queries can never emit diagnostics anymore (yay). Removing this
also simplifies some of the core preprocessor which should make it slightly
faster.
Ted, I didn't simplify TripleProcessor, which can now have at most one
triple, and can probably just be removed. Please poke at it when you have
time.
llvm-svn: 47930
|
|
|
|
| |
llvm-svn: 47839
|
|
|
|
|
|
|
|
|
| |
the system headers dir. This produces an annoying warning:
clang.cpp:883: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object
I'm not sure how to remove it. :(
llvm-svn: 47836
|
|
|
|
|
|
|
| |
OBJC_INCLUDE_PATH, and OBJCPLUS_INCLUDE_PATH environment variables.
Patch by Sam Bishop!
llvm-svn: 47785
|
|
|
|
| |
llvm-svn: 47646
|
|
|
|
| |
llvm-svn: 47560
|
|
|
|
| |
llvm-svn: 47543
|
|
|
|
|
|
| |
--analyze-function option to analyze specific functions.
llvm-svn: 47498
|
|
|
|
|
|
| |
--analyze-function option to dump/view the CFGs of specific functions.
llvm-svn: 47497
|
|
|
|
|
|
| |
appear in a file.
llvm-svn: 47491
|
|
|
|
| |
llvm-svn: 47303
|
|
|
|
|
|
|
|
|
| |
an analyzed function.
GRExprEngine now records stores to "uninitialized lvalues" (which are sinks in
the ExplodedGraph).
llvm-svn: 47293
|
|
|
|
|
|
|
|
|
|
|
|
| |
function. Will
probably make this a separate command line option later.
Added "--analyze-function" option to the driver to (gradually) allow different
analyses to only be run on specific functions. Currently only --grsimple uses
this option.
llvm-svn: 47285
|
|
|
|
|
|
| |
but the fixes are reasonable.
llvm-svn: 47224
|
|
|
|
| |
llvm-svn: 47186
|
|
|
|
|
|
|
|
| |
--grsimple except that it visualizes the ExplodedGraph using dot and
outputs the current function being analyzed. --grsimple is now silent
except when it emits diagnostics.
llvm-svn: 47146
|
|
|
|
|
|
| |
Moved driver logic for --grsimple to GRSimpleVals.cpp.
llvm-svn: 47137
|
|
|
|
|
|
| |
Parser::ParseStructDeclaration() to the driver.
llvm-svn: 46974
|
|
|
|
| |
llvm-svn: 46972
|
|
|
|
|
|
|
|
| |
of ObjC class warning is incomplete
As part of this fix, I made a low-level change to the text diagnostics machinery (to basically avoid printing duplicate source lines/carets when you have multiple diagnostics that refer to the same exact place). For now, this only happens with we don't have a source range (could be extended to support source ranges as well).
llvm-svn: 46897
|
|
|
|
| |
llvm-svn: 46868
|
|
|
|
| |
llvm-svn: 46867
|
|
|
|
| |
llvm-svn: 46855
|
|
|
|
|
|
| |
Modified the driver to pass the Diagnostic object to GRConstants.
llvm-svn: 46847
|
|
|
|
|
|
| |
constructs used in "windows.h".
llvm-svn: 46838
|
|
|
|
| |
llvm-svn: 46830
|
|
|
|
|
|
|
| |
eliminating a bunch of forwarding methods and generally
simplifying things.
llvm-svn: 46792
|
|
|
|
|
|
|
|
|
| |
level code in clang. This is a cleanup, but does implement "-o" for
-emit-llvm. One effect of this is that "clang foo.c -emit-llvm" will now
emit into foo.ll instead of stdout. Use "clang foo.c -emit-llvm -o -" or
"clang < foo.c -emit-llvm" to get the old behavior.
llvm-svn: 46791
|
|
|
|
| |
llvm-svn: 46786
|
|
|
|
|
|
| |
simplify the code and generally make it more robust.
llvm-svn: 46745
|
|
|
|
|
|
|
|
| |
they are
*mapped* onto errors.
llvm-svn: 46686
|
|
|
|
| |
llvm-svn: 46649
|
|
|
|
|
|
| |
quickly:-).
llvm-svn: 46648
|
|
|
|
|
|
|
| |
- Support @catch(...), rather than crash:-)
- Make sure all catch bodies get rewritten. This "fix" is really a workaround until the iterator for the "try" AST is fixed. Will fix this in a separate commit.
llvm-svn: 46644
|