llvm-project/clang/lib/Basic
Renato Golin e84b000ccb Simplify DefaultCPU in ARMTargetInfo
Simplifying the convoluted CPU handling in ARMTargetInfo.

The default base CPU on ARM is ARM7TDMI, arch ARMv4T, and
ARMTargetInfo had a different one. This wasn't visible from
Clang because the driver selects the defaults and sets the
Arch/CPU features directly, but the constructor depended
on the CPU, which was never used.

This patch corrects the mistake and greatly simplifies
how CPU is dealt with (essentially by removing the duplicated
DefaultCPU field).

Tests updated.

llvm-svn: 249699
2015-10-08 16:43:26 +00:00
..
Attributes.cpp Ignore the "novtable" declspec when not using the Microsoft C++ ABI. 2015-07-20 22:57:31 +00:00
Builtins.cpp [CUDA] Allow parsing of host and device code simultaneously. 2015-09-22 17:23:22 +00:00
CMakeLists.txt Add `-verify-ignore-unexpected` option to ignore unexpected diagnostics in VerifyDiagnosticsConsumer 2015-06-13 07:11:40 +00:00
CharInfo.cpp
Diagnostic.cpp Wdeprecated: StoredDiagnostics are stored in a SmallVector, so make sure they're copy/movable 2015-08-13 22:20:14 +00:00
DiagnosticIDs.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
DiagnosticOptions.cpp Add `-verify-ignore-unexpected` option to ignore unexpected diagnostics in VerifyDiagnosticsConsumer 2015-06-13 07:11:40 +00:00
FileManager.cpp [FileManager] Use StringRef::copy to store canonical paths. 2015-08-04 11:27:08 +00:00
FileSystemStatCache.cpp [cleanup] Remove some unused #ifdef's 2015-06-11 23:34:13 +00:00
IdentifierTable.cpp Add -f[no-]declspec to control recognition of __declspec as a keyword 2015-10-04 17:51:05 +00:00
LangOptions.cpp Allow to specify multiple -fsanitize-blacklist= arguments. 2015-02-04 17:40:08 +00:00
Makefile Revert r223578, perf data collection depends on the old symbol name. 2014-12-10 23:49:03 +00:00
Module.cpp [Modules] Add Darwin-specific compatibility module map parsing hacks 2015-08-13 17:13:33 +00:00
ObjCRuntime.cpp Add a define for the ObjFW runtime ABI version. 2013-09-16 16:31:49 +00:00
OpenMPKinds.cpp [OpenMP] Capture global variables in target regions. 2015-10-02 17:14:03 +00:00
OperatorPrecedence.cpp Replace C++0x in a comment with C++11 2013-07-14 17:04:56 +00:00
SanitizerBlacklist.cpp Replace double-negated !SourceLocation.isInvalid() with SourceLocation.isValid(). 2015-10-03 05:15:57 +00:00
Sanitizers.cpp Pull trivial SanitizerSet methods into the header. 2015-07-14 15:34:19 +00:00
SourceLocation.cpp Removing spurious semi colons; NFC. 2015-06-09 12:04:17 +00:00
SourceManager.cpp Replace double negation of !FileID.isInvalid() with FileID.isValid(). 2015-10-03 10:46:20 +00:00
TargetInfo.cpp Support __builtin_ms_va_list. 2015-09-17 20:55:33 +00:00
Targets.cpp Simplify DefaultCPU in ARMTargetInfo 2015-10-08 16:43:26 +00:00
TokenKinds.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
Version.cpp Revert r223578, perf data collection depends on the old symbol name. 2014-12-10 23:49:03 +00:00
VersionTuple.cpp MS ABI: Implement driver-level support for thread-safe statics 2015-03-22 08:39:22 +00:00
VirtualFileSystem.cpp [VFS] Port driver tool chains to VFS. 2015-10-07 15:48:01 +00:00
Warnings.cpp Use -Rblah, not -Wblah, to control remark diagnostics. This was always the 2014-08-07 00:24:21 +00:00