mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 12:18:01 +01:00
added support for new C++11 keywords and features to CppParser and PocoDoc
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// Function.cpp
|
||||
//
|
||||
// $Id: //poco/1.4/CppParser/src/Function.cpp#1 $
|
||||
// $Id: //poco/1.4/CppParser/src/Function.cpp#2 $
|
||||
//
|
||||
// Library: CppParser
|
||||
// Package: SymbolTable
|
||||
@@ -128,6 +128,36 @@ void Function::makePureVirtual()
|
||||
}
|
||||
|
||||
|
||||
void Function::makeFinal()
|
||||
{
|
||||
_flags |= FN_FINAL;
|
||||
}
|
||||
|
||||
|
||||
void Function::makeOverride()
|
||||
{
|
||||
_flags |= FN_OVERRIDE;
|
||||
}
|
||||
|
||||
|
||||
void Function::makeNoexcept()
|
||||
{
|
||||
_flags |= FN_NOEXCEPT;
|
||||
}
|
||||
|
||||
|
||||
void Function::makeDefault()
|
||||
{
|
||||
_flags |= FN_DEFAULT;
|
||||
}
|
||||
|
||||
|
||||
void Function::makeDelete()
|
||||
{
|
||||
_flags |= FN_DELETE;
|
||||
}
|
||||
|
||||
|
||||
bool Function::isConstructor() const
|
||||
{
|
||||
return name() == nameSpace()->name();
|
||||
|
||||
Reference in New Issue
Block a user