llvm-project/llvm/lib/Target/XCore/MCTargetDesc
Rafael Espindola 79e238afee Delete Default and JITDefault code models
IMHO it is an antipattern to have a enum value that is Default.

At any given piece of code it is not clear if we have to handle
Default or if has already been mapped to a concrete value. In this
case in particular, only the target can do the mapping and it is nice
to make sure it is always done.

This deletes the two default enum values of CodeModel and uses an
explicit Optional<CodeModel> when it is possible that it is
unspecified.

llvm-svn: 309911
2017-08-03 02:16:21 +00:00
..
CMakeLists.txt
LLVMBuild.txt
XCoreMCAsmInfo.cpp
XCoreMCAsmInfo.h
XCoreMCTargetDesc.cpp Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00
XCoreMCTargetDesc.h [XCore] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-24 23:02:48 +00:00