aboutsummaryrefslogtreecommitdiff
path: root/source/Interpreter/OptionValue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Interpreter/OptionValue.cpp')
-rw-r--r--source/Interpreter/OptionValue.cpp68
1 files changed, 34 insertions, 34 deletions
diff --git a/source/Interpreter/OptionValue.cpp b/source/Interpreter/OptionValue.cpp
index 1f6b03ddac1a..bc1e1c4c4779 100644
--- a/source/Interpreter/OptionValue.cpp
+++ b/source/Interpreter/OptionValue.cpp
@@ -60,7 +60,7 @@ OptionValue::GetAsBoolean ()
{
if (GetType () == OptionValue::eTypeBoolean)
return static_cast<OptionValueBoolean *>(this);
- return NULL;
+ return nullptr;
}
const OptionValueBoolean *
@@ -68,7 +68,7 @@ OptionValue::GetAsBoolean () const
{
if (GetType () == OptionValue::eTypeBoolean)
return static_cast<const OptionValueBoolean *>(this);
- return NULL;
+ return nullptr;
}
@@ -77,7 +77,7 @@ OptionValue::GetAsFileSpec ()
{
if (GetType () == OptionValue::eTypeFileSpec)
return static_cast<OptionValueFileSpec *>(this);
- return NULL;
+ return nullptr;
}
@@ -86,7 +86,7 @@ OptionValue::GetAsFileSpec () const
{
if (GetType () == OptionValue::eTypeFileSpec)
return static_cast<const OptionValueFileSpec *>(this);
- return NULL;
+ return nullptr;
}
@@ -95,7 +95,7 @@ OptionValue::GetAsFileSpecList ()
{
if (GetType () == OptionValue::eTypeFileSpecList)
return static_cast<OptionValueFileSpecList *>(this);
- return NULL;
+ return nullptr;
}
@@ -104,7 +104,7 @@ OptionValue::GetAsFileSpecList () const
{
if (GetType () == OptionValue::eTypeFileSpecList)
return static_cast<const OptionValueFileSpecList *>(this);
- return NULL;
+ return nullptr;
}
@@ -113,7 +113,7 @@ OptionValue::GetAsArch ()
{
if (GetType () == OptionValue::eTypeArch)
return static_cast<OptionValueArch *>(this);
- return NULL;
+ return nullptr;
}
@@ -122,7 +122,7 @@ OptionValue::GetAsArch () const
{
if (GetType () == OptionValue::eTypeArch)
return static_cast<const OptionValueArch *>(this);
- return NULL;
+ return nullptr;
}
OptionValueArray *
@@ -130,7 +130,7 @@ OptionValue::GetAsArray ()
{
if (GetType () == OptionValue::eTypeArray)
return static_cast<OptionValueArray *>(this);
- return NULL;
+ return nullptr;
}
@@ -139,7 +139,7 @@ OptionValue::GetAsArray () const
{
if (GetType () == OptionValue::eTypeArray)
return static_cast<const OptionValueArray *>(this);
- return NULL;
+ return nullptr;
}
OptionValueArgs *
@@ -147,7 +147,7 @@ OptionValue::GetAsArgs ()
{
if (GetType () == OptionValue::eTypeArgs)
return static_cast<OptionValueArgs *>(this);
- return NULL;
+ return nullptr;
}
@@ -156,7 +156,7 @@ OptionValue::GetAsArgs () const
{
if (GetType () == OptionValue::eTypeArgs)
return static_cast<const OptionValueArgs *>(this);
- return NULL;
+ return nullptr;
}
OptionValueDictionary *
@@ -164,7 +164,7 @@ OptionValue::GetAsDictionary ()
{
if (GetType () == OptionValue::eTypeDictionary)
return static_cast<OptionValueDictionary *>(this);
- return NULL;
+ return nullptr;
}
const OptionValueDictionary *
@@ -172,7 +172,7 @@ OptionValue::GetAsDictionary () const
{
if (GetType () == OptionValue::eTypeDictionary)
return static_cast<const OptionValueDictionary *>(this);
- return NULL;
+ return nullptr;
}
OptionValueEnumeration *
@@ -180,7 +180,7 @@ OptionValue::GetAsEnumeration ()
{
if (GetType () == OptionValue::eTypeEnum)
return static_cast<OptionValueEnumeration *>(this);
- return NULL;
+ return nullptr;
}
const OptionValueEnumeration *
@@ -188,7 +188,7 @@ OptionValue::GetAsEnumeration () const
{
if (GetType () == OptionValue::eTypeEnum)
return static_cast<const OptionValueEnumeration *>(this);
- return NULL;
+ return nullptr;
}
OptionValueFormat *
@@ -196,7 +196,7 @@ OptionValue::GetAsFormat ()
{
if (GetType () == OptionValue::eTypeFormat)
return static_cast<OptionValueFormat *>(this);
- return NULL;
+ return nullptr;
}
const OptionValueFormat *
@@ -204,7 +204,7 @@ OptionValue::GetAsFormat () const
{
if (GetType () == OptionValue::eTypeFormat)
return static_cast<const OptionValueFormat *>(this);
- return NULL;
+ return nullptr;
}
OptionValuePathMappings *
@@ -212,7 +212,7 @@ OptionValue::GetAsPathMappings ()
{
if (GetType () == OptionValue::eTypePathMap)
return static_cast<OptionValuePathMappings *>(this);
- return NULL;
+ return nullptr;
}
const OptionValuePathMappings *
@@ -220,7 +220,7 @@ OptionValue::GetAsPathMappings () const
{
if (GetType () == OptionValue::eTypePathMap)
return static_cast<const OptionValuePathMappings *>(this);
- return NULL;
+ return nullptr;
}
OptionValueProperties *
@@ -228,7 +228,7 @@ OptionValue::GetAsProperties ()
{
if (GetType () == OptionValue::eTypeProperties)
return static_cast<OptionValueProperties *>(this);
- return NULL;
+ return nullptr;
}
const OptionValueProperties *
@@ -236,7 +236,7 @@ OptionValue::GetAsProperties () const
{
if (GetType () == OptionValue::eTypeProperties)
return static_cast<const OptionValueProperties *>(this);
- return NULL;
+ return nullptr;
}
OptionValueRegex *
@@ -244,7 +244,7 @@ OptionValue::GetAsRegex ()
{
if (GetType () == OptionValue::eTypeRegex)
return static_cast<OptionValueRegex *>(this);
- return NULL;
+ return nullptr;
}
const OptionValueRegex *
@@ -252,7 +252,7 @@ OptionValue::GetAsRegex () const
{
if (GetType () == OptionValue::eTypeRegex)
return static_cast<const OptionValueRegex *>(this);
- return NULL;
+ return nullptr;
}
OptionValueSInt64 *
@@ -260,7 +260,7 @@ OptionValue::GetAsSInt64 ()
{
if (GetType () == OptionValue::eTypeSInt64)
return static_cast<OptionValueSInt64 *>(this);
- return NULL;
+ return nullptr;
}
const OptionValueSInt64 *
@@ -268,7 +268,7 @@ OptionValue::GetAsSInt64 () const
{
if (GetType () == OptionValue::eTypeSInt64)
return static_cast<const OptionValueSInt64 *>(this);
- return NULL;
+ return nullptr;
}
OptionValueString *
@@ -276,7 +276,7 @@ OptionValue::GetAsString ()
{
if (GetType () == OptionValue::eTypeString)
return static_cast<OptionValueString *>(this);
- return NULL;
+ return nullptr;
}
const OptionValueString *
@@ -284,7 +284,7 @@ OptionValue::GetAsString () const
{
if (GetType () == OptionValue::eTypeString)
return static_cast<const OptionValueString *>(this);
- return NULL;
+ return nullptr;
}
OptionValueUInt64 *
@@ -292,7 +292,7 @@ OptionValue::GetAsUInt64 ()
{
if (GetType () == OptionValue::eTypeUInt64)
return static_cast<OptionValueUInt64 *>(this);
- return NULL;
+ return nullptr;
}
const OptionValueUInt64 *
@@ -300,7 +300,7 @@ OptionValue::GetAsUInt64 () const
{
if (GetType () == OptionValue::eTypeUInt64)
return static_cast<const OptionValueUInt64 *>(this);
- return NULL;
+ return nullptr;
}
OptionValueUUID *
@@ -308,7 +308,7 @@ OptionValue::GetAsUUID ()
{
if (GetType () == OptionValue::eTypeUUID)
return static_cast<OptionValueUUID *>(this);
- return NULL;
+ return nullptr;
}
@@ -317,7 +317,7 @@ OptionValue::GetAsUUID () const
{
if (GetType () == OptionValue::eTypeUUID)
return static_cast<const OptionValueUUID *>(this);
- return NULL;
+ return nullptr;
}
@@ -422,7 +422,7 @@ OptionValue::GetRegexValue () const
const OptionValueRegex *option_value = GetAsRegex ();
if (option_value)
return option_value->GetCurrentValue();
- return NULL;
+ return nullptr;
}
@@ -533,7 +533,7 @@ OptionValue::GetBuiltinTypeAsCString (Type t)
case eTypeUInt64: return "unsigned";
case eTypeUUID: return "uuid";
}
- return NULL;
+ return nullptr;
}