Commit 0c076fb7 authored by Kevin Funk's avatar Kevin Funk

clang-tidy: use-modernize-nullptr run

parent b767a96e
......@@ -45,7 +45,7 @@
K_PLUGIN_FACTORY_WITH_JSON(KateBtBrowserFactory, "katebacktracebrowserplugin.json", registerPlugin<KateBtBrowserPlugin>();)
KateBtBrowserPlugin *KateBtBrowserPlugin::s_self = 0L;
KateBtBrowserPlugin *KateBtBrowserPlugin::s_self = nullptr;
static QStringList fileExtensions =
QStringList() << QStringLiteral("*.cpp") << QStringLiteral("*.cxx") <<
QStringLiteral("*.c") << QStringLiteral("*.cc") << QStringLiteral("*.h") <<
......@@ -72,7 +72,7 @@ KateBtBrowserPlugin::~KateBtBrowserPlugin()
QDir().mkpath(path);
db.saveToFile(path + QStringLiteral("/backtracedatabase.db"));
s_self = 0;
s_self = nullptr;
}
KateBtBrowserPlugin &KateBtBrowserPlugin::self()
......@@ -120,7 +120,7 @@ KTextEditor::ConfigPage *KateBtBrowserPlugin::configPage(int number, QWidget *pa
return new KateBtConfigWidget(parent);
}
return 0L;
return nullptr;
}
......
......@@ -41,7 +41,7 @@ class KateBtBrowserPlugin : public KTextEditor::Plugin
Q_OBJECT
public:
explicit KateBtBrowserPlugin(QObject *parent = 0, const QList<QVariant> & = QList<QVariant>());
explicit KateBtBrowserPlugin(QObject *parent = nullptr, const QList<QVariant> & = QList<QVariant>());
virtual ~KateBtBrowserPlugin();
static KateBtBrowserPlugin &self();
......@@ -58,7 +58,7 @@ Q_SIGNALS:
public:
int configPages() const Q_DECL_OVERRIDE;
KTextEditor::ConfigPage *configPage(int number, QWidget *parent = 0) Q_DECL_OVERRIDE;
KTextEditor::ConfigPage *configPage(int number, QWidget *parent = nullptr) Q_DECL_OVERRIDE;
//
// private data
......@@ -116,7 +116,7 @@ class KateBtConfigWidget : public KTextEditor::ConfigPage, private Ui::BtConfigW
{
Q_OBJECT
public:
explicit KateBtConfigWidget(QWidget *parent = 0);
explicit KateBtConfigWidget(QWidget *parent = nullptr);
virtual ~KateBtConfigWidget();
QString name() const Q_DECL_OVERRIDE;
......@@ -141,7 +141,7 @@ class KateBtConfigDialog : public QDialog
{
Q_OBJECT
public:
KateBtConfigDialog(QWidget *parent = 0);
KateBtConfigDialog(QWidget *parent = nullptr);
~KateBtConfigDialog();
private:
......
......@@ -51,7 +51,7 @@ class CloseConfirmDialog : public QDialog, public Ui::CloseConfirmDialog
Q_OBJECT
public:
/// Default constructor
explicit CloseConfirmDialog(QList<KTextEditor::Document*>&, KToggleAction*, QWidget* const = 0);
explicit CloseConfirmDialog(QList<KTextEditor::Document*>&, KToggleAction*, QWidget* const = nullptr);
~CloseConfirmDialog();
private Q_SLOTS:
......
......@@ -119,7 +119,7 @@ class CloseExceptPlugin : public KTextEditor::Plugin, public KTextEditor::Sessio
Q_INTERFACES(KTextEditor::SessionConfigInterface)
public:
/// Default constructor
CloseExceptPlugin(QObject* = 0, const QList<QVariant>& = QList<QVariant>());
CloseExceptPlugin(QObject* = nullptr, const QList<QVariant>& = QList<QVariant>());
/// Destructor
virtual ~CloseExceptPlugin() {}
/// Create a new view of this plugin for the given main window
......
......@@ -33,7 +33,7 @@ class KateBookmarkHandler : public QObject, public KBookmarkOwner
Q_OBJECT
public:
explicit KateBookmarkHandler( KateFileBrowser *parent, QMenu *kpopupmenu = 0 );
explicit KateBookmarkHandler( KateFileBrowser *parent, QMenu *kpopupmenu = nullptr );
~KateBookmarkHandler();
// KBookmarkOwner interface:
......
......@@ -138,7 +138,7 @@ void KateFileBrowser::setupToolbar()
// now add all actions to the toolbar
foreach (const QString& it, actions)
{
QAction *ac = 0;
QAction *ac = nullptr;
if (it.isEmpty()) continue;
if (it == QStringLiteral("bookmarks") || it == QStringLiteral("sync_dir") || it == QStringLiteral("configure"))
ac = actionCollection()->action(it);
......
......@@ -55,8 +55,8 @@ class KateFileBrowser : public QWidget
Q_OBJECT
public:
explicit KateFileBrowser( KTextEditor::MainWindow *mainWindow = 0,
QWidget * parent = 0);
explicit KateFileBrowser( KTextEditor::MainWindow *mainWindow = nullptr,
QWidget * parent = nullptr);
~KateFileBrowser();
void readSessionConfig (const KConfigGroup& config);
......
......@@ -46,7 +46,7 @@
class ActionLBItem : public QListWidgetItem
{
public:
ActionLBItem( QListWidget *lb = 0,
ActionLBItem( QListWidget *lb = nullptr,
const QIcon &pm = QIcon(),
const QString &text = QString(),
const QString &str = QString() ) :
......@@ -156,7 +156,7 @@ void KateFileBrowserConfigPage::init()
<< QStringLiteral("show hidden") /*<< QStringLiteral("view menu") << QStringLiteral("properties")*/
<< QStringLiteral("bookmarks") << QStringLiteral("sync_dir") << QStringLiteral("configure");
QRegExp re(QStringLiteral ("&(?=[^&])"));
QAction *ac = 0;
QAction *ac = nullptr;
QListWidget *lb;
for ( QStringList::Iterator it = allActions.begin(); it != allActions.end(); ++it )
{
......
......@@ -33,7 +33,7 @@ class KateFileBrowserConfigPage : public KTextEditor::ConfigPage
Q_OBJECT
public:
explicit KateFileBrowserConfigPage( QWidget* parent = 0, KateFileBrowser *kfb = 0);
explicit KateFileBrowserConfigPage( QWidget* parent = nullptr, KateFileBrowser *kfb = nullptr);
virtual ~KateFileBrowserConfigPage()
{}
......
......@@ -62,7 +62,7 @@ int KateFileBrowserPlugin::configPages() const
KTextEditor::ConfigPage *KateFileBrowserPlugin::configPage (int number, QWidget *parent)
{
if (number != 0)
return 0;
return nullptr;
return new KateFileBrowserConfigPage(parent, m_views[0]->m_fileBrowser);
}
//END KateFileBrowserPlugin
......
......@@ -37,14 +37,14 @@ class KateFileBrowserPlugin: public KTextEditor::Plugin
Q_OBJECT
public:
explicit KateFileBrowserPlugin( QObject* parent = 0, const QList<QVariant>& = QList<QVariant>() );
explicit KateFileBrowserPlugin( QObject* parent = nullptr, const QList<QVariant>& = QList<QVariant>() );
virtual ~KateFileBrowserPlugin()
{}
QObject *createView (KTextEditor::MainWindow *mainWindow) Q_DECL_OVERRIDE;
int configPages() const Q_DECL_OVERRIDE;
KTextEditor::ConfigPage *configPage (int number = 0, QWidget *parent = 0) Q_DECL_OVERRIDE;
KTextEditor::ConfigPage *configPage (int number = 0, QWidget *parent = nullptr) Q_DECL_OVERRIDE;
public Q_SLOTS:
void viewDestroyed(QObject* view);
......
......@@ -41,8 +41,8 @@ class DummyDocument : public KTextEditor::Document
DummyDocument (const char *url) : DummyDocument(QString::fromLatin1(url)) {}
virtual ~DummyDocument () {}
KTextEditor::View *createView ( QWidget *, KTextEditor::MainWindow * = nullptr ) Q_DECL_OVERRIDE { return 0; }
virtual KTextEditor::View *activeView() const { return 0; }
KTextEditor::View *createView ( QWidget *, KTextEditor::MainWindow * = nullptr ) Q_DECL_OVERRIDE { return nullptr; }
virtual KTextEditor::View *activeView() const { return nullptr; }
QList<KTextEditor::View*> views() const Q_DECL_OVERRIDE { return m_views; }
QString documentName() const Q_DECL_OVERRIDE { return m_name; }
......
......@@ -231,7 +231,7 @@ void KateFileTree::contextMenuEvent(QContextMenuEvent *event)
m_sortByOpeningOrder->setChecked(sortRole == KateFileTreeModel::OpeningOrderRole);
KTextEditor::Document *doc = m_indexContextMenu.data(KateFileTreeModel::DocumentRole).value<KTextEditor::Document *>();
const bool isFile = (0 != doc);
const bool isFile = (nullptr != doc);
QMenu menu;
menu.addAction(m_filelistReloadDocument);
......@@ -292,7 +292,7 @@ void KateFileTree::slotFixOpenWithMenu()
QMimeDatabase db;
QMimeType mime = db.mimeTypeForName(doc->mimeType());
QAction *a = 0;
QAction *a = nullptr;
KService::List offers = KMimeTypeTrader::self()->query(mime.name(), QLatin1String("Application"));
// for each one, insert a menu item...
for (KService::List::Iterator it = offers.begin(); it != offers.end(); ++it) {
......
......@@ -33,7 +33,7 @@ class KateFileTreeConfigPage : public KTextEditor::ConfigPage
{
Q_OBJECT
public:
explicit KateFileTreeConfigPage(QWidget *parent = 0, KateFileTreePlugin *plug = 0);
explicit KateFileTreeConfigPage(QWidget *parent = nullptr, KateFileTreePlugin *plug = nullptr);
~KateFileTreeConfigPage() {}
QString name() const Q_DECL_OVERRIDE;
......
......@@ -47,7 +47,7 @@ public:
enum Flag { None = 0, Dir = 1, Modified = 2, ModifiedExternally = 4, DeletedExternally = 8, Empty = 16, ShowFullPath = 32, Host = 64 };
Q_DECLARE_FLAGS(Flags, Flag)
ProxyItem(const QString &n, ProxyItemDir *p = 0, Flags f = ProxyItem::None);
ProxyItem(const QString &n, ProxyItemDir *p = nullptr, Flags f = ProxyItem::None);
~ProxyItem();
int addChild(ProxyItem *p);
......@@ -125,7 +125,7 @@ QDebug operator<<(QDebug dbg, ProxyItem *item)
class ProxyItemDir : public ProxyItem
{
public:
ProxyItemDir(QString n, ProxyItemDir *p = 0) : ProxyItem(n, p) {
ProxyItemDir(QString n, ProxyItemDir *p = nullptr) : ProxyItem(n, p) {
setFlag(ProxyItem::Dir);
updateDisplay();
......@@ -152,7 +152,7 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(ProxyItem::Flags)
//BEGIN ProxyItem
ProxyItem::ProxyItem(const QString &d, ProxyItemDir *p, ProxyItem::Flags f)
: m_path(d), m_parent(Q_NULLPTR), m_row(-1), m_flags(f), m_doc(0)
: m_path(d), m_parent(Q_NULLPTR), m_row(-1), m_flags(f), m_doc(nullptr)
{
updateDisplay();
......@@ -218,7 +218,7 @@ void ProxyItem::remChild(ProxyItem *item)
m_children[i]->m_row = i;
}
item->m_parent = 0;
item->m_parent = nullptr;
}
ProxyItemDir *ProxyItem::parent() const
......@@ -364,7 +364,7 @@ void ProxyItem::updateDocumentName()
KateFileTreeModel::KateFileTreeModel(QObject *p)
: QAbstractItemModel(p)
, m_root(new ProxyItemDir(QLatin1String("m_root"), 0))
, m_root(new ProxyItemDir(QLatin1String("m_root"), nullptr))
{
// setup default settings
// session init will set these all soon
......@@ -450,7 +450,7 @@ void KateFileTreeModel::clearModel()
beginRemoveRows(QModelIndex(), 0, qMax(m_root->childCount() - 1, 0));
delete m_root;
m_root = new ProxyItemDir(QLatin1String("m_root"), 0);
m_root = new ProxyItemDir(QLatin1String("m_root"), nullptr);
m_docmap.clear();
m_viewHistory.clear();
......@@ -485,7 +485,7 @@ Qt::ItemFlags KateFileTreeModel::flags(const QModelIndex &index) const
Qt::ItemFlags flags = Qt::ItemIsEnabled;
if (!index.isValid()) {
return 0;
return nullptr;
}
const ProxyItem *item = static_cast<ProxyItem *>(index.internalPointer());
......@@ -646,7 +646,7 @@ QModelIndex KateFileTreeModel::parent(const QModelIndex &index) const
QModelIndex KateFileTreeModel::index(int row, int column, const QModelIndex &parent) const
{
const ProxyItem *p = 0;
const ProxyItem *p = nullptr;
if (column != 0) {
return QModelIndex();
}
......@@ -915,7 +915,7 @@ void KateFileTreeModel::updateBackgrounds(bool force)
void KateFileTreeModel::handleEmptyParents(ProxyItemDir *item)
{
Q_ASSERT(item != 0);
Q_ASSERT(item != nullptr);
if (!item->parent()) {
return;
......@@ -1029,16 +1029,16 @@ ProxyItemDir *KateFileTreeModel::findRootNode(const QString &name, const int r)
}
}
return 0;
return nullptr;
}
ProxyItemDir *KateFileTreeModel::findChildNode(const ProxyItemDir *parent, const QString &name) const
{
Q_ASSERT(parent != 0);
Q_ASSERT(parent != nullptr);
Q_ASSERT(!name.isEmpty());
if (!parent->childCount()) {
return 0;
return nullptr;
}
foreach(ProxyItem * item, parent->children()) {
......@@ -1051,13 +1051,13 @@ ProxyItemDir *KateFileTreeModel::findChildNode(const ProxyItemDir *parent, const
}
}
return 0;
return nullptr;
}
void KateFileTreeModel::insertItemInto(ProxyItemDir *root, ProxyItem *item)
{
Q_ASSERT(root != 0);
Q_ASSERT(item != 0);
Q_ASSERT(root != nullptr);
Q_ASSERT(item != nullptr);
QString tail = item->path();
tail.remove(0, root->path().length());
......@@ -1093,7 +1093,7 @@ void KateFileTreeModel::insertItemInto(ProxyItemDir *root, ProxyItem *item)
void KateFileTreeModel::handleInsert(ProxyItem *item)
{
Q_ASSERT(item != 0);
Q_ASSERT(item != nullptr);
if (m_listMode || item->flag(ProxyItem::Empty)) {
beginInsertRows(QModelIndex(), m_root->childCount(), m_root->childCount());
......@@ -1238,7 +1238,7 @@ void KateFileTreeModel::handleDuplicitRootDisplay(ProxyItemDir *init)
void KateFileTreeModel::handleNameChange(ProxyItem *item)
{
Q_ASSERT(item != 0);
Q_ASSERT(item != nullptr);
Q_ASSERT(item->parent());
updateItemPathAndHost(item);
......@@ -1300,7 +1300,7 @@ void KateFileTreeModel::updateItemPathAndHost(ProxyItem *item) const
void KateFileTreeModel::setupIcon(ProxyItem *item) const
{
Q_ASSERT(item != 0);
Q_ASSERT(item != nullptr);
QString icon_name;
......
......@@ -83,7 +83,7 @@ int KateFileTreePlugin::configPages() const
KTextEditor::ConfigPage *KateFileTreePlugin::configPage(int number, QWidget *parent)
{
if (number != 0) {
return 0;
return nullptr;
}
KateFileTreeConfigPage *page = new KateFileTreeConfigPage(parent, this);
......
......@@ -46,13 +46,13 @@ class KateFileTreePlugin: public KTextEditor::Plugin
Q_OBJECT
public:
explicit KateFileTreePlugin(QObject *parent = 0, const QList<QVariant> & = QList<QVariant>());
explicit KateFileTreePlugin(QObject *parent = nullptr, const QList<QVariant> & = QList<QVariant>());
virtual ~KateFileTreePlugin();
QObject *createView(KTextEditor::MainWindow *mainWindow) Q_DECL_OVERRIDE;
int configPages() const Q_DECL_OVERRIDE;
KTextEditor::ConfigPage *configPage(int number = 0, QWidget *parent = 0) Q_DECL_OVERRIDE;
KTextEditor::ConfigPage *configPage(int number = 0, QWidget *parent = nullptr) Q_DECL_OVERRIDE;
const KateFileTreePluginSettings &settings();
......
......@@ -32,7 +32,7 @@ class KateFileTreeProxyModel : public QSortFilterProxyModel
Q_OBJECT
public:
KateFileTreeProxyModel(QObject *p = 0);
KateFileTreeProxyModel(QObject *p = nullptr);
QModelIndex docIndex(const KTextEditor::Document *) const;
bool isDir(const QModelIndex &i) const;
void setSourceModel(QAbstractItemModel *model) Q_DECL_OVERRIDE;
......
......@@ -38,7 +38,7 @@ public:
CustomStartIndex
};
AdvancedGDBSettings(QWidget *parent = 0);
AdvancedGDBSettings(QWidget *parent = nullptr);
~AdvancedGDBSettings();
const QStringList configs() const;
......
......@@ -105,13 +105,13 @@ ConfigView::ConfigView(QWidget* parent, KTextEditor::MainWindow* mainWin)
m_advancedSettings = new QPushButton(i18n("Advanced Settings"));
m_checBoxLayout = 0;
m_checBoxLayout = nullptr;
// first false then true to make sure a layout is set
m_useBottomLayout = false;
resizeEvent(0);
resizeEvent(nullptr);
m_useBottomLayout = true;
resizeEvent(0);
resizeEvent(nullptr);
m_advanced = new AdvancedGDBSettings(this);
m_advanced->hide();
......@@ -352,7 +352,7 @@ void ConfigView::resizeEvent(QResizeEvent *)
if (m_useBottomLayout && size().height() > size().width()) {
// Set layout for the side
delete m_checBoxLayout;
m_checBoxLayout = 0;
m_checBoxLayout = nullptr;
delete layout();
QGridLayout* layout = new QGridLayout(this);
......@@ -464,11 +464,11 @@ void ConfigView::slotBrowseExec()
// try current document dir
KTextEditor::View* view = m_mainWindow->activeView();
if (view != NULL) {
if (view != nullptr) {
exe = view->document()->url().toLocalFile();
}
}
m_executable->setText(QFileDialog::getOpenFileName((QWidget *)0, QString(), exe, QStringLiteral("application/x-executable")));
m_executable->setText(QFileDialog::getOpenFileName((QWidget *)nullptr, QString(), exe, QStringLiteral("application/x-executable")));
}
void ConfigView::slotBrowseDir()
......@@ -479,7 +479,7 @@ void ConfigView::slotBrowseDir()
// try current document dir
KTextEditor::View* view = m_mainWindow->activeView();
if (view != NULL) {
if (view != nullptr) {
dir = view->document()->url().toLocalFile();
}
}
......
......@@ -38,7 +38,7 @@ static const QString PromptStr = QStringLiteral("(prompt)");
DebugView::DebugView(QObject* parent)
: QObject(parent),
m_debugProcess(0),
m_debugProcess(nullptr),
m_state(none),
m_subState(normal),
m_debugLocationChanged(true),
......@@ -146,7 +146,7 @@ void DebugView::toggleBreakpoint(QUrl const& url, int line)
void DebugView::slotError()
{
KMessageBox::sorry(NULL, i18n("Could not start debugger process"));
KMessageBox::sorry(nullptr, i18n("Could not start debugger process"));
}
void DebugView::slotReadDebugStdOut()
......
......@@ -34,7 +34,7 @@ class IOView : public QWidget
{
Q_OBJECT
public:
IOView(QWidget *parent = 0);
IOView(QWidget *parent = nullptr);
~IOView();
const QString stdinFifo();
......
......@@ -28,7 +28,7 @@ class LocalsView : public QTreeWidget
{
Q_OBJECT
public:
LocalsView(QWidget *parent = 0);
LocalsView(QWidget *parent = nullptr);
~LocalsView();
public Q_SLOTS:
......
......@@ -156,7 +156,7 @@ KatePluginGDBView::KatePluginGDBView(KTextEditor::Plugin *plugin, KTextEditor::M
locStackSplitter->setOrientation(Qt::Vertical);
// config page
m_configView = new ConfigView(NULL, mainWin);
m_configView = new ConfigView(nullptr, mainWin);
m_ioView = new IOView();
connect(m_configView, SIGNAL(showIO(bool)),
......@@ -323,8 +323,8 @@ void KatePluginGDBView::writeSessionConfig(KConfigGroup& config)
void KatePluginGDBView::slotDebug()
{
disconnect(m_ioView, SIGNAL(stdOutText(QString)), 0, 0);
disconnect(m_ioView, SIGNAL(stdErrText(QString)), 0, 0);
disconnect(m_ioView, SIGNAL(stdOutText(QString)), nullptr, nullptr);
disconnect(m_ioView, SIGNAL(stdErrText(QString)), nullptr, nullptr);
if (m_configView->showIOTab()) {
connect(m_ioView, SIGNAL(stdOutText(QString)), m_ioView, SLOT(addStdOutText(QString)));
connect(m_ioView, SIGNAL(stdErrText(QString)), m_ioView, SLOT(addStdErrText(QString)));
......
......@@ -47,7 +47,7 @@ class KatePluginGDB : public KTextEditor::Plugin
Q_OBJECT
public:
explicit KatePluginGDB(QObject* parent = NULL, const VariantList& = VariantList());
explicit KatePluginGDB(QObject* parent = nullptr, const VariantList& = VariantList());
virtual ~KatePluginGDB();
QObject* createView(KTextEditor::MainWindow* mainWindow) Q_DECL_OVERRIDE;
......
......@@ -29,20 +29,20 @@ static CTagsKindMapping kindMappingAsm[] = {
{ 'd', I18N_NOOP2("Tag Type", "define") },
{ 'l', I18N_NOOP2("Tag Type", "label") },
{ 'm', I18N_NOOP2("Tag Type", "macro") },
{ 0 , 0 }
{ 0 , nullptr }
};
static CTagsKindMapping kindMappingAsp[] = {
{ 'f', I18N_NOOP2("Tag Type", "function") },
{ 's', I18N_NOOP2("Tag Type", "subroutine") },
{ 0 , 0 }
{ 0 , nullptr }
};
static CTagsKindMapping kindMappingAwk[] = {
{ 'f', I18N_NOOP2("Tag Type", "function") },
{ 0 , 0 }
{ 0 , nullptr }
};
......@@ -51,7 +51,7 @@ static CTagsKindMapping kindMappingBeta[] = {
{ 'p', I18N_NOOP2("Tag Type", "any pattern") },
{ 's', I18N_NOOP2("Tag Type", "slot") },
{ 'v', I18N_NOOP2("Tag Type", "pattern") },
{ 0 , 0 }
{ 0 , nullptr }
};
......@@ -69,13 +69,13 @@ static CTagsKindMapping kindMappingC[] = {
{ 'u', I18N_NOOP2("Tag Type", "union") },
{ 'v', I18N_NOOP2("Tag Type", "variable") },
{ 'x', I18N_NOOP2("Tag Type", "external variable") },
{ 0 , 0 }
{ 0 , nullptr }
};
static CTagsKindMapping kindMappingCobol[] = {
{ 'p', I18N_NOOP2("Tag Type", "paragraph") },
{ 0 , 0 }
{ 0 , nullptr }
};
......@@ -83,7 +83,7 @@ static CTagsKindMapping kindMappingEiffel[] = {
{ 'c', I18N_NOOP2("Tag Type", "class") },
{ 'f', I18N_NOOP2("Tag Type", "feature") },
{ 'l', I18N_NOOP2("Tag Type", "local entity") },
{ 0 , 0 }
{ 0 , nullptr }
};
......@@ -102,7 +102,7 @@ static CTagsKindMapping kindMappingFortran[] = {
{ 's', I18N_NOOP2("Tag Type", "subroutine") },
{ 't', I18N_NOOP2("Tag Type", "type") },
{ 'v', I18N_NOOP2("Tag Type", "variable") },
{ 0 , 0 }
{ 0 , nullptr }
};
......@@ -112,52 +112,52 @@ static CTagsKindMapping kindMappingJava[] = {
{ 'i', I18N_NOOP2("Tag Type", "interface") },
{ 'm', I18N_NOOP2("Tag Type", "method") },
{ 'p', I18N_NOOP2("Tag Type", "package") },
{ 0 , 0 }
{ 0 , nullptr }
};
static CTagsKindMapping kindMappingLisp[] = {
{ 'f', I18N_NOOP2("Tag Type", "function") },
{ 0 , 0 }
{ 0 , nullptr }
};
static CTagsKindMapping kindMappingMake[] = {
{ 'm', I18N_NOOP2("Tag Type", "macro") },
{ 0 , 0 }
{ 0 , nullptr }
};
static CTagsKindMapping kindMappingPascal[] = {
{ 'f', I18N_NOOP2("Tag Type", "function") },
{ 'p', I18N_NOOP2("Tag Type", "procedure") },
{ 0 , 0 }
{ 0 , nullptr }
};
static CTagsKindMapping kindMappingPerl[] = {
{ 's', I18N_NOOP2("Tag Type", "subroutine") },
{ 0 , 0 }
{ 0 , nullptr }
};
static CTagsKindMapping kindMappingPHP[] = {
{ 'c', I18N_NOOP2("Tag Type", "class") },
{ 'f', I18N_NOOP2("Tag Type", "function") },
{ 0 , 0 }