- Jan 09, 2009
-
-
Daniel Dunbar authored
matches llvm-gcc (?). llvm-svn: 61974
-
Daniel Dunbar authored
llvm-svn: 61973
-
Dan Gohman authored
llvm-svn: 61972
-
Dan Gohman authored
the same formatting as their corresponding SSE2 instructions, for consistency. llvm-svn: 61971
-
Douglas Gregor authored
llvm-svn: 61970
-
Dale Johannesen authored
llvm-svn: 61969
-
Daniel Dunbar authored
categories. - Also, simplify nesting via early return. llvm-svn: 61968
-
Daniel Dunbar authored
- For use by the driver in places where the host alters driver behavior (for example, running as a driver driver on darwin). - Allow user override for testing purposes. llvm-svn: 61967
-
rdar://problem/6479085Douglas Gregor authored
rewrite @class declarations that showed up within linkage specifications because those @class declarations never made it any place where the rewriter could find them. Moved all of the ObjC*Decl nodes over to ScopedDecls, so that they can live in the appropriate top-level or transparent DeclContext near the top level, e.g., TranslationUnitDecl or LinkageSpecDecl. Objective-C declarations now show up in a traversal of the declarations in a DeclContext (they didn't before!). This way, the rewriter finds all Objective-C declarations within linkage specifications. llvm-svn: 61966
-
Ted Kremenek authored
llvm-svn: 61965
-
Fariborz Jahanian authored
parameter list. This is work in progress. llvm-svn: 61964
-
Ted Kremenek authored
llvm-svn: 61963
-
Ted Kremenek authored
Simpler solution to LiteralSupport compatibility: just add one whitespace character after each cached string. llvm-svn: 61962
-
Ted Kremenek authored
llvm-svn: 61961
-
Ted Kremenek authored
llvm-svn: 61960
-
Dan Gohman authored
the comment a little more verbose. llvm-svn: 61959
-
Ted Kremenek authored
llvm-svn: 61958
-
Ted Kremenek authored
llvm-svn: 61957
-
Ted Kremenek authored
PTH: For the cached spellings of literals, store one whitespace character after the spelling to accomodate sanity checking in LiteralSuppoert.cpp. llvm-svn: 61956
-
Devang Patel authored
Convert DwarfWriter into a pass. Now Users request DwarfWriter through getAnalysisUsage() instead of creating an instance of DwarfWriter object directly. llvm-svn: 61955
-
Anders Carlsson authored
llvm-svn: 61954
-
Fariborz Jahanian authored
are related to setter syntax under -Wreadonly-setter-attrs to prevent warnings in projects built with gcc. llvm-svn: 61953
-
- Jan 08, 2009
-
-
Douglas Gregor authored
Revert my previous, failed attempt to pretty-print anonymous struct/union accesses well. Added a FIXME so we know to revisit this later llvm-svn: 61951
-
Dan Gohman authored
llvm-svn: 61950
-
Dan Gohman authored
llvm-svn: 61949
-
Dan Gohman authored
llvm-svn: 61948
-
Dan Gohman authored
llvm-svn: 61947
-
Dale Johannesen authored
functions that don't already have a (dynamic) alloca. Dynamic allocas cause inefficient codegen and we shouldn't propagate this (behavior follows gcc). Two existing tests assumed such inlining would be done; they are hacked by adding an alloca in the caller, preserving the point of the tests. llvm-svn: 61946
-
Duncan Sands authored
day when more linkage types will be handled. llvm-svn: 61944
-
Ted Kremenek authored
Fix ObjCInterfaceDecl::Destroy and ObjCProtocolDecl::Destroy to iterate and destroy all contained ObjCMethodDecls in one sweep. This fixes a use-after-free error found by valgrind. llvm-svn: 61943
-
Douglas Gregor authored
llvm-svn: 61942
-
Ted Kremenek authored
Added iterator mechanism to ObjCContainerDecl to iterate over both class and instance methods at the same time. llvm-svn: 61941
-
Douglas Gregor authored
introduce a Scope for the body of a tag. This reduces the number of semantic differences between C and C++ structs and unions, and will help with other features (e.g., anonymous unions) in C. Some important points: - Fields are now in the "member" namespace (IDNS_Member), to keep them separate from tags and ordinary names in C. See the new test in Sema/member-reference.c for an example of why this matters. In C++, ordinary and member name lookup will find members in both the ordinary and member namespace, so the difference between IDNS_Member and IDNS_Ordinary is erased by Sema::LookupDecl (but only in C++!). - We always introduce a Scope and push a DeclContext when we're defining a tag, in both C and C++. Previously, we had different actions and different Scope/CurContext behavior for enums, C structs/unions, and C++ structs/unions/classes. Now, it's one pair of actions. (Yay!) There's still some fuzziness in the handling of struct/union/enum definitions within other struct/union/enum definitions in C. We'll need to do some more cleanup to eliminate some reliance on CurContext before we can solve this issue for real. What we want is for something like this: struct X { struct T { int x; } t; }; to introduce T into translation unit scope (placing it at the appropriate point in the IdentifierResolver chain, too), but it should still have struct X as its lexical declaration context. PushOnScopeChains isn't smart enough to do that yet, though, so there's a FIXME test in nested-redef.c llvm-svn: 61940
-
Steve Naroff authored
llvm-svn: 61939
-
Steve Naroff authored
llvm-svn: 61938
-
Steve Naroff authored
llvm-svn: 61937
-
Steve Naroff authored
Moved logic to Sema::ProcessPropertyDecl(). llvm-svn: 61936
-
Steve Naroff authored
Convert clients to use the standard getDeclContext() API. Doug, thanks for the review! llvm-svn: 61935
-
Chris Lattner authored
will get its preferred alignment. It has to be careful and cautiously assume it will just get the ABI alignment. This prevents instcombine from rounding up the alignment of a load/store without adjusting the alignment of the alloca. llvm-svn: 61934
-
Chris Lattner authored
llvm-as: t.ll:2:39: function may not return opaque type %"bwmoyl" = tail call coldcc opaque @g() ^ llvm-svn: 61933
-