- Dec 12, 2008
-
-
rdar://6097892Chris Lattner authored
fix rdar://6097892 - gcc incompat: clang rejects __func__, __FUNCTION__, and __PRETTY_FUNCTION__ outside func Yeah, this is "useful". llvm-svn: 60921
-
-
Chris Lattner authored
llvm-svn: 60919
-
Mikhail Glushenkov authored
llvm-svn: 60918
-
Douglas Gregor authored
the type of the enumeration once the enumeration has been defined. Fix the overloading test-case to properly create enums that promote the way we want them to. Implement C++0x promotions from enumeration types to long long/unsigned long long. We're using these promotions in Carbon.h (since long long is a common extension). Fixes PR clang/2954: http://llvm.org/bugs/show_bug.cgi?id=2954 llvm-svn: 60917
-
Mon P Wang authored
Added support for TRUNC v8i16 to v8i8 for X86 (MMX) llvm-svn: 60916
-
Bill Wendling authored
ISD::ADD to emit an implicit EFLAGS. This was horribly broken. Instead, replace the intrinsic with an ISD::SADDO node. Then custom lower that into an X86ISD::ADD node with a associated SETCC that checks the correct condition code (overflow or carry). Then that gets lowered into the correct X86::ADDOvf instruction. Similar for SUB and MUL instructions. llvm-svn: 60915
-
Mikhail Glushenkov authored
llvm-svn: 60912
-
Ted Kremenek authored
- Added a side-table per each token-cached file with the preprocessor conditional stack. This tracks what #if's are matched with what #endifs and where their respective tokens are in the PTH file. This will allow for quick skipping of excluded conditional branches in the Preprocessor. - Performance testing shows the addition of this information (without actually utilizing it) leads to no performance regressions. llvm-svn: 60911
-
Mikhail Glushenkov authored
llvm-svn: 60910
-
Mikhail Glushenkov authored
llvm-svn: 60909
-
Chris Lattner authored
llvm-svn: 60907
-
- Dec 11, 2008
-
-
Sebastian Redl authored
llvm-svn: 60906
-
Ted Kremenek authored
PTHLexer: Keep track of the location of the last '#' token and provide the means to jump ahead in the token stream. llvm-svn: 60905
-
Sebastian Redl authored
llvm-svn: 60904
-
Mikhail Glushenkov authored
llvm-svn: 60902
-
Evan Cheng authored
llvm-svn: 60901
-
Sebastian Redl authored
llvm-svn: 60900
-
Steve Naroff authored
llvm-svn: 60899
-
Steve Naroff authored
Found while investigating <rdar://problem/6435837> clang ObjC rewriter: use Block_release instead of Block_destroy. llvm-svn: 60898
-
Douglas Gregor authored
llvm-svn: 60897
-
Ted Kremenek authored
llvm-svn: 60896
-
Sebastian Redl authored
llvm-svn: 60895
-
Sebastian Redl authored
llvm-svn: 60892
-
Misha Brukman authored
* Whitespace cleanups llvm-svn: 60891
-
rdar://problem/6435842Steve Naroff authored
Fix <rdar://problem/6435842> clang ObjC rewriter: #include Block.h, Block_private.h or come up with #define to prevent double-definition llvm-svn: 60890
-
Misha Brukman authored
* <sup> cannot appear inside a <pre> - replaced <pre> with <tt> and <br> * Added standard "Notes" section * Sprinkled fixed-width <tt> tags in a few places for consistency llvm-svn: 60889
-
Sebastian Redl authored
llvm-svn: 60888
-
rdar://problem/6435382Steve Naroff authored
Fix <rdar://problem/6435382> clang ObjC rewriter: @property/@synthesize and blocks don't work together llvm-svn: 60887
-
Misha Brukman authored
tags are not needed in HTML, only XML. llvm-svn: 60885
-
Misha Brukman authored
llvm-svn: 60884
-
Douglas Gregor authored
Actually distinguish between RecordDecl::field_iterator and RecordDecl::field_const_iterator, propagating the constness down to the FieldDecls. llvm-svn: 60883
-
Nick Lewycky authored
optimization of SGE/SLE with unit stride, now that it works properly. llvm-svn: 60881
-
Misha Brukman authored
llvm-svn: 60880
-
Misha Brukman authored
- descriptions on new line - no terminating period * Changed the W3C logos from yellow to blue to not stand out llvm-svn: 60879
-
Douglas Gregor authored
and separates lexical name lookup from qualified name lookup. In particular: * Make DeclContext the central data structure for storing and looking up declarations within existing declarations, e.g., members of structs/unions/classes, enumerators in C++0x enums, members of C++ namespaces, and (later) members of Objective-C interfaces/implementations. DeclContext uses a lazily-constructed data structure optimized for fast lookup (array for small contexts, hash table for larger contexts). * Implement C++ qualified name lookup in terms of lookup into DeclContext. * Implement C++ unqualified name lookup in terms of qualified+unqualified name lookup (since unqualified lookup is not purely lexical in C++!) * Limit the use of the chains of declarations stored in IdentifierInfo to those names declared lexically. * Eliminate CXXFieldDecl, collapsing its behavior into FieldDecl. (FieldDecl is now a ScopedDecl). * Make RecordDecl into a DeclContext and eliminates its Members/NumMembers fields (since one can just iterate through the DeclContext to get the fields). llvm-svn: 60878
-
Torok Edwin authored
llvm-svn: 60875
-
Mikhail Glushenkov authored
This stuff is not used outside Base.td, and with the conversion of the compilation graph to string-based format became much less (if at all) useful. llvm-svn: 60873
-
Torok Edwin authored
llvm-svn: 60872
-
Mikhail Glushenkov authored
Prevents conflicts between plugins. llvm-svn: 60871
-