mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
221f6d777e
When targetting Windows, clang does not define __GNUC__, and as a result we don't use our attributes with it. This leads to warnings about unused functions that are already annotated with LLVM_ATTRIBUTE_UNUSED. Rather than testing for __clang__, we can use its __has_attribute and __has_builtin macros directlty. While I'm here, conditionally define and use __GNUC_PREREQ for gcc version checks. Spelling the check out with three comparisons is verbose and error prone. Reviewers: aaron.ballman Differential Revision: http://llvm-reviews.chandlerc.com/D1080 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185831 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
AIXDataTypesFix.h | ||
AlignOf.h | ||
Allocator.h | ||
ArrayRecycler.h | ||
Atomic.h | ||
BlockFrequency.h | ||
BranchProbability.h | ||
CallSite.h | ||
Capacity.h | ||
Casting.h | ||
CBindingWrapping.h | ||
CFG.h | ||
circular_raw_ostream.h | ||
CodeGen.h | ||
COFF.h | ||
CommandLine.h | ||
Compiler.h | ||
Compression.h | ||
ConstantFolder.h | ||
ConstantRange.h | ||
ConvertUTF.h | ||
CrashRecoveryContext.h | ||
DataExtractor.h | ||
DataFlow.h | ||
DataStream.h | ||
DataTypes.h.cmake | ||
DataTypes.h.in | ||
Debug.h | ||
DebugLoc.h | ||
Disassembler.h | ||
DOTGraphTraits.h | ||
Dwarf.h | ||
DynamicLibrary.h | ||
ELF.h | ||
Endian.h | ||
Errno.h | ||
ErrorHandling.h | ||
ErrorOr.h | ||
FEnv.h | ||
FileOutputBuffer.h | ||
FileSystem.h | ||
FileUtilities.h | ||
Format.h | ||
FormattedStream.h | ||
GCOV.h | ||
GetElementPtrTypeIterator.h | ||
GraphWriter.h | ||
Host.h | ||
IncludeFile.h | ||
InstIterator.h | ||
IntegersSubset.h | ||
IntegersSubsetMapping.h | ||
LeakDetector.h | ||
LEB128.h | ||
LICENSE.TXT | ||
Locale.h | ||
LockFileManager.h | ||
MachO.h | ||
ManagedStatic.h | ||
MathExtras.h | ||
MD5.h | ||
Memory.h | ||
MemoryBuffer.h | ||
MemoryObject.h | ||
Mutex.h | ||
MutexGuard.h | ||
NoFolder.h | ||
OutputBuffer.h | ||
PassNameParser.h | ||
Path.h | ||
PatternMatch.h | ||
PluginLoader.h | ||
PointerLikeTypeTraits.h | ||
PredIteratorCache.h | ||
PrettyStackTrace.h | ||
Process.h | ||
Program.h | ||
raw_os_ostream.h | ||
raw_ostream.h | ||
Recycler.h | ||
RecyclingAllocator.h | ||
Regex.h | ||
Registry.h | ||
RegistryParser.h | ||
RWMutex.h | ||
SaveAndRestore.h | ||
Signals.h | ||
SMLoc.h | ||
Solaris.h | ||
SourceMgr.h | ||
StreamableMemoryObject.h | ||
StringPool.h | ||
StringRefMemoryObject.h | ||
SwapByteOrder.h | ||
system_error.h | ||
SystemUtils.h | ||
TargetFolder.h | ||
TargetRegistry.h | ||
TargetSelect.h | ||
Threading.h | ||
ThreadLocal.h | ||
Timer.h | ||
TimeValue.h | ||
ToolOutputFile.h | ||
type_traits.h | ||
Valgrind.h | ||
ValueHandle.h | ||
Watchdog.h | ||
Win64EH.h | ||
YAMLParser.h | ||
YAMLTraits.h |