5th step to remove tools/rtti.hxx
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
This commit is contained in:
@@ -418,13 +418,11 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// can't mess with the TYPEINIT macros in include/tools/rtti.hxx or the LINK macros in include/tools/link.hxx
|
||||
std::string aImmediateMacro = "";
|
||||
if (compat::isMacroBodyExpansion(compiler, pFunctionDecl->getLocStart()) ) {
|
||||
StringRef name { Lexer::getImmediateMacroName(
|
||||
pFunctionDecl->getLocStart(), compiler.getSourceManager(), compiler.getLangOpts()) };
|
||||
aImmediateMacro = name;
|
||||
if (name == "TYPEINIT_FACTORY" || name == "TYPEINFO" || name == "TYPEINFO_OVERRIDE"
|
||||
|| name.startswith("IMPL_LINK_") )
|
||||
{
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user