| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Allocate template parameter lists for out-of-line definitions via the | Douglas Gregor | 2010-06-15 | 3 | -9/+20 |
| | | | | | | | ASTContext rather than via the normal heap. llvm-svn: 106008 | ||||
| * | Implement -fvisibility-inlines-hidden. <rdar://problem/7819834> | Douglas Gregor | 2010-06-15 | 4 | -0/+17 |
| | | | | | llvm-svn: 106003 | ||||
| * | Driver/FreeBSD: Add libexec to program search paths, to workaround some build | Daniel Dunbar | 2010-06-15 | 1 | -0/+2 |
| | | | | | | | problem; patch by Ed Schouten. llvm-svn: 105996 | ||||
| * | When analyzing for member self-assignment, don't attempt to dereference null | Nick Lewycky | 2010-06-15 | 1 | -19/+21 |
| | | | | | | | | | Stmt* such as those which occur in ?: . Fixes PR7378. Also, generally whip the code into shape fixing several coding style violations. llvm-svn: 105992 | ||||
| * | MinGW requires that wint_t be defined in stddef.h. In order to accomodate, we | Alexis Hunt | 2010-06-15 | 1 | -0/+7 |
| | | | | | | | won't define it unless specifically requested via the use of __need_wint_t. llvm-svn: 105985 | ||||
| * | Change AnalysisConsumer to analyze functions created by instantiantiating a ↵ | Ted Kremenek | 2010-06-15 | 1 | -2/+3 |
| | | | | | | | macro. Fixes PR 7361. llvm-svn: 105984 | ||||
| * | fix the inline asm diagnostics to emit the error on the primary | Chris Lattner | 2010-06-15 | 1 | -8/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | source code location instead of on the note. Previously we generated: <inline asm>:1:2: error: unrecognized instruction barf ^ t.c:4:8: note: generated from here asm ("barf"); ^ Now we generate: t.c:4:8: error: unrecognized instruction asm ("barf"); ^ <inline asm>:1:2: note: instantated into assembly here barf ^ llvm-svn: 105978 | ||||
| * | Make sure to set the visible on a vtable; VTTs and typeinfo already | Douglas Gregor | 2010-06-14 | 1 | -0/+3 |
| | | | | | | | handle visibility properly. Fixes <rdar://problem/8091955>. llvm-svn: 105977 | ||||
| * | Add name mangling for address spaces. We use the vendor-extension | Douglas Gregor | 2010-06-14 | 1 | -0/+12 |
| | | | | | | | | mangling for types, where the <source-name> is ASxxx (xxx is the address-space number). llvm-svn: 105975 | ||||
| * | Warn when a 'typename' or a 'template' keyword refers to a | Douglas Gregor | 2010-06-14 | 1 | -2/+19 |
| | | | | | | | | non-dependent type or template name, respectively, in C++98/03. Fixes PR7111 and <rdar://problem/8002682>. llvm-svn: 105968 | ||||
| * | Driver: Fix PR4062 by dissecting one particular -Wp, form. | Daniel Dunbar | 2010-06-14 | 1 | -6/+19 |
| | | | | | llvm-svn: 105966 | ||||
| * | Driver: Dissect -Wl, and -Xlinker arguments to remove --no-demangle, which was a | Daniel Dunbar | 2010-06-14 | 1 | -3/+27 |
| | | | | | | | collect2 option that is passed by some projects (notably WebKit). llvm-svn: 105964 | ||||
| * | Driver: Eliminate uses of Arg::getIndex. | Daniel Dunbar | 2010-06-14 | 2 | -5/+7 |
| | | | | | | | Also, fix a memory leak. llvm-svn: 105963 | ||||
| * | Driver: Fix refacto in DerivedArgList::MakeSeparateArg. | Daniel Dunbar | 2010-06-14 | 1 | -25/+16 |
| | | | | | llvm-svn: 105958 | ||||
| * | Driver: Add DerivedArgList::AddFOOArg helper functions, and switch to using ↵ | Daniel Dunbar | 2010-06-14 | 1 | -51/+45 |
| | | | | | | | them. llvm-svn: 105957 | ||||
| * | Fix: | Chris Lattner | 2010-06-14 | 2 | -2/+2 |
| | | | | | | | | | | | | | Decl.cpp:716:28: warning: initialization of pointer of type 'clang::VarDecl *' from literal 'false' [-Wbool-conversions] VarDecl *LastTentative = false; ^ RewriteRope.cpp:535:12: warning: initialization of pointer of type '<anonymous>::RopePieceBTreeNode *' from literal 'false' [-Wbool-conversions] return false; ^ llvm-svn: 105946 | ||||
| * | An implementation of __builtin__fpclassify the way Chris Lattner described ↵ | Benjamin Kramer | 2010-06-14 | 1 | -0/+58 |
| | | | | | | | by Jörg Blank. llvm-svn: 105936 | ||||
| * | Microsoft C++ Mangler: | Charles Davis | 2010-06-14 | 1 | -1/+116 |
| | | | | | | | | | - Mangle qualifiers. - Start mangling variables' types into the name. A variable declared with a builtin type should now mangle properly. llvm-svn: 105931 | ||||
| * | Add some missing shifts | Nate Begeman | 2010-06-14 | 4 | -36/+178 |
| | | | | | | | | | Fix multiplies by scalar Add SemaChecking code for all immediates Add SemaChecking-gen support to arm_neon.td llvm-svn: 105930 | ||||
| * | Do the same short-circuit optimization when laying out bases. | Anders Carlsson | 2010-06-13 | 1 | -7/+18 |
| | | | | | llvm-svn: 105920 | ||||
| * | Implement part of the EmptySubobjectMap optimization described in PR6998. We ↵ | Anders Carlsson | 2010-06-13 | 1 | -1/+16 |
| | | | | | | | still need to do this for bases. llvm-svn: 105919 | ||||
| * | TemplateSpecializationType's isCurrentInstantiation bit can be derived | John McCall | 2010-06-13 | 3 | -20/+6 |
| | | | | | | | from its canonical type. llvm-svn: 105912 | ||||
| * | Allow an asm label specifier on C++ methods, like GCC does. | Chris Lattner | 2010-06-13 | 1 | -2/+11 |
| | | | | | | | Patch by David Majnemer! llvm-svn: 105909 | ||||
| * | Most of NEON sema checking & fix to polynomial type detection | Nate Begeman | 2010-06-13 | 2 | -17/+223 |
| | | | | | llvm-svn: 105908 | ||||
| * | fix PR7360: -P mode turns off line markers, but not blank space. | Chris Lattner | 2010-06-12 | 1 | -15/+10 |
| | | | | | | | | Apparently some programs which abuse the preprocessor depend on this. llvm-svn: 105889 | ||||
| * | Added template parameters info for out-of-line definitions of class template ↵ | Abramo Bagnara | 2010-06-12 | 3 | -5/+62 |
| | | | | | | | methods. llvm-svn: 105882 | ||||
| * | Microsoft C++ Mangler: | Charles Davis | 2010-06-12 | 1 | -1/+110 |
| | | | | | | | | - Don't mangle static variables at global scope. - Add support for mangling builtin types. This will be used later. llvm-svn: 105881 | ||||
| * | Don't omit class explicit instantiation from AST. | Abramo Bagnara | 2010-06-12 | 2 | -51/+72 |
| | | | | | llvm-svn: 105880 | ||||
| * | Shifts complete. Only vld & sema checking of constants remain. | Nate Begeman | 2010-06-12 | 1 | -1/+29 |
| | | | | | llvm-svn: 105879 | ||||
| * | vbsl, vrev* is implemented via arm_neon.h | Nate Begeman | 2010-06-12 | 2 | -6/+8 |
| | | | | | llvm-svn: 105875 | ||||
| * | When deciding whether an expression has the boolean nature, don't look through | John McCall | 2010-06-12 | 2 | -4/+4 |
| | | | | | | | explicit casts. Fixes PR7359. llvm-svn: 105871 | ||||
| * | Fix PCH issue. Attributes of a declaration were truncated to just one when ↵ | Argyrios Kyrtzidis | 2010-06-11 | 2 | -1/+12 |
| | | | | | | | the decl was read from a PCH file. llvm-svn: 105852 | ||||
| * | Most of remaining builtins, 2 generics, vld, and rounding shfits remain. | Nate Begeman | 2010-06-11 | 2 | -9/+115 |
| | | | | | llvm-svn: 105848 | ||||
| * | Driver: Switch Compilation to return the translated arguments by default. | Daniel Dunbar | 2010-06-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 105844 | ||||
| * | Driver: Add an explicit argument translation phase to the driver itself. We ↵ | Daniel Dunbar | 2010-06-11 | 5 | -31/+33 |
| | | | | | | | are going to need this to handle things like -Xassembler, -Xpreprocessor, and -Xlinker which we might have to introspect. llvm-svn: 105842 | ||||
| * | Driver: Get rid of the proxy support in DerivedArgList. | Daniel Dunbar | 2010-06-11 | 1 | -5/+6 |
| | | | | | llvm-svn: 105841 | ||||
| * | Fix a couple comments. | Daniel Dunbar | 2010-06-11 | 1 | -3/+1 |
| | | | | | llvm-svn: 105840 | ||||
| * | Driver: Change OptTable::ParseArg to take any ArgList. | Daniel Dunbar | 2010-06-11 | 2 | -11/+11 |
| | | | | | llvm-svn: 105839 | ||||
| * | Driver: Fix arg_iterator typing to reflect that it is really an iterator ↵ | Daniel Dunbar | 2010-06-11 | 3 | -44/+47 |
| | | | | | | | over Arg*s. llvm-svn: 105838 | ||||
| * | Preprocessor: Ignore unknown pragmas in -E -dM and -Eonly modes. | Daniel Dunbar | 2010-06-11 | 3 | -0/+15 |
| | | | | | llvm-svn: 105830 | ||||
| * | Fix the constant evaluator for AltiVec-style vector literals so that the | John McCall | 2010-06-11 | 1 | -13/+34 |
| | | | | | | | | vector is filled with the given constant; we were just initializing the first element. llvm-svn: 105824 | ||||
| * | Allow pseudo-destructors to be called on qualified pointers. Patch by | John McCall | 2010-06-11 | 1 | -1/+1 |
| | | | | | | | Troy Straszheim! llvm-svn: 105823 | ||||
| * | Don't store ASTContext references in the TST nodes just to support profiling. | John McCall | 2010-06-11 | 2 | -7/+9 |
| | | | | | llvm-svn: 105820 | ||||
| * | Provide an Objective C mangling for wchar_t. Patch by Nico Weber! | John McCall | 2010-06-11 | 1 | -0/+1 |
| | | | | | llvm-svn: 105818 | ||||
| * | Conversions from Objective C object pointers to bool are "pointer conversions | John McCall | 2010-06-11 | 1 | -1/+3 |
| | | | | | | | to bool" in the sense of C++ [over.ics.rank]p4 bullet 1. I have decreed it. llvm-svn: 105817 | ||||
| * | Fix the 64-bit build. operator<<(DiagnosticBuilder, long) doesn't exist, so | Jeffrey Yasskin | 2010-06-11 | 1 | -1/+1 |
| | | | | | | | | ptrdiff_t (long on 64-bit, apparently) is ambiguous between the int and unsigned int overloads. llvm-svn: 105816 | ||||
| * | Add an option -fshow-overloads=best|all to limit the number of overload | Jeffrey Yasskin | 2010-06-11 | 5 | -6/+38 |
| | | | | | | | | candidates printed. We default to 'all'. At the moment, 'best' prints only the first 4 overloads, but we'll improve that over time. llvm-svn: 105815 | ||||
| * | When mangling for the Microsoft C++ ABI, mangle variables in the global | Charles Davis | 2010-06-11 | 2 | -1/+42 |
| | | | | | | | namespace, too. llvm-svn: 105809 | ||||
| * | Small fixes regarding printf fix suggestions. | Tom Care | 2010-06-11 | 1 | -0/+8 |
| | | | | | | | | | | | | | - Added some handling of flags that become invalid when changing the conversion specifier. - Changed fixit behavior to remove unnecessary length modifiers. - Separated some tests out and added some comments. modified: lib/Analysis/PrintfFormatString.cpp test/Sema/format-strings-fixit.c llvm-svn: 105807 | ||||
| * | Start implementing the Microsoft-style name mangler. Mangle simple names | Charles Davis | 2010-06-11 | 1 | -1/+197 |
| | | | | | | | | | | | | (but not their types; that's later). NOTE: Right now, variables in the global namespace don't get mangled, even though they're supposed to be. This is because the default mangler implements the shouldMangleDeclName() method that tells clang not to mangle them. This will be fixed in a later patch. llvm-svn: 105805 | ||||

