| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | In SourceManager::isBeforeInTranslationUnit, if we are trying to compare two ↵ | Daniel Dunbar | 2009-12-01 | 1 | -24/+14 | |
| | | | | | | | | | | | source locations with no common ancestor in the include stack, determine order by assuming memory buffers preceed files, and then that FileIDs are created in order. The later assumption is patently false, but this was already broken -- this situation is conceptually impossible, my feeling is we should fix SourceManager and friends to make it impossible in practice as well. However, we need to fix PR5662 and perhaps some other things involving memory buffers first. In the short term I'm pretty sure this is reliable. Chris, Argiris, is this going to break anything that wasn't already broken? llvm-svn: 90280 | |||||
| * | pass the reason for failure up from MemoryBuffer and report it | Chris Lattner | 2009-12-01 | 1 | -2/+2 | |
| | | | | | | | | | | | | | in diagnostics when we fail to open a file. This allows us to report things like: $ clang test.c -I. test.c:2:10: fatal error: error opening file './foo.h': Permission denied #include "foo.h" ^ llvm-svn: 90276 | |||||
| * | Convert Diagnostic::getCustomDiagID to take a StringRef. | Daniel Dunbar | 2009-12-01 | 1 | -2/+2 | |
| | | | | | llvm-svn: 90244 | |||||
| * | This patch adds a PUNCTUATOR macro (specialization of TOK) in TokenKinds.def ↵ | Kovarththanan Rajaratnam | 2009-11-28 | 1 | -53/+2 | |
| | | | | | | | and makes use of it in tok::getTokenSimpleSpelling. llvm-svn: 90042 | |||||
| * | Add SigAtomicType to TargetInfo, Needed for MSP and PIC Targets, Credit to ↵ | Edward O'Callaghan | 2009-11-21 | 2 | -0/+3 | |
| | | | | | | | Ken Dyck. llvm-svn: 89520 | |||||
| * | Added preliminary support step for PS3 | John Thompson | 2009-11-19 | 1 | -0/+47 | |
| | | | | | llvm-svn: 89362 | |||||
| * | Eliminate TargetInfo::getDefaultLangOptions, this kind of logic is better done | Daniel Dunbar | 2009-11-17 | 1 | -24/+0 | |
| | | | | | | | in the driver. llvm-svn: 89073 | |||||
| * | Move -fnext-runtime defaulting to driver (and change clang-cc default to | Daniel Dunbar | 2009-11-17 | 1 | -2/+0 | |
| | | | | | | | -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058 | |||||
| * | Move -fms-extensions defaulting to driver, instead of using ↵ | Daniel Dunbar | 2009-11-17 | 1 | -9/+0 | |
| | | | | | | | getDefaultLangOptions. llvm-svn: 89057 | |||||
| * | Move char-is-signed defaulting to driver, instead of using | Daniel Dunbar | 2009-11-17 | 1 | -13/+0 | |
| | | | | | | | getDefaultLangOptions. llvm-svn: 89053 | |||||
| * | Add MIPS support to Triple for Linux and the PSP. Credit to Bruno Cardoso Lopes. | Edward O'Callaghan | 2009-11-15 | 1 | -0/+163 | |
| | | | | | llvm-svn: 88850 | |||||
| * | Add TargetOptions and use it when constructing targets. | Daniel Dunbar | 2009-11-15 | 1 | -5/+56 | |
| | | | | | | | | | - This ended up being hard to factor, sorry for the large diff. - Some post-commit cleanup to come. llvm-svn: 88833 | |||||
| * | Move DISABLE_INLINE to the front of the decl so MSVC can parse it. Patch by ↵ | Benjamin Kramer | 2009-11-14 | 1 | -2/+2 | |
| | | | | | | | Amine Khaldi! llvm-svn: 88797 | |||||
| * | do not store wchar/char16/char32/intmax width/alignment info | Chris Lattner | 2009-11-12 | 2 | -11/+0 | |
| | | | | | | | | into TargetInfo, just derive this based on the underlying type. This prevents them from getting out of synch, patch by Ken Dyck! llvm-svn: 86976 | |||||
| * | Simplifiy target feature handling by coalescing all the logic into | Daniel Dunbar | 2009-11-11 | 1 | -17/+22 | |
| | | | | | | | InitializeCompileOptions. llvm-svn: 86826 | |||||
| * | teach the various targets what native integer types they have. | Chris Lattner | 2009-11-07 | 2 | -18/+19 | |
| | | | | | llvm-svn: 86395 | |||||
| * | Strip off the /clang/tools/clang at the end of the Subversion URL, if it's there | Douglas Gregor | 2009-11-05 | 1 | -0/+4 | |
| | | | | | llvm-svn: 86195 | |||||
| * | Eliminate tabls | John Thompson | 2009-11-05 | 1 | -2/+2 | |
| | | | | | llvm-svn: 86183 | |||||
| * | clean up integer preprocessor type definitions, patch by Ken Dyck! | Chris Lattner | 2009-11-05 | 1 | -4/+20 | |
| | | | | | llvm-svn: 86177 | |||||
| * | Adding -fshort-wchar option. | John Thompson | 2009-11-05 | 1 | -0/+10 | |
| | | | | | llvm-svn: 86167 | |||||
| * | Implement support for parsing dependent template-ids that refer to | Douglas Gregor | 2009-11-04 | 1 | -0/+14 | |
| | | | | | | | | | overloaded operators, e.g., p->template operator+<T>() llvm-svn: 85989 | |||||
| * | pr5371 likely has nothing to do with this. | Chris Lattner | 2009-11-03 | 1 | -1/+0 | |
| | | | | | llvm-svn: 85862 | |||||
| * | Add note to FIXME about PR5371. | Edward O'Callaghan | 2009-11-02 | 1 | -0/+1 | |
| | | | | | llvm-svn: 85825 | |||||
| * | rename getTypeSigned() -> isTypeSigned() per daniel's review. | Chris Lattner | 2009-10-25 | 1 | -2/+2 | |
| | | | | | llvm-svn: 85076 | |||||
| * | Fix cmake failure trying to get SVN info for non-SVN trees. | Daniel Dunbar | 2009-10-24 | 1 | -1/+1 | |
| | | | | | llvm-svn: 85015 | |||||
| * | Add a preprocessor define for adding a "near" section attribute for allowing | Sanjiv Gupta | 2009-10-24 | 1 | -0/+2 | |
| | | | | | | | objects to be placed at shared memory. llvm-svn: 85007 | |||||
| * | Fixed undefined behavior in pushMappings when the stack has to resize. | John Thompson | 2009-10-23 | 1 | -0/+2 | |
| | | | | | llvm-svn: 84924 | |||||
| * | add helpful methods to TargetInfo for querying builtin integer type properties, | Chris Lattner | 2009-10-21 | 1 | -0/+51 | |
| | | | | | | | patch by Ken Dyck! llvm-svn: 84746 | |||||
| * | hookize wint_t's definition, patch by Edward O'Callaghan (from PR5233). | Chris Lattner | 2009-10-21 | 1 | -0/+1 | |
| | | | | | llvm-svn: 84740 | |||||
| * | teach FormatDiagnostic to aggregate previously formatted arguments and | Chris Lattner | 2009-10-20 | 1 | -3/+25 | |
| | | | | | | | | | | pass them down into the ArgToStringFn implementation. This allows redundancy across operands to a diagnostic to be eliminated. This isn't used yet, so no functionality change. llvm-svn: 84602 | |||||
| * | PR5218: Replace IdentifierInfo::getName with StringRef version, now that clients | Daniel Dunbar | 2009-10-18 | 2 | -4/+4 | |
| | | | | | | | are updated. llvm-svn: 84447 | |||||
| * | The AuroraUX toolchain has conflicting wchar_t between the system stdlib.h ↵ | Edward O'Callaghan | 2009-10-18 | 1 | -0/+35 | |
| | | | | | | | header and the clang stddef.h header where clang was defining as int where we use long. llvm-svn: 84416 | |||||
| * | Avoid std::string thrashing in MultiKeywordSelector::getName(), and simplify. | Daniel Dunbar | 2009-10-17 | 1 | -19/+12 | |
| | | | | | llvm-svn: 84343 | |||||
| * | Use raw_ostream for formatting integers, and use IdentifierInfo::getNameStr | Daniel Dunbar | 2009-10-17 | 1 | -10/+4 | |
| | | | | | | | | instead of getName. - -2 FIXMEs. llvm-svn: 84337 | |||||
| * | Add support for a chain of stat caches in the FileManager, rather than | Douglas Gregor | 2009-10-16 | 1 | -2/+37 | |
| | | | | | | | | | | only supporting a single stat cache. The immediate benefit of this change is that we can now generate a PCH/AST file when including another PCH file; in the future, the chain of stat caches will likely be useful with multiple levels of PCH files. llvm-svn: 84263 | |||||
| * | increase helpfulness of assert message. | Chris Lattner | 2009-10-16 | 1 | -1/+6 | |
| | | | | | llvm-svn: 84240 | |||||
| * | Disallow arbitrary custom inline asm constraints for msp430. | Anton Korobeynikov | 2009-10-15 | 1 | -2/+2 | |
| | | | | | llvm-svn: 84219 | |||||
| * | fix some cfstring related issues: | Chris Lattner | 2009-10-14 | 1 | -4/+0 | |
| | | | | | | | | | | | | | | 1) -fwritable-string does affect the non-utf16 version of cfstrings just not the utf16 ones. 2) utf16 strings should always be marked constant, as the __TEXT segment is readonly. 3) The name of the global doesn't matter, remove it from TargetInfo. 4) Trust the asmprinter to drop cstrings into the right section, like llvmgcc does now. This fixes rdar://7115750 llvm-svn: 84077 | |||||
| * | Unify our diagnostic printing for errors of the form, "we didn't like | Douglas Gregor | 2009-10-13 | 1 | -0/+1 | |
| | | | | | | | | | | | what we found when we looked into <blah>", where <blah> is a DeclContext*. We can now format DeclContext*'s in nice ways, e.g., "namespace N", "the global namespace", "'class Foo'". This is part of PR3990, but we're not quite there yet. llvm-svn: 84028 | |||||
| * | fix PR4938 by recognizing % as a modifier on outputs, | Chris Lattner | 2009-10-13 | 1 | -0/+3 | |
| | | | | | | | previously we only recognized it on inputs. llvm-svn: 83939 | |||||
| * | "Someone pointed out that in my previous Targets.cpp patch I didn't | Mike Stump | 2009-10-08 | 1 | -0/+1 | |
| | | | | | | | | handle the long size difference for one of the Windows targets." Patch by John Thompson. llvm-svn: 83592 | |||||
| * | Installation of Clang libraries and headers, from Axel Naumann! | Douglas Gregor | 2009-10-08 | 1 | -3/+0 | |
| | | | | | llvm-svn: 83582 | |||||
| * | Provide a common set of routines in Version.h that return Subversion | Douglas Gregor | 2009-10-05 | 3 | -16/+24 | |
| | | | | | | | | branch/revision information. Use that information in the driver, rather than one-off branch/revision computation. llvm-svn: 83321 | |||||
| * | Pre-commit commit to get URL keyword expansion for Clang version information | Douglas Gregor | 2009-10-05 | 1 | -0/+63 | |
| | | | | | llvm-svn: 83319 | |||||
| * | Handle Eli remark on mingw __declspec macro definition | Cedric Venet | 2009-09-27 | 1 | -1/+1 | |
| | | | | | llvm-svn: 82894 | |||||
| * | Factor Windows target into VS, MinGW and Cygwin variants. | Daniel Dunbar | 2009-09-23 | 1 | -11/+128 | |
| | | | | | | | - Patch by John Thompson! llvm-svn: 82621 | |||||
| * | implement support for __builtin_eh_return_data_regno on x86-32 and x86-64. | Chris Lattner | 2009-09-23 | 1 | -0/+12 | |
| | | | | | | | This implements PR5034 and rdar://6836445. llvm-svn: 82614 | |||||
| * | Reconcile Clang/ARM target data string with llvm-gcc (module eabi weirdness). | Daniel Dunbar | 2009-09-22 | 1 | -3/+20 | |
| | | | | | llvm-svn: 82578 | |||||
| * | Replace the -code-completion-dump option with | Douglas Gregor | 2009-09-22 | 1 | -2/+79 | |
| | | | | | | | | | | | | -code-completion-at=filename:line:column which performs code completion at the specified location by truncating the file at that position and enabling code completion. This approach makes it possible to run multiple tests from a single test file, and gives a more natural command-line interface. llvm-svn: 82571 | |||||
| * | don't stick an uninitialized 'stat' buf into the stat cache, fill it | Chris Lattner | 2009-09-18 | 1 | -0/+1 | |
| | | | | | | | with zeros. This avoids a GCC warning (PR5000) llvm-svn: 82194 | |||||

