- Mar 17, 2010
-
-
Douglas Gregor authored
ASTUnit::LoadFromCompilerInvocation() fails to create target information. llvm-svn: 98697
-
- Mar 16, 2010
-
-
Douglas Gregor authored
llvm-svn: 98655
-
Douglas Gregor authored
presence or absence of header map arguments when using the precompiled header would cause Clang to get confused about which headers had already been included/imported, along with their controlling macros. The fundamental problem is that the serialization of the header search information was relying on the UIDs of FileEntry objects at PCH generation time and PCH load time to be equivalent, which effectively means that we had to probe the same files in the same order. Differing header map arguments caused an extra FileEntry lookup, but it's easy to imagine other minor command-line arguments triggering this problem. Header-search information is now encoded along with the source-location entry for a file, so that we register information about a file's properties as a header at the same time we create the FileEntry for that file. Fixes <rdar://problem/7743243>. llvm-svn: 98636
-
Benjamin Kramer authored
llvm-svn: 98631
-
Benjamin Kramer authored
llvm-svn: 98630
-
Douglas Gregor authored
<rdar://problem/7735566>. llvm-svn: 98613
-
Douglas Gregor authored
simplifying the SourceManager interfaces somewhat. llvm-svn: 98598
-
Douglas Gregor authored
and start simplifying the interfaces in SourceManager that can fail. llvm-svn: 98594
-
- 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
-
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
-
- 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
-
-
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
-
- Mar 12, 2010
-
-
Jeffrey Yasskin authored
Tested: make CPPFLAGS=-m64 CXXFLAGS=-m64 -j8 && (cd tools/clang;make test) llvm-svn: 98399
-
John McCall authored
whether it inherited one from a previous declaration. Patch by Enea Zaffanella! llvm-svn: 98362
-
Kovarththanan Rajaratnam authored
llvm-svn: 98343
-
- Mar 11, 2010
-
-
Fariborz Jahanian authored
external linkage (static, extern, etc.) in blocks in rewriter. wip. llvm-svn: 98265
-
- Mar 10, 2010
-
-
Fariborz Jahanian authored
Fixes radar 7738452. llvm-svn: 98190
-
John McCall authored
injected class name of a class template or class template partial specialization. This is a non-canonical type; the canonical type is still a template specialization type. This becomes the TypeForDecl of the pattern declaration, which cleans up some amount of code (and complicates some other parts, but whatever). Fixes PR6326 and probably a few others, primarily by re-establishing a few invariants about TypeLoc sizes. llvm-svn: 98134
-
- Mar 08, 2010
-
-
Douglas Gregor authored
llvm-svn: 97954
-
Douglas Gregor authored
of the class name. llvm-svn: 97943
-
Douglas Gregor authored
Objective-C method declaration, e.g., for - (Foo *)myMethod; we now have TypeSourceInfo for the Foo*. llvm-svn: 97942
-
- Mar 07, 2010
-
-
Kovarththanan Rajaratnam authored
llvm-svn: 97920
-
Kovarththanan Rajaratnam authored
llvm-svn: 97916
-
Kovarththanan Rajaratnam authored
Rename to addPPCallbacks since we're effectively adding a callback and maybe chaining it to an existing one llvm-svn: 97913
-
Kovarththanan Rajaratnam authored
Don't assert if PP already contains a valid PP callback. The PP can handle multiple callbacks (using PPChainedCallbacks) llvm-svn: 97910
-
- Mar 06, 2010
-
-
Chris Lattner authored
as a "C++ Friendly" system header directory. This fixes PR6523. llvm-svn: 97885
-
Kovarththanan Rajaratnam authored
llvm-svn: 97878
-
- Mar 05, 2010
-
-
Douglas Gregor authored
The Windows build is just too weird; there's no real cost to doing the concurrency checks for ASTUnit in all builds llvm-svn: 97840
-
Douglas Gregor authored
llvm-svn: 97835
-
Douglas Gregor authored
llvm-svn: 97831
-
Kovarththanan Rajaratnam authored
llvm-svn: 97810
-
- Mar 04, 2010
-
-
Fariborz Jahanian authored
on a block API struct definition. llvm-svn: 97754
-