- Mar 16, 2010
-
-
Douglas Gregor authored
and start simplifying the interfaces in SourceManager that can fail. llvm-svn: 98594
-
Douglas Gregor authored
llvm-svn: 98591
-
Eric Christopher authored
llvm-svn: 98587
-
- Mar 15, 2010
-
-
Douglas Gregor authored
SourceManager's getBuffer() (and similar) operations. This abstract can be used to force callers to cope with errors in getBuffer(), such as missing files and changed files. Fix a bunch of callers to use the new interface. Add some very basic checks for file consistency (file size, modification time) into ContentCache::getBuffer(), although these checks don't help much until we've updated the main callers (e.g., SourceManager::getSpelling()). llvm-svn: 98585
-
Ted Kremenek authored
Also change this method to lookup property declarations using DeclContext::lookup(). llvm-svn: 98574
-
Ted Kremenek authored
property decls using DeclContext::lookup(). llvm-svn: 98571
-
Ted Kremenek authored
llvm-svn: 98570
-
Ted Kremenek authored
a property has the same name as the ivar it wraps then the old logic wouldn't find the previous property declaration. llvm-svn: 98559
-
Fariborz Jahanian authored
considering valid objc pointer converions. llvm-svn: 98557
-
Douglas Gregor authored
comparing DeclContext pointers, to avoid having to remember to call getPrimaryContext() everywhere. This is the last part PR6594. llvm-svn: 98546
-
Douglas Gregor authored
parameter hides a namespace-scope declararion with the same name in an out-of-line definition of a template. The lookup requires a strange interleaving of lexical and semantic scopes (go C++), which I have not yet handled in the typo correction/code completion path. Fixes PR6594. llvm-svn: 98544
-
John McCall authored
llvm-svn: 98541
-
John McCall authored
on unqualified declarations. Patch by Enea Zaffanella! Minimal adjustments: allocate the ExtInfo nodes with the ASTContext and delete them during Destroy(). I audited a bunch of Destroy methods at the same time, to ensure that the correct teardown was being done. llvm-svn: 98540
-
John McCall authored
llvm-svn: 98539
-
- Mar 14, 2010
-
-
Kovarththanan Rajaratnam authored
llvm-svn: 98488
-
Kovarththanan Rajaratnam authored
llvm-svn: 98480
-
Kovarththanan Rajaratnam authored
llvm-svn: 98478
-
Kovarththanan Rajaratnam authored
llvm-svn: 98473
-
Kovarththanan Rajaratnam authored
llvm-svn: 98472
-
Kovarththanan Rajaratnam authored
llvm-svn: 98469
-
- Mar 13, 2010
-
-
David Chisnall authored
Fixed copy-and-paste error causing categories to contain the protocols declared on the class, not the protocols declared on the category. llvm-svn: 98455
-
Douglas Gregor authored
iterations of this patch gave explicit template instantiation link-once ODR linkage, which permitted the back end to eliminate unused symbols. Weak ODR linkage still requires the symbols to be generated. llvm-svn: 98441
-
Rafael Espindola authored
destructors. llvm-svn: 98440
-
Benjamin Kramer authored
llvm-svn: 98438
-
Benjamin Kramer authored
llvm-svn: 98437
-
Kovarththanan Rajaratnam authored
llvm-svn: 98436
-
Kovarththanan Rajaratnam authored
No need to call setIdentifierInfo() after LookUpIdentifierInfo() which LookUpIdentifierInfo() will automatically do llvm-svn: 98435
-
Douglas Gregor authored
llvm-svn: 98425
-
Douglas Gregor authored
llvm-svn: 98424
-
John McCall authored
Fixes an assertion arising C overload analysis, but really I can't imagine that this wouldn't cause a thousand other uncaught failures. Fixes PR6600. llvm-svn: 98400
-
- Mar 12, 2010
-
-
Jeffrey Yasskin authored
Tested: make CPPFLAGS=-m64 CXXFLAGS=-m64 -j8 && (cd tools/clang;make test) llvm-svn: 98399
-
Ted Kremenek authored
llvm-svn: 98397
-
Fariborz Jahanian authored
when initialized variable is a byref block variable and is referenced recursively in the initializer (you guessed it, it is block implementation of fibonacci number). Fix, on the other hand is trvial, by generating the API for byref variable before API for its initializer. We will have this test added to our internal test suite as a clang-style test is not possible due to very convoluted IR sequence. Fixes radar 7745514. llvm-svn: 98393
-
Devang Patel authored
llvm-svn: 98385
-
John McCall authored
llvm-svn: 98375
-
John McCall authored
whether it inherited one from a previous declaration. Patch by Enea Zaffanella! llvm-svn: 98362
-
Kovarththanan Rajaratnam authored
Thanks to Ben for pointing this out. llvm-svn: 98345
-
Kovarththanan Rajaratnam authored
llvm-svn: 98344
-
Kovarththanan Rajaratnam authored
llvm-svn: 98343
-
Nuno Lopes authored
llvm-svn: 98342
-