summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic
Commit message (Collapse)AuthorAgeFilesLines
...
* Handle Type.h a better way.Dale Johannesen2010-10-291-0/+1
| | | | llvm-svn: 117743
* Generate bitcasts going in and out of MMX parametersDale Johannesen2010-10-291-0/+13
| | | | | | | | | in asm's. PR 8501, 8602988. I don't like including Type.h where it is; the idea was to get references to X86_MMXTy out of the common code. Maybe there's a better way? llvm-svn: 117736
* Ahem. Add rest of D and Q registers to ARM inline asm handling.Dale Johannesen2010-10-281-1/+4
| | | | llvm-svn: 117517
* Add D and Q register names to ARM inline asm handling.Dale Johannesen2010-10-271-3/+9
| | | | | | No aliasing is needed, these work as given in the BE. llvm-svn: 117508
* getOrCreateContentCache never returns null, so overrideFileContentsDan Gohman2010-10-261-4/+2
| | | | | | doesn't need its return value. llvm-svn: 117393
* Update remaining attribute macros to new style.Chandler Carruth2010-10-231-1/+1
| | | | llvm-svn: 117204
* Change handling of inline asm 'p' constraint to match llvm-gcc.Dale Johannesen2010-10-221-0/+2
| | | | llvm-svn: 117149
* Don't try to guess svn version when current path is a symlink.Oscar Fuentes2010-10-221-1/+3
| | | | | | See PR 8473. llvm-svn: 117110
* Revert r117005, WIN32 is not predefined after all.Francois Pichet2010-10-211-1/+0
| | | | llvm-svn: 117026
* MSVC defines WIN32 as a predefined macro.Francois Pichet2010-10-211-0/+1
| | | | llvm-svn: 117005
* Targets: Fix MinGW and VisualStudio predefined macros.Michael J. Spencer2010-10-211-12/+56
| | | | llvm-svn: 117003
* Reorganize predefined macros for all Windows targets.Michael J. Spencer2010-10-211-55/+74
| | | | | | | | | | This adds an option to set the _MSC_VER macro without recompiling. This is very useful when testing compatibility with the Windows SDK and c++stdlib headers. -fmsc-version=<version> (defaults to VS2003 (1300)) llvm-svn: 116999
* Fix Whitespace.Michael J. Spencer2010-10-211-45/+45
| | | | llvm-svn: 116990
* Revert "Cleanup and fix predefined macros for windows."Michael J. Spencer2010-10-211-72/+53
| | | | | | Didn't realize this was on my branch ;/. llvm-svn: 116989
* Cleanup and fix predefined macros for windows.Michael J. Spencer2010-10-211-53/+72
| | | | llvm-svn: 116988
* CodeGen: Fix long double on Windows using MSVC runtime.Michael J. Spencer2010-10-181-0/+2
| | | | llvm-svn: 116700
* Fix Whitespace.Michael J. Spencer2010-10-182-10/+10
| | | | llvm-svn: 116699
* When performing typo correction, look through the set of knownDouglas Gregor2010-10-141-0/+16
| | | | | | | | | | | | | | | | | | | | identifiers to determine good typo-correction candidates. Once we've identified those candidates, we perform name lookup on each of them and the consider the results. This optimization makes typo correction > 2x faster on a benchmark example using a single typo (NSstring) in a tiny file that includes Cocoa.h from a precompiled header, since we are deserializing far less information now during typo correction. There is a semantic change here, which is interesting. The presence of a similarly-named entity that is not visible can now affect typo correction. This is both good (you won't get weird corrections if the thing you wanted isn't in scope) and bad (you won't get good corrections if there is a similarly-named-but-completely-unrelated thing). Time will tell whether it was a good choice or not. llvm-svn: 116528
* Teach Diagnostic to recursively expand inside %plural formats.John McCall2010-10-141-5/+11
| | | | llvm-svn: 116468
* _Bool is not a keyword in C++. Fixes PR7388 and PR8349.Douglas Gregor2010-10-131-2/+2
| | | | llvm-svn: 116422
* Fix a silly bug in the suppression of non-error diagnostics in aDouglas Gregor2010-10-131-3/+7
| | | | | | | SFINAE context, where we weren't getting the right diagnostic argument count. I blame DiagnosticBuilder's weirdness. Fixes PR8372. llvm-svn: 116411
* Basic: Tweak attempt to make version tags work from 'svn export's again, clipDaniel Dunbar2010-10-111-2/+4
| | | | | | off the extra parts of the $URL$ SVN keyword. llvm-svn: 116269
* Basic: Attempt to make version tags work from 'svn export's again.Daniel Dunbar2010-10-111-0/+6
| | | | llvm-svn: 116268
* Eliminate -fdiagnostics-binary and all of the infrastructure forDouglas Gregor2010-10-111-245/+0
| | | | | | | | emitting diagnostics in a binary form to be consumed by libclang, since libclang no longer does any of its work out-of-process, making this code dead. Besides, this stuff never worked at 100% anyway. llvm-svn: 116250
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-111-72/+0
| | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116191
* Driver: When clang is built with a VENDOR set, include the base LLVM version inDaniel Dunbar2010-10-071-0/+7
| | | | | | | the version information, to help prevent user confusion about vendor version numbers vs. LLVM version numbers. llvm-svn: 115915
* Fix handling of the 'Invalid' argument in SourceManager's methods (patch by ↵Zhanyong Wan2010-10-051-5/+14
| | | | | | Dean Sturtevant, reviewed by chandlerc and Sebastian Redl). llvm-svn: 115638
* Basic: Simplify getClangRepositoryPath and getClangRevision.Daniel Dunbar2010-09-292-27/+22
| | | | | | | | | | - I don't like returning StringRef's ever, unless it is actually important for performance, which it isn't here. - Also, stop validating getClangRevision to be an integer, I don't see a good reason to do this. llvm-svn: 115071
* Basic: Add support for git svn to get the repo version in clang executable,Daniel Dunbar2010-09-292-20/+28
| | | | | | patch by Jonathan Mulder! llvm-svn: 115049
* Fixed pr20314-2.c failure, added E, F, p constraint letters.John Thompson2010-09-211-0/+4
| | | | llvm-svn: 114490
* Added '|' delimiter to separate inline asm multiple alternative constraints ↵John Thompson2010-09-181-2/+1
| | | | | | for Clang side of support. llvm-svn: 114253
* Fix Windows64 target info so pointer arithmetic is done correctly, and no ↵Cameron Esfahani2010-09-151-0/+3
| | | | | | sign extension code is emitted: PtrDiffType needs to be a signed long long. Add a corresponding test case. llvm-svn: 113910
* Revert "CMake: Update to use standard CMake dependency tracking facilities ↵Michael J. Spencer2010-09-131-18/+13
| | | | | | | | | | | | | instead" This reverts commit r113631 Conflicts: CMakeLists.txt lib/CodeGen/CMakeLists.txt llvm-svn: 113817
* CMake: Update to use standard CMake dependency tracking facilities insteadMichael J. Spencer2010-09-101-13/+18
| | | | | | of whatever we were using before... llvm-svn: 113631
* Allow 'o' and 'V' as constraints for output asm operands.Dale Johannesen2010-09-071-3/+9
| | | | | | Allow '<' and '>' as constraints for input or output. llvm-svn: 113246
* Add symantic support for the Pascal calling convention viaDawn Perchik2010-09-031-1/+3
| | | | | | | "__attribute((pascal))" or "__pascal" (and "_pascal" under -fborland-extensions). Support still needs to be added to llvm. llvm-svn: 112939
* Add support for windows x86-64 varargs, patch by Cameron Esfahani!Chris Lattner2010-08-311-0/+3
| | | | llvm-svn: 112603
* Fix a typo.Dan Gohman2010-08-261-1/+1
| | | | llvm-svn: 112219
* Add some missing X86-specific asm constraint letters, and fixDale Johannesen2010-08-241-4/+18
| | | | | | | some bugs in setting allowsRegister on the ones there. 8348447. llvm-svn: 111980
* fix PR7953 - Windows filename are case insensitive:Chris Lattner2010-08-231-0/+4
| | | | | | | | | | | | | | | | #pragma once wasn't working on win32 if the header file was included using a different case. I tracked down the problem to the fact that clang::FileManager was caching files using case sensitive string (UniqueFiles) on Windows. I changed FileManager to cache filename in lower case only. Doesn't affect UNIX because UNIX uses Inode to uniquely identify files. unix doesn't use this codepath. Analysis and patch by Francois Pichet! llvm-svn: 111866
* Detabify.Eli Friedman2010-08-221-1/+1
| | | | llvm-svn: 111768
* The ARM C++ ABI is sufficiently different from the Itanium C++ ABI thatJohn McCall2010-08-212-1/+7
| | | | | | | it deserves its own enumerator. Obviously the implementations should closely follow the Itanium ABI except in cases of divergence. llvm-svn: 111749
* More PCH -> AST renaming.Sebastian Redl2010-08-182-2/+2
| | | | llvm-svn: 111472
* Simplify FixItHint by eliminated the unnecessary InsertionLocDouglas Gregor2010-08-181-9/+1
| | | | | | location. Patch by Eelis van der Weegen! llvm-svn: 111362
* Check whether errors should be included in the diagnostic counts. Previously,Chandler Carruth2010-08-181-5/+7
| | | | | | only warnings did this check. llvm-svn: 111355
* Get rid of pretty non-ASCII quotes.Sebastian Redl2010-08-171-2/+2
| | | | llvm-svn: 111316
* apparently msvc defines _STDCALL_SUPPORTED, so we shouldChris Lattner2010-08-171-0/+1
| | | | | | too. Patch by Per Linden! llvm-svn: 111236
* Remove dead code, caught by unused function warnings.Argyrios Kyrtzidis2010-08-151-3/+0
| | | | llvm-svn: 111091
* Fix oversight with symbolic names in TargetInfo::validateInputConstraint.Eli Friedman2010-08-111-0/+1
| | | | llvm-svn: 110870
* -Make TokenID of IdentifierInfo read-only, remove setTokenID().Argyrios Kyrtzidis2010-08-111-4/+3
| | | | | | | | -There are 2 instances that change the TokenID for GNU libstdc++ 4.2 compatibility. To handler those cases introduce a RevertedTokenID bitfield, RevertTokenIDToIdentifier() and hasRevertedTokenIDToIdentifier() methods. Store the bitfield in PCH. llvm-svn: 110868
OpenPOWER on IntegriCloud