hanchenye-llvm-project/clang/lib
Steve Naroff 2fc93f5c43 Two changes to Sema::LookupDecl() interface.
(1) Remove IdLoc (it's never used). 
(2) Add a bool to enable/disable lazy builtin creaation (defaults to true).

This enables us to use LookupDecl() in Sema::isTypeName(), which is also part of this commit.

To make this work, I changed isTypeName() to be a non-const member function. I'm not happy with this, however I fiddled with making LookupDecl() and friends const and it got ugly pretty quickly. We can certainly add it back if/when someone has time to fiddle with it. For now, I thought this simplification was more important than retaining the const-ness. 

llvm-svn: 49087
2008-04-02 14:35:35 +00:00
..
AST Add a citation. 2008-04-02 06:06:35 +00:00
Analysis Beginning of some cleanups; start generating path diagnostics using objects 2008-04-02 07:05:46 +00:00
Basic Update to match simplified llvm MemoryBuffer interfaces for files. 2008-04-01 18:04:30 +00:00
CodeGen some cleanups on top of David's patch. There are still two 2008-03-30 23:25:33 +00:00
Headers Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
Lex Update to match simplified llvm MemoryBuffer interfaces for files. 2008-04-01 18:04:30 +00:00
Parse Two changes to Sema::LookupDecl() interface. 2008-04-02 14:35:35 +00:00
Rewrite Better handling for tabs with message bubbles. 2008-03-31 23:14:05 +00:00
Sema Two changes to Sema::LookupDecl() interface. 2008-04-02 14:35:35 +00:00
Makefile Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00