- May 01, 2012
-
-
Craig Topper authored
llvm-svn: 155900
-
Craig Topper authored
llvm-svn: 155899
-
Eli Bendersky authored
- There's no point having a different type for the local and global symbol tables. - Renamed SymbolTable to GlobalSymbolTable to clarify the intention - Improved const correctness where relevant llvm-svn: 155898
-
Craig Topper authored
llvm-svn: 155897
-
Craig Topper authored
llvm-svn: 155896
-
Eli Bendersky authored
Added an example of MCJIT-based debugging. llvm-svn: 155895
-
John McCall authored
and only consider using __cxa_atexit in the Itanium logic. The default logic is to use atexit(). Emit "guarded" initializers in Microsoft mode unconditionally. This is definitely not correct, but it's closer to correct than just not emitting the initializer. Based on a patch by Timur Iskhodzhanov! llvm-svn: 155894
-
David Blaikie authored
I broke this in r155838 by not actually instantiating non-dependent default arg expressions. The motivation for that change was to avoid producing duplicate conversion warnings for such default args (we produce them once when we parse the template - there's no need to produce them at each instantiation) but without actually instantiating the default arg, things break in weird ways. Technically, I think we could still get the right diagnostic experience without the bugs if we instantiated the non-dependent args (for non-dependent params only) immediately, rather than lazily. But I'm not sure if such a refactoring/ change would be desirable so here's the conservative fix for now. llvm-svn: 155893
-
Ted Kremenek authored
Place several uncovered warnings under warning flags, and tweak diagnostic output including the term "gc" (in lowercase). llvm-svn: 155892
-
Craig Topper authored
llvm-svn: 155891
-
Craig Topper authored
Remove HasSSE2 from AES and CLMUL predicates. It's now implied by the HasAES and HasCLMUL predicates. llvm-svn: 155890
-
John McCall authored
llvm-svn: 155889
-
Craig Topper authored
llvm-svn: 155888
-
Ted Kremenek authored
Teach RetainCountchecker about IORegistryEntrySearchCFProperty returning retained objects. I know there is an SDK enhancement request for this to have the cf_returns_retained annotation, so this is just a stop gap. llvm-svn: 155887
-
John McCall authored
what I'm going to treat as basically universal properties of array-cookie code. Implement MS array cookies on top of that. Based on a patch by Timur Iskhodzhanov! llvm-svn: 155886
-
Craig Topper authored
llvm-svn: 155885
-
Nick Lewycky authored
has no exit blocks. Fixes PR12706! llvm-svn: 155884
-
David Blaikie authored
Review by Doug Gregor. llvm-svn: 155880
-
John McCall authored
type-source information for its parameters. Don't crash when mangling them in the MS C++ ABI. Patch by Timur Iskhodzhanov! llvm-svn: 155879
-
Douglas Gregor authored
llvm-svn: 155878
-
Douglas Gregor authored
llvm-svn: 155877
-
Douglas Gregor authored
diagnostic, from Eitan Adler! llvm-svn: 155876
-
Douglas Gregor authored
llvm-svn: 155875
-
Douglas Gregor authored
llvm-svn: 155874
-
Jim Ingham authored
Use a cache of the results of "GetFileAddress" from a symbol in the Comparator we are using to sort the various lookup indices by symbol address. When we switched to weak pointers, this lookup got slightly slower. Not enough to matter for most uses, but in the sort algorithm it does matter. llvm-svn: 155873
-
Douglas Gregor authored
Dmitri Gribenko! llvm-svn: 155872
-
Kaelyn Uhrain authored
llvm-svn: 155871
-
Kaelyn Uhrain authored
llvm-svn: 155870
-
David Blaikie authored
Similar to r155808 - this mistake has been made in a few iterators. Based on Chandler Carruth's feedback to r155808 I added an implicit conversion to Decl* to ease adoption/usage. Useful for the pointer comparison, but not the dyn_cast (due to template argument deduction causing the conversion not to be used) - there for future convenience, though. This idiom (op T* for iterators) seems to be fairly idiomatic within the LLVM codebase & I'll likely add it as I fix up the other iterators here. llvm-svn: 155869
-
John McCall authored
test for an invalid declaration at every single place in the constant evaluator that's about to request a struct layout. llvm-svn: 155868
-
Lang Hames authored
<rdar://problem/11291436>. This is a second attempt at a fix for this, the first was r155468. Thanks to Chandler, Bob and others for the feedback that helped me improve this. llvm-svn: 155866
-
Ted Kremenek authored
malloc size checker: Ignore const'ness of pointer types when determining of a sizeof() type is compatible with a pointed type. Fixes <rdar://problem/11292586>. llvm-svn: 155864
-
Tobias Grosser authored
Suggested by: Sebastian Pop llvm-svn: 155863
-
Michael J. Spencer authored
llvm-svn: 155861
-
Douglas Gregor authored
llvm-svn: 155860
-
Jakub Staszak authored
llvm-svn: 155859
-
Douglas Gregor authored
clang_getCursorLexicalParent should return a translation unit cursor for declarations at the global scope, from Evan P. Fixes PR9083. llvm-svn: 155858
-
Richard Smith authored
being used in an exception specification in a way which isn't otherwise ill-formed in C++98: this warning also incorrectly triggered on uses of 'this' inside thread-safety attributes, and the mechanism required to tell these cases apart is more complex than can be justified by the (minimal) value of this part of -Wc++98-compat. llvm-svn: 155857
-
Argyrios Kyrtzidis authored
of a local variable, make sure we don't infinitely recurse when the reference binds to itself. e.g: int* func() { int& i = i; // assign non-exist variable to a reference which has same name. return &i; // return pointer } rdar://11345441 llvm-svn: 155856
-
Fariborz Jahanian authored
defined inside the objc class belong to class's decl. scope. This is to conform to objective-c rules. // rdar://11351299 llvm-svn: 155855
-