- Jun 23, 2009
-
-
Zhongxing Xu authored
llvm-svn: 73940
-
Zhongxing Xu authored
llvm-svn: 73939
-
Chris Lattner authored
llvm-svn: 73938
-
Anders Carlsson authored
llvm-svn: 73937
-
Chris Lattner authored
Among other things, this makes the warning about unknown warning options mappable. For example: $ clang t.c -Werror -Wfoo error: unknown warning option '-Wfoo' [-Wunknown-warning-option] For another thing, they are properly color coded now too :) llvm-svn: 73936
-
Ted Kremenek authored
- Embed a reference to MemRegionManager objects in MemSpaceRegion objects - Use this embedded reference for MemRegion objects to access ASTContext objects without external help - Use this access to ASTContext to simplify 'isBoundable' (no ASTContext& argument required) llvm-svn: 73935
-
Chris Lattner authored
llvm-svn: 73934
-
Argyrios Kyrtzidis authored
llvm-svn: 73933
-
Argyrios Kyrtzidis authored
llvm-svn: 73932
-
Argyrios Kyrtzidis authored
llvm-svn: 73931
-
Argyrios Kyrtzidis authored
llvm-svn: 73930
-
Ted Kremenek authored
llvm-svn: 73927
-
Ted Kremenek authored
the new trait-based construction of MemRegion objects. llvm-svn: 73926
-
Douglas Gregor authored
llvm-svn: 73924
-
Fariborz Jahanian authored
llvm-svn: 73922
-
Ted Kremenek authored
new generalized region-construction code. llvm-svn: 73921
-
Douglas Gregor authored
llvm-svn: 73918
-
Ted Kremenek authored
member template functions and traits. The idea is to allow MemRegionManager to construct subclasses of MemRegion that aren't declared in MemRegion.h (e.g., checker-specific regions). llvm-svn: 73917
-
Douglas Gregor authored
specialization. At present, all implicit instantiations occur at the end of the translation unit. llvm-svn: 73915
-
Chris Lattner authored
deprecated decls. llvm-svn: 73914
-
- Jun 22, 2009
-
-
Douglas Gregor authored
compilation, and (hopefully) introduce RAII objects for changing the "potentially evaluated" state at all of the necessary places within Sema and Parser. Other changes: - Set the unevaluated/potentially-evaluated context appropriately during template instantiation. - We now recognize three different states while parsing or instantiating expressions: unevaluated, potentially evaluated, and potentially potentially evaluated (for C++'s typeid). - When we're in a potentially potentially-evaluated context, queue up MarkDeclarationReferenced calls in a stack. For C++ typeid expressions that are potentially evaluated, we will play back these MarkDeclarationReferenced calls when we exit the corresponding potentially potentially-evaluated context. - Non-type template arguments are now parsed as constant expressions, so they are not potentially-evaluated. llvm-svn: 73899
-
Fariborz Jahanian authored
llvm-svn: 73897
-
Fariborz Jahanian authored
instead. Do the implicit default ctor checking in MarkDeclarationReferenced. llvm-svn: 73888
-
Argyrios Kyrtzidis authored
-Added comment for FunctionDecl::EndRangeLoc -Removed a redundant check from FunctionDecl::setBody llvm-svn: 73886
-
Fariborz Jahanian authored
llvm-svn: 73885
-
Zhongxing Xu authored
llvm-svn: 73880
-
- Jun 21, 2009
-
-
Fariborz Jahanian authored
building obj-c++ clients. "Protocol" is a class name in Cocoa.h llvm-svn: 73854
-
Zhongxing Xu authored
llvm-svn: 73851
-
- Jun 20, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 73833
-
Argyrios Kyrtzidis authored
llvm-svn: 73826
-
Argyrios Kyrtzidis authored
llvm-svn: 73825
-
Argyrios Kyrtzidis authored
Introduce SourceManager::getLocation() to get a source location out of a "file:line:column" triplet. llvm-svn: 73823
-
Argyrios Kyrtzidis authored
llvm-svn: 73822
-
Argyrios Kyrtzidis authored
Introduce Decl::getSourceRange() which, like Stmt::getSourceRange(), represents the range that the declaration covers. Add initial support for NamespaceDecl, VarDecl, and FunctionDecl: -NamespaceDecl range is from name to '}' -VarDecl is from name to possible init expression -FunctionDecl is from name to last parameter name or to end of its function body. llvm-svn: 73821
-
Argyrios Kyrtzidis authored
llvm-svn: 73820
-
Argyrios Kyrtzidis authored
ASTUnit is a helper class to allow easy loading of an ASTContext from a PCH file. No users for now. llvm-svn: 73819
-
Douglas Gregor authored
llvm-svn: 73812
-
Douglas Gregor authored
llvm-svn: 73804
-
Fariborz Jahanian authored
BlockDeclRefExpr to PCH. llvm-svn: 73800
-
Douglas Gregor authored
C++. This logic is required to trigger implicit instantiation of function templates and member functions of class templates, which will be implemented separately. This commit includes support for -Wunused-parameter, printing warnings for named parameters that are not used within a function/Objective-C method/block. Fixes <rdar://problem/6505209>. llvm-svn: 73797
-