- Jun 20, 2009
-
-
Argyrios Kyrtzidis authored
llvm-svn: 73825
-
Argyrios Kyrtzidis authored
llvm-svn: 73822
-
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
-
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
-
- Jun 19, 2009
-
-
Argyrios Kyrtzidis authored
llvm-svn: 73762
-
Argyrios Kyrtzidis authored
Make changes to PCHReader to allow reading a PCH file without having a pre-initialized Preprocessor. -Introduce 'PCHReaderListener' which is an abstract interface for getting various information from the PCHReader. -If PCHReader is constructed without a Preprocessor, it can still load the file and invoke the callbacks of PCHReaderListener. -If PCHReader is constructed with an initialized Preprocessor, PCHValidator is used as a PCHReaderListener to validate the contents of the PCH file against the given Preprocessor. llvm-svn: 73741
-
- Jun 18, 2009
-
-
-
Douglas Gregor authored
llvm-svn: 73700
-
Argyrios Kyrtzidis authored
llvm-svn: 73651
-
rdar://problem/6613046Steve Naroff authored
Add a type (ObjCObjectPointerType) and remove a type (ObjCQualifiedIdType). This large/tedious patch is just a first step. Next step is to remove ObjCQualifiedInterfaceType. After that, I will remove the magic TypedefType for 'id' (installed by Sema). This work will enable various simplifications throughout clang (when dealing with ObjC types). No functionality change. llvm-svn: 73649
-
- Jun 17, 2009
-
-
Douglas Gregor authored
llvm-svn: 73637
-
- Jun 15, 2009
-
-
Douglas Gregor authored
llvm-svn: 73402
-
Eli Friedman authored
unnecessary, this was causing issues for assembler-with-cpp mode, which doesn't process the directive. llvm-svn: 73382
-
Chris Lattner authored
ranges more similar to the console output. Consider: #define FOO(X, Y) X/ Y void foo(int *P, int *Q) { FOO(P, Q); } Before we emitted: t.c:4:3:{4:3-4:6}{4:3-4:6}: error: invalid operands to binary expression ('int *' and 'int *') FOO(P, Q); ^~~~~~~~~ ... Note that while we underline the macro args that the range info just includes FOO without its macros. This change teaches the printed ranges to include macro args also so that we get: t.c:4:3:{4:3-4:12}{4:3-4:12}: error: invalid operands to binary expression ('int *' and 'int *') FOO(P, Q); ^~~~~~~~~ ... This fixes rdar://6939599 llvm-svn: 73378
-
Chris Lattner authored
like: fatal error: could not find file '1.h' referenced by PCH file instead of aborting with an assertion failure, PR4219 llvm-svn: 73371
-
Chris Lattner authored
llvm-svn: 73367
-
Chris Lattner authored
can occur in the middle of comment tokens. llvm-svn: 73365
-
- Jun 13, 2009
-
-
Chris Lattner authored
This fixes a source range problem reported by Olaf Krzikalla. llvm-svn: 73266
-
- Jun 12, 2009
-
-
Anders Carlsson authored
It's an error to use a function declared in a class definition as a default argument before the function has been declared. llvm-svn: 73234
-
- Jun 11, 2009
-
-
Eli Friedman authored
the clang inlining threshold consistent with the threshold for llvm-gcc. llvm-svn: 73204
-
- Jun 08, 2009
-
-
Eli Friedman authored
llvm-svn: 73050
-
Eli Friedman authored
hack which introduces some strange inconsistencies in compatibility for block pointers. Note that unlike an earlier revision proposed on cfe-commits, this patch still allows declaring block pointers without a prototype. llvm-svn: 73041
-
- Jun 05, 2009
-
-
Fariborz Jahanian authored
change. More to follow. llvm-svn: 72951
-
Eli Friedman authored
llvm-svn: 72928
-
Eli Friedman authored
llvm-svn: 72900
-
- Jun 04, 2009
-
-
Chris Lattner authored
one. llvm-svn: 72868
-
Torok Edwin authored
llvm-svn: 72855
-
- Jun 03, 2009
-
-
Daniel Dunbar authored
- One functionality change, the LoopIndexSplit pass is now reenabled (it was disabled in r60089 but we forgot to reenable it). llvm-svn: 72787
-
Duncan Sands authored
llvm-svn: 72772
-
Zhongxing Xu authored
llvm-svn: 72759
-
Daniel Dunbar authored
- Avoids running any LLVM optimizations, even at -O2, etc., while still keeping any language changes these optimizations imply. llvm-svn: 72742
-
- Jun 02, 2009
-
-
Eli Friedman authored
# line directives. llvm-svn: 72724
-
- Jun 01, 2009
-
-
Zhongxing Xu authored
llvm-svn: 72682
-
Zhongxing Xu authored
llvm-svn: 72681
-
- May 31, 2009
-
-
Duncan Sands authored
workaround for machine code emitter changes as was used in llvm-gcc. llvm-svn: 72657
-
- May 30, 2009
-
-
Anders Carlsson authored
llvm-svn: 72641
-
Anders Carlsson authored
llvm-svn: 72640
-
Eli Friedman authored
llvm-svn: 72611
-
Douglas Gregor authored
walks through DeclContexts properly, and prints more of the information available in the AST. The functionality is still available via -ast-print, -ast-dump, etc., and also via the new member functions Decl::dump() and Decl::print(). llvm-svn: 72597
-