- Feb 04, 2009
-
-
Daniel Dunbar authored
llvm-svn: 63726
-
Chris Lattner authored
line markers, including maintenance of the virtual include stack. For something like this: # 42 "bar.c" 1 # 142 "bar2.c" 1 #warning zappa # 92 "bar.c" 2 #warning gonzo # 102 "foo.c" 2 #warning bonkta we now produce these three warnings: #1: In file included from foo.c:3: In file included from bar.c:42: bar2.c:143:2: warning: #warning zappa #warning zappa ^ #2: In file included from foo.c:3: bar.c:92:2: warning: #warning gonzo #warning gonzo ^ #3: foo.c:102:2: warning: #warning bonkta #warning bonkta ^ llvm-svn: 63722
-
Chris Lattner authored
play around with the 'is system header' bit now function correctly. llvm-svn: 63720
-
Chris Lattner authored
ignoring include stack push/pop info though. llvm-svn: 63719
-
Chris Lattner authored
llvm-svn: 63717
-
Zhongxing Xu authored
llvm-svn: 63715
-
Chris Lattner authored
more likely to hit. llvm-svn: 63714
-
Chris Lattner authored
llvm-svn: 63712
-
Chris Lattner authored
query point to the returned presumed location. We now produce: foo.h:92:2: warning: #warning blarg! #warning blarg! ^ foo.h:93:2: warning: #warning blarg! #warning blarg! ^ foo.h:94:2: warning: #warning blarg! #warning blarg! ^ for: #line 92 "foo.h" #warning blarg! #warning blarg! #warning blarg! blarg indeed! llvm-svn: 63710
-
Chris Lattner authored
location below it report as coming from the #line location. For example, with: #line 92 "foo.h" #warning blarg! #warning blarg! we now emit: foo.h:92:2: warning: #warning blarg! #warning blarg! ^ foo.h:92:2: warning: #warning blarg! #warning blarg! ^ llvm-svn: 63709
-
Chris Lattner authored
getColumnNumber. This fixes a FIXME in SourceManager::getPresumedLoc because we now just decompose the sloc once. llvm-svn: 63701
-
Chris Lattner authored
makes it clear to clients that they have to pick an instantiation or spelling location before calling it and allows optimization based on that. llvm-svn: 63698
-
Daniel Dunbar authored
llvm-svn: 63697
-
Daniel Dunbar authored
infrastructure to construct function type. - For consistencty, we should probably always use this to construct function types, but these are absolutely necessary to ensure that we can emit calls to these functions. llvm-svn: 63695
-
Chris Lattner authored
llvm-svn: 63694
-
Douglas Gregor authored
a.k.a. Koenig lookup) in C++. Most of the pieces are in place, but for two: - In an unqualified call g(x), even if the name does not refer to anything in the current scope, we can still find functions named "g" based on ADL. We don't yet have this ability. - ADL will need updating for friend functions and templates. llvm-svn: 63692
-
Fariborz Jahanian authored
llvm-svn: 63691
-
Daniel Dunbar authored
llvm-svn: 63685
-
Fariborz Jahanian authored
abi messaging. llvm-svn: 63684
-
Daniel Dunbar authored
llvm-svn: 63683
-
Daniel Dunbar authored
llvm-svn: 63681
-
Daniel Dunbar authored
llvm-svn: 63678
-
- Feb 03, 2009
-
-
Chris Lattner authored
out of FileInfo :) llvm-svn: 63672
-
Chris Lattner authored
llvm-svn: 63667
-
Fariborz Jahanian authored
Patch by David Chisnall. llvm-svn: 63666
-
Chris Lattner authored
llvm-svn: 63662
-
Sebastian Redl authored
Pointers to functions don't work yet, and pointers to overloaded functions even less. Also, far too much illegal code is accepted. llvm-svn: 63655
-
Daniel Dunbar authored
- Now only 27/500 failures on ABITest single argument tests; from 350/500. :) - As with return types, a large percentage of these are likely to be gcc bugs, not yet reviewed. Also, fix bug in handling of Ignore ABI type in argument lists. llvm-svn: 63654
-
Douglas Gregor authored
scopes where the name would be considered a redeclaration if we know that we're declaring or defining that tag. llvm-svn: 63647
-
Douglas Gregor authored
using directives, from Piotr Rak! llvm-svn: 63646
-
Daniel Dunbar authored
return types). llvm-svn: 63645
-
Fariborz Jahanian authored
llvm-svn: 63644
-
Sanjiv Gupta authored
Specify external linkage for such globals so that llvm optimizer do not assume there values initialized as zero. llvm-svn: 63636
-
Fariborz Jahanian authored
llvm-svn: 63635
-
Sanjiv Gupta authored
llvm-svn: 63634
-
Chris Lattner authored
are 8-byte aligned. llvm-svn: 63630
-
Chris Lattner authored
ContentCache objects to using a densemap and list, and allocating the ContentCache objects from a bump pointer. This does not speed up or slow down things substantially, but gives us control over their alignment. llvm-svn: 63628
-
Daniel Dunbar authored
(the main point of this restructing). llvm-svn: 63619
-
Daniel Dunbar authored
acceptable kind with more precise semantics. llvm-svn: 63617
-
Daniel Dunbar authored
native IRgen type is. This is like Default, but without any extra semantics (like automatic tweaking of structures or void). llvm-svn: 63615
-