From 6b16db74c4346d5e1cf1b0c507379b0298b4b5a0 Mon Sep 17 00:00:00 2001 From: firewave Date: Fri, 26 Apr 2024 00:57:42 +0200 Subject: [PATCH] added Emacs C++ marker to comments [skip ci] --- cli/cmdlinelogger.h | 2 +- cli/cmdlineparser.h | 2 +- cli/cppcheckexecutor.h | 2 +- cli/cppcheckexecutorseh.h | 2 +- cli/executor.h | 2 +- cli/filelister.h | 2 +- cli/precompiled.h | 2 +- cli/processexecutor.h | 2 +- cli/signalhandler.h | 2 +- cli/singleexecutor.h | 2 +- cli/stacktrace.h | 2 +- cli/threadexecutor.h | 2 +- gui/aboutdialog.h | 2 +- gui/application.h | 2 +- gui/applicationdialog.h | 2 +- gui/applicationlist.h | 2 +- gui/checkstatistics.h | 2 +- gui/checkthread.h | 2 +- gui/codeeditor.h | 2 +- gui/codeeditorstyle.h | 2 +- gui/codeeditstylecontrols.h | 2 +- gui/codeeditstyledialog.h | 2 +- gui/common.h | 2 +- gui/compliancereportdialog.h | 2 +- gui/cppchecklibrarydata.h | 2 +- gui/csvreport.h | 2 +- gui/erroritem.h | 2 +- gui/filelist.h | 2 +- gui/fileviewdialog.h | 2 +- gui/helpdialog.h | 2 +- gui/libraryaddfunctiondialog.h | 2 +- gui/librarydialog.h | 2 +- gui/libraryeditargdialog.h | 2 +- gui/mainwindow.h | 2 +- gui/newsuppressiondialog.h | 2 +- gui/platforms.h | 2 +- gui/precompiled.h | 2 +- gui/precompiled_qmake.h | 2 +- gui/printablereport.h | 2 +- gui/projectfile.h | 2 +- gui/projectfiledialog.h | 2 +- gui/report.h | 2 +- gui/resultstree.h | 2 +- gui/resultsview.h | 2 +- gui/scratchpad.h | 2 +- gui/settingsdialog.h | 2 +- gui/showtypes.h | 2 +- gui/statsdialog.h | 2 +- gui/test/cppchecklibrarydata/testcppchecklibrarydata.h | 2 +- gui/test/filelist/testfilelist.h | 2 +- gui/test/projectfile/testprojectfile.h | 2 +- gui/test/translationhandler/testtranslationhandler.h | 2 +- gui/test/xmlreportv2/testxmlreportv2.h | 2 +- gui/threadhandler.h | 2 +- gui/threadresult.h | 2 +- gui/translationhandler.h | 2 +- gui/txtreport.h | 2 +- gui/xmlreport.h | 2 +- gui/xmlreportv2.h | 2 +- lib/addoninfo.h | 2 +- lib/analyzer.h | 2 +- lib/analyzerinfo.h | 2 +- lib/astutils.h | 2 +- lib/calculate.h | 2 +- lib/check.h | 2 +- lib/check64bit.h | 2 +- lib/checkassert.h | 2 +- lib/checkautovariables.h | 2 +- lib/checkbool.h | 2 +- lib/checkboost.h | 2 +- lib/checkbufferoverrun.h | 2 +- lib/checkclass.h | 2 +- lib/checkcondition.h | 2 +- lib/checkers.h | 2 +- lib/checkersreport.h | 2 +- lib/checkexceptionsafety.h | 2 +- lib/checkfunctions.h | 2 +- lib/checkinternal.h | 2 +- lib/checkio.h | 2 +- lib/checkleakautovar.h | 2 +- lib/checkmemoryleak.h | 2 +- lib/checknullpointer.h | 2 +- lib/checkother.h | 2 +- lib/checkpostfixoperator.h | 2 +- lib/checksizeof.h | 2 +- lib/checkstl.h | 2 +- lib/checkstring.h | 2 +- lib/checktype.h | 2 +- lib/checkuninitvar.h | 2 +- lib/checkunusedfunctions.h | 2 +- lib/checkunusedvar.h | 2 +- lib/checkvaarg.h | 2 +- lib/clangimport.h | 2 +- lib/color.h | 2 +- lib/config.h | 2 +- lib/cppcheck.h | 2 +- lib/ctu.h | 2 +- lib/errorlogger.h | 2 +- lib/errortypes.h | 2 +- lib/filesettings.h | 2 +- lib/findtoken.h | 2 +- lib/forwardanalyzer.h | 2 +- lib/fwdanalysis.h | 2 +- lib/importproject.h | 2 +- lib/infer.h | 2 +- lib/json.h | 2 +- lib/keywords.h | 2 +- lib/library.h | 2 +- lib/matchcompiler.h | 2 +- lib/mathlib.h | 2 +- lib/path.h | 2 +- lib/pathanalysis.h | 2 +- lib/pathmatch.h | 2 +- lib/platform.h | 2 +- lib/precompiled.h | 2 +- lib/preprocessor.h | 2 +- lib/programmemory.h | 2 +- lib/reverseanalyzer.h | 2 +- lib/settings.h | 2 +- lib/smallvector.h | 2 +- lib/sourcelocation.h | 2 +- lib/standards.h | 2 +- lib/summaries.h | 2 +- lib/suppressions.h | 2 +- lib/symboldatabase.h | 2 +- lib/templatesimplifier.h | 2 +- lib/timer.h | 2 +- lib/token.h | 2 +- lib/tokenize.h | 2 +- lib/tokenlist.h | 2 +- lib/tokenrange.h | 2 +- lib/utils.h | 2 +- lib/valueflow.h | 2 +- lib/valueptr.h | 2 +- lib/vfvalue.h | 2 +- lib/xml.h | 2 +- oss-fuzz/type2.h | 2 +- test/fixture.h | 2 +- test/helpers.h | 2 +- test/precompiled.h | 2 +- tools/triage/mainwindow.h | 2 +- 141 files changed, 141 insertions(+), 141 deletions(-) diff --git a/cli/cmdlinelogger.h b/cli/cmdlinelogger.h index 6f1657853274..db35bf130216 100644 --- a/cli/cmdlinelogger.h +++ b/cli/cmdlinelogger.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/cli/cmdlineparser.h b/cli/cmdlineparser.h index fcdd2157eccd..cc35e3df364e 100644 --- a/cli/cmdlineparser.h +++ b/cli/cmdlineparser.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/cppcheckexecutor.h b/cli/cppcheckexecutor.h index 8a740cffee06..16076cab0357 100644 --- a/cli/cppcheckexecutor.h +++ b/cli/cppcheckexecutor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/cppcheckexecutorseh.h b/cli/cppcheckexecutorseh.h index 4fa8276130dd..42955bbce7f4 100644 --- a/cli/cppcheckexecutorseh.h +++ b/cli/cppcheckexecutorseh.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/executor.h b/cli/executor.h index 74cf3c49c9c1..f0cbf4c16de5 100644 --- a/cli/executor.h +++ b/cli/executor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/filelister.h b/cli/filelister.h index 92479a730e5e..73498bfc9d31 100644 --- a/cli/filelister.h +++ b/cli/filelister.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/cli/precompiled.h b/cli/precompiled.h index c77546f480ec..a1075ef6a586 100644 --- a/cli/precompiled.h +++ b/cli/precompiled.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/cli/processexecutor.h b/cli/processexecutor.h index 675b7c429b9b..244ea4fdc460 100644 --- a/cli/processexecutor.h +++ b/cli/processexecutor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/signalhandler.h b/cli/signalhandler.h index 416846f36b95..c3df37328c8c 100644 --- a/cli/signalhandler.h +++ b/cli/signalhandler.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/singleexecutor.h b/cli/singleexecutor.h index b1d9ef5c67f8..79cac15f6a85 100644 --- a/cli/singleexecutor.h +++ b/cli/singleexecutor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/stacktrace.h b/cli/stacktrace.h index 4e96da9ac809..1e98d55ebc07 100644 --- a/cli/stacktrace.h +++ b/cli/stacktrace.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/cli/threadexecutor.h b/cli/threadexecutor.h index 1706cfffa4d8..7181e0873320 100644 --- a/cli/threadexecutor.h +++ b/cli/threadexecutor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/aboutdialog.h b/gui/aboutdialog.h index 7e46839d725d..a347a34448f2 100644 --- a/gui/aboutdialog.h +++ b/gui/aboutdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/application.h b/gui/application.h index 384f50d1a3a3..a7ffd34ffe91 100644 --- a/gui/application.h +++ b/gui/application.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/applicationdialog.h b/gui/applicationdialog.h index 4bc68bf5b130..dec386946cdf 100644 --- a/gui/applicationdialog.h +++ b/gui/applicationdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/applicationlist.h b/gui/applicationlist.h index 537ca51af350..e9f307577bfe 100644 --- a/gui/applicationlist.h +++ b/gui/applicationlist.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/checkstatistics.h b/gui/checkstatistics.h index e4d4da9d8eeb..5998c1f6b0c9 100644 --- a/gui/checkstatistics.h +++ b/gui/checkstatistics.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/checkthread.h b/gui/checkthread.h index 67e2eabe5e3d..9d24b805bd4d 100644 --- a/gui/checkthread.h +++ b/gui/checkthread.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/codeeditor.h b/gui/codeeditor.h index 7fb7a5f10688..481a5f8630d1 100644 --- a/gui/codeeditor.h +++ b/gui/codeeditor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/codeeditorstyle.h b/gui/codeeditorstyle.h index a700aa810eec..953d55bf0b2c 100644 --- a/gui/codeeditorstyle.h +++ b/gui/codeeditorstyle.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/codeeditstylecontrols.h b/gui/codeeditstylecontrols.h index 719d84d2a6a8..48f232db703a 100644 --- a/gui/codeeditstylecontrols.h +++ b/gui/codeeditstylecontrols.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/codeeditstyledialog.h b/gui/codeeditstyledialog.h index 331795d4fbc2..09a1418fa266 100644 --- a/gui/codeeditstyledialog.h +++ b/gui/codeeditstyledialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/common.h b/gui/common.h index e98d260e9ccb..b2c8a5ed581c 100644 --- a/gui/common.h +++ b/gui/common.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/compliancereportdialog.h b/gui/compliancereportdialog.h index ad3b79c5c45c..44d9c9b9907c 100644 --- a/gui/compliancereportdialog.h +++ b/gui/compliancereportdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/cppchecklibrarydata.h b/gui/cppchecklibrarydata.h index 2ccf9d93ba30..a2a709648dca 100644 --- a/gui/cppchecklibrarydata.h +++ b/gui/cppchecklibrarydata.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/csvreport.h b/gui/csvreport.h index b1bed2841cc2..64e846a4e570 100644 --- a/gui/csvreport.h +++ b/gui/csvreport.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/erroritem.h b/gui/erroritem.h index 507d7286df57..3bd50d22f63f 100644 --- a/gui/erroritem.h +++ b/gui/erroritem.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/filelist.h b/gui/filelist.h index 6e685e8617ba..d5423cd22df5 100644 --- a/gui/filelist.h +++ b/gui/filelist.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/fileviewdialog.h b/gui/fileviewdialog.h index 91c455eb8691..639132bfb489 100644 --- a/gui/fileviewdialog.h +++ b/gui/fileviewdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/helpdialog.h b/gui/helpdialog.h index 075005fd8f22..c890068ee897 100644 --- a/gui/helpdialog.h +++ b/gui/helpdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/libraryaddfunctiondialog.h b/gui/libraryaddfunctiondialog.h index d39666defb51..31d2f038ae27 100644 --- a/gui/libraryaddfunctiondialog.h +++ b/gui/libraryaddfunctiondialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/librarydialog.h b/gui/librarydialog.h index ac27d42756c4..d70d9d435b18 100644 --- a/gui/librarydialog.h +++ b/gui/librarydialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/libraryeditargdialog.h b/gui/libraryeditargdialog.h index 190f3d8f6443..c87d7198df3b 100644 --- a/gui/libraryeditargdialog.h +++ b/gui/libraryeditargdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/mainwindow.h b/gui/mainwindow.h index 6a039bf0af1f..12291046cd1c 100644 --- a/gui/mainwindow.h +++ b/gui/mainwindow.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/newsuppressiondialog.h b/gui/newsuppressiondialog.h index cba4de74272e..0a377a3e6caa 100644 --- a/gui/newsuppressiondialog.h +++ b/gui/newsuppressiondialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/platforms.h b/gui/platforms.h index dc941efbc755..419d3c7e67f9 100644 --- a/gui/platforms.h +++ b/gui/platforms.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/precompiled.h b/gui/precompiled.h index 7e10f3e1a18a..f2527c916338 100644 --- a/gui/precompiled.h +++ b/gui/precompiled.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/precompiled_qmake.h b/gui/precompiled_qmake.h index 9ef90ecfd402..204f43d842de 100644 --- a/gui/precompiled_qmake.h +++ b/gui/precompiled_qmake.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2022 Cppcheck team. * diff --git a/gui/printablereport.h b/gui/printablereport.h index 8df59ba914d6..0a32db96e293 100644 --- a/gui/printablereport.h +++ b/gui/printablereport.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/projectfile.h b/gui/projectfile.h index c86a68a01279..86fee143df78 100644 --- a/gui/projectfile.h +++ b/gui/projectfile.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/projectfiledialog.h b/gui/projectfiledialog.h index 29d13f38e4ab..773740879570 100644 --- a/gui/projectfiledialog.h +++ b/gui/projectfiledialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/report.h b/gui/report.h index 5cea9be508fc..1fa56190984c 100644 --- a/gui/report.h +++ b/gui/report.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2022 Cppcheck team. * diff --git a/gui/resultstree.h b/gui/resultstree.h index 7819fef264fd..682b1526c576 100644 --- a/gui/resultstree.h +++ b/gui/resultstree.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/resultsview.h b/gui/resultsview.h index ec97ccf74fff..49e128bf1b4b 100644 --- a/gui/resultsview.h +++ b/gui/resultsview.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/scratchpad.h b/gui/scratchpad.h index bd75afe93e63..d43a7daed458 100644 --- a/gui/scratchpad.h +++ b/gui/scratchpad.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/settingsdialog.h b/gui/settingsdialog.h index 7b1fb694c5f2..bf867ab3a0d8 100644 --- a/gui/settingsdialog.h +++ b/gui/settingsdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/showtypes.h b/gui/showtypes.h index 605eaee17e1a..07b815f4061f 100644 --- a/gui/showtypes.h +++ b/gui/showtypes.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/statsdialog.h b/gui/statsdialog.h index 62c93fcab580..f9e0a28136f9 100644 --- a/gui/statsdialog.h +++ b/gui/statsdialog.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/test/cppchecklibrarydata/testcppchecklibrarydata.h b/gui/test/cppchecklibrarydata/testcppchecklibrarydata.h index 079436f55094..15f79b67c7e9 100644 --- a/gui/test/cppchecklibrarydata/testcppchecklibrarydata.h +++ b/gui/test/cppchecklibrarydata/testcppchecklibrarydata.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. * diff --git a/gui/test/filelist/testfilelist.h b/gui/test/filelist/testfilelist.h index 1089499932a8..b0f1fb256c60 100644 --- a/gui/test/filelist/testfilelist.h +++ b/gui/test/filelist/testfilelist.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. * diff --git a/gui/test/projectfile/testprojectfile.h b/gui/test/projectfile/testprojectfile.h index 7da5900238de..fbeae1db2517 100644 --- a/gui/test/projectfile/testprojectfile.h +++ b/gui/test/projectfile/testprojectfile.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. * diff --git a/gui/test/translationhandler/testtranslationhandler.h b/gui/test/translationhandler/testtranslationhandler.h index 45bd1ae51869..4c91a9670f9f 100644 --- a/gui/test/translationhandler/testtranslationhandler.h +++ b/gui/test/translationhandler/testtranslationhandler.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. * diff --git a/gui/test/xmlreportv2/testxmlreportv2.h b/gui/test/xmlreportv2/testxmlreportv2.h index d5d0f659f93f..2b07aab47245 100644 --- a/gui/test/xmlreportv2/testxmlreportv2.h +++ b/gui/test/xmlreportv2/testxmlreportv2.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. * diff --git a/gui/threadhandler.h b/gui/threadhandler.h index e2b06c3e590b..63f18ab54e35 100644 --- a/gui/threadhandler.h +++ b/gui/threadhandler.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/threadresult.h b/gui/threadresult.h index faea466d44db..362deb312422 100644 --- a/gui/threadresult.h +++ b/gui/threadresult.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/translationhandler.h b/gui/translationhandler.h index 88cb087c3667..0b2988f583ed 100644 --- a/gui/translationhandler.h +++ b/gui/translationhandler.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/gui/txtreport.h b/gui/txtreport.h index d3e74f93d7c8..8c844e6f0382 100644 --- a/gui/txtreport.h +++ b/gui/txtreport.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/gui/xmlreport.h b/gui/xmlreport.h index e275749300bc..936414d1f48e 100644 --- a/gui/xmlreport.h +++ b/gui/xmlreport.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2022 Cppcheck team. * diff --git a/gui/xmlreportv2.h b/gui/xmlreportv2.h index f32cd6ebe78f..6f5834b34174 100644 --- a/gui/xmlreportv2.h +++ b/gui/xmlreportv2.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/addoninfo.h b/lib/addoninfo.h index 5e4443eb8bd3..a416960dcc0b 100644 --- a/lib/addoninfo.h +++ b/lib/addoninfo.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/analyzer.h b/lib/analyzer.h index d6bcec727a7d..a7689e2f3426 100644 --- a/lib/analyzer.h +++ b/lib/analyzer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/analyzerinfo.h b/lib/analyzerinfo.h index 1818fa22c1cc..e05f08e83171 100644 --- a/lib/analyzerinfo.h +++ b/lib/analyzerinfo.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/astutils.h b/lib/astutils.h index b86674e0af46..dfd5b24d09ed 100644 --- a/lib/astutils.h +++ b/lib/astutils.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/calculate.h b/lib/calculate.h index b5ed6e3ea919..3812962cff4c 100644 --- a/lib/calculate.h +++ b/lib/calculate.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/check.h b/lib/check.h index dc4a12d8b97e..ce128ee7d255 100644 --- a/lib/check.h +++ b/lib/check.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/check64bit.h b/lib/check64bit.h index 34d26e81bb2b..9b154fa1912c 100644 --- a/lib/check64bit.h +++ b/lib/check64bit.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkassert.h b/lib/checkassert.h index 7de7106fe678..ff8ac491e962 100644 --- a/lib/checkassert.h +++ b/lib/checkassert.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkautovariables.h b/lib/checkautovariables.h index 3351d8cd76d0..fb4f116d5a0d 100644 --- a/lib/checkautovariables.h +++ b/lib/checkautovariables.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkbool.h b/lib/checkbool.h index cceb0540ce15..8a4b151829e2 100644 --- a/lib/checkbool.h +++ b/lib/checkbool.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkboost.h b/lib/checkboost.h index b8be552136fe..f66b0eadfaaa 100644 --- a/lib/checkboost.h +++ b/lib/checkboost.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkbufferoverrun.h b/lib/checkbufferoverrun.h index 6b99021f6958..40caa04476a8 100644 --- a/lib/checkbufferoverrun.h +++ b/lib/checkbufferoverrun.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkclass.h b/lib/checkclass.h index bbbb1035fd22..69383fa49409 100644 --- a/lib/checkclass.h +++ b/lib/checkclass.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkcondition.h b/lib/checkcondition.h index c1edd6e9a09d..111a633900ff 100644 --- a/lib/checkcondition.h +++ b/lib/checkcondition.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkers.h b/lib/checkers.h index 4297665b01d8..9e44f6a0d562 100644 --- a/lib/checkers.h +++ b/lib/checkers.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/checkersreport.h b/lib/checkersreport.h index e0c8654e08f5..caf1d7c20fbd 100644 --- a/lib/checkersreport.h +++ b/lib/checkersreport.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/checkexceptionsafety.h b/lib/checkexceptionsafety.h index dea6ee534bea..0a1c19221783 100644 --- a/lib/checkexceptionsafety.h +++ b/lib/checkexceptionsafety.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkfunctions.h b/lib/checkfunctions.h index 2519c5ca4b45..e92251e53a60 100644 --- a/lib/checkfunctions.h +++ b/lib/checkfunctions.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkinternal.h b/lib/checkinternal.h index 87ef2323c43b..e308ec0dbbdf 100644 --- a/lib/checkinternal.h +++ b/lib/checkinternal.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkio.h b/lib/checkio.h index 140ceb910a57..9c5bb48e71ec 100644 --- a/lib/checkio.h +++ b/lib/checkio.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkleakautovar.h b/lib/checkleakautovar.h index 3c3bd262c29b..830f8b318600 100644 --- a/lib/checkleakautovar.h +++ b/lib/checkleakautovar.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkmemoryleak.h b/lib/checkmemoryleak.h index de13039cfec9..608b63517c86 100644 --- a/lib/checkmemoryleak.h +++ b/lib/checkmemoryleak.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checknullpointer.h b/lib/checknullpointer.h index f797a8f6d206..ba733330bbb9 100644 --- a/lib/checknullpointer.h +++ b/lib/checknullpointer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkother.h b/lib/checkother.h index f2726bfd4e32..faadbf6282fd 100644 --- a/lib/checkother.h +++ b/lib/checkother.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkpostfixoperator.h b/lib/checkpostfixoperator.h index b1f6418875ac..e30bfb7cf984 100644 --- a/lib/checkpostfixoperator.h +++ b/lib/checkpostfixoperator.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checksizeof.h b/lib/checksizeof.h index 6924a1d2b7b2..81d6db49c646 100644 --- a/lib/checksizeof.h +++ b/lib/checksizeof.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkstl.h b/lib/checkstl.h index e1a3162202b2..ab3a6f711fb4 100644 --- a/lib/checkstl.h +++ b/lib/checkstl.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkstring.h b/lib/checkstring.h index 5a2b60507da9..8fb6efd697ff 100644 --- a/lib/checkstring.h +++ b/lib/checkstring.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checktype.h b/lib/checktype.h index 43f1340c172f..d0130a3ade74 100644 --- a/lib/checktype.h +++ b/lib/checktype.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkuninitvar.h b/lib/checkuninitvar.h index ed6f1734d0de..5f5b19f0d7b1 100644 --- a/lib/checkuninitvar.h +++ b/lib/checkuninitvar.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkunusedfunctions.h b/lib/checkunusedfunctions.h index 65b22eb061ea..88a411cc048a 100644 --- a/lib/checkunusedfunctions.h +++ b/lib/checkunusedfunctions.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkunusedvar.h b/lib/checkunusedvar.h index 9c697dcfc321..55d7735651d6 100644 --- a/lib/checkunusedvar.h +++ b/lib/checkunusedvar.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/checkvaarg.h b/lib/checkvaarg.h index f4d5c214a9fd..63d7ddbe3c04 100644 --- a/lib/checkvaarg.h +++ b/lib/checkvaarg.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/clangimport.h b/lib/clangimport.h index d3ceb1053350..0475491d9af5 100644 --- a/lib/clangimport.h +++ b/lib/clangimport.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/color.h b/lib/color.h index 247de299200a..a9cb5bdfec61 100644 --- a/lib/color.h +++ b/lib/color.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/config.h b/lib/config.h index 3674f7786e09..0aecf2c52d50 100644 --- a/lib/config.h +++ b/lib/config.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/cppcheck.h b/lib/cppcheck.h index 2ca1f0238e94..8fdcaffc7f47 100644 --- a/lib/cppcheck.h +++ b/lib/cppcheck.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/ctu.h b/lib/ctu.h index 7dd4a4c823ef..6d89bf3c0bda 100644 --- a/lib/ctu.h +++ b/lib/ctu.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/errorlogger.h b/lib/errorlogger.h index c396781a31ff..c4466e6836c8 100644 --- a/lib/errorlogger.h +++ b/lib/errorlogger.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/errortypes.h b/lib/errortypes.h index 3e9a6a41426e..9ed5dd2b8cbd 100644 --- a/lib/errortypes.h +++ b/lib/errortypes.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/filesettings.h b/lib/filesettings.h index d6edc1e443de..d4b9b34d908e 100644 --- a/lib/filesettings.h +++ b/lib/filesettings.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/findtoken.h b/lib/findtoken.h index 647cbda77460..9a5d6cbd2eb4 100644 --- a/lib/findtoken.h +++ b/lib/findtoken.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/forwardanalyzer.h b/lib/forwardanalyzer.h index f5c2249720f8..7b722f48c352 100644 --- a/lib/forwardanalyzer.h +++ b/lib/forwardanalyzer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/fwdanalysis.h b/lib/fwdanalysis.h index 4b86af72d69b..4650de41b5ae 100644 --- a/lib/fwdanalysis.h +++ b/lib/fwdanalysis.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/importproject.h b/lib/importproject.h index 54a8f6f0cd20..44d5d60f60cc 100644 --- a/lib/importproject.h +++ b/lib/importproject.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/infer.h b/lib/infer.h index ed477380a8fa..eeb2e7077e2c 100644 --- a/lib/infer.h +++ b/lib/infer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/json.h b/lib/json.h index f4177b5cf421..0dcefd3d5dcf 100644 --- a/lib/json.h +++ b/lib/json.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/keywords.h b/lib/keywords.h index 4b03c18aa74f..c57ad7b17cd5 100644 --- a/lib/keywords.h +++ b/lib/keywords.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/library.h b/lib/library.h index fe6ed3fc1bd8..bedd6f3e40ee 100644 --- a/lib/library.h +++ b/lib/library.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/matchcompiler.h b/lib/matchcompiler.h index 323f455050b8..fedbab38a24f 100644 --- a/lib/matchcompiler.h +++ b/lib/matchcompiler.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/mathlib.h b/lib/mathlib.h index 795250feaf1a..6facd0d9ed91 100644 --- a/lib/mathlib.h +++ b/lib/mathlib.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/path.h b/lib/path.h index 9e0e733046cc..7e39b9dda6f5 100644 --- a/lib/path.h +++ b/lib/path.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/pathanalysis.h b/lib/pathanalysis.h index 94c3318a8269..e339d423fe7f 100644 --- a/lib/pathanalysis.h +++ b/lib/pathanalysis.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/pathmatch.h b/lib/pathmatch.h index 7c8df1edc83c..e04326b80c36 100644 --- a/lib/pathmatch.h +++ b/lib/pathmatch.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2022 Cppcheck team. * diff --git a/lib/platform.h b/lib/platform.h index e822d0bb77c7..1f11a59110f3 100644 --- a/lib/platform.h +++ b/lib/platform.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/precompiled.h b/lib/precompiled.h index 872dd00e940a..ad4f3efe5c5f 100644 --- a/lib/precompiled.h +++ b/lib/precompiled.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/preprocessor.h b/lib/preprocessor.h index 08c856f17faa..807de96d7bfd 100644 --- a/lib/preprocessor.h +++ b/lib/preprocessor.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/programmemory.h b/lib/programmemory.h index 4e34cafa00c4..18918ecd445e 100644 --- a/lib/programmemory.h +++ b/lib/programmemory.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/reverseanalyzer.h b/lib/reverseanalyzer.h index 3f0285e5e566..2a9877fb3374 100644 --- a/lib/reverseanalyzer.h +++ b/lib/reverseanalyzer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/settings.h b/lib/settings.h index 750674abd68e..925ddccb7844 100644 --- a/lib/settings.h +++ b/lib/settings.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/smallvector.h b/lib/smallvector.h index b09a016dd18d..dc6c171b4a35 100644 --- a/lib/smallvector.h +++ b/lib/smallvector.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/sourcelocation.h b/lib/sourcelocation.h index 759f30d15c4d..6661f4df24f9 100644 --- a/lib/sourcelocation.h +++ b/lib/sourcelocation.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/standards.h b/lib/standards.h index 34d1882a067e..b724f8be0155 100644 --- a/lib/standards.h +++ b/lib/standards.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/summaries.h b/lib/summaries.h index b15cc5e9446f..87d3c5b5d634 100644 --- a/lib/summaries.h +++ b/lib/summaries.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/suppressions.h b/lib/suppressions.h index 98a582a985a8..091a02362c3b 100644 --- a/lib/suppressions.h +++ b/lib/suppressions.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/symboldatabase.h b/lib/symboldatabase.h index 72dff5c99bf8..d58d02b86172 100644 --- a/lib/symboldatabase.h +++ b/lib/symboldatabase.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/templatesimplifier.h b/lib/templatesimplifier.h index 46749a2ab6ce..82d899f662cb 100644 --- a/lib/templatesimplifier.h +++ b/lib/templatesimplifier.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/timer.h b/lib/timer.h index a42f72b57a9a..bb8e5696665f 100644 --- a/lib/timer.h +++ b/lib/timer.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/token.h b/lib/token.h index cd7ab117ba7e..deba6452c6d0 100644 --- a/lib/token.h +++ b/lib/token.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/tokenize.h b/lib/tokenize.h index c1145a3c7815..ce0f9e9825c0 100644 --- a/lib/tokenize.h +++ b/lib/tokenize.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/tokenlist.h b/lib/tokenlist.h index c03cf3b6382e..2c34346515ce 100644 --- a/lib/tokenlist.h +++ b/lib/tokenlist.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/tokenrange.h b/lib/tokenrange.h index dda2710e8819..762a4dbc57bb 100644 --- a/lib/tokenrange.h +++ b/lib/tokenrange.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/utils.h b/lib/utils.h index 345027368634..0598b777eb32 100644 --- a/lib/utils.h +++ b/lib/utils.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/valueflow.h b/lib/valueflow.h index 7977c62c2ba4..016333674611 100644 --- a/lib/valueflow.h +++ b/lib/valueflow.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/lib/valueptr.h b/lib/valueptr.h index 3bb3f71e2605..757d6826dead 100644 --- a/lib/valueptr.h +++ b/lib/valueptr.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/vfvalue.h b/lib/vfvalue.h index b3a7598cbedd..a86285336cbf 100644 --- a/lib/vfvalue.h +++ b/lib/vfvalue.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/lib/xml.h b/lib/xml.h index c8c258d973a9..5684b1e12aff 100644 --- a/lib/xml.h +++ b/lib/xml.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/oss-fuzz/type2.h b/oss-fuzz/type2.h index 8a7997b19ec4..aad93c5b9efe 100644 --- a/oss-fuzz/type2.h +++ b/oss-fuzz/type2.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2022 Cppcheck team. * diff --git a/test/fixture.h b/test/fixture.h index 1defa6ac3aff..c134468d0f82 100644 --- a/test/fixture.h +++ b/test/fixture.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/test/helpers.h b/test/helpers.h index 2360b159f1ae..49a770548386 100644 --- a/test/helpers.h +++ b/test/helpers.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2024 Cppcheck team. * diff --git a/test/precompiled.h b/test/precompiled.h index 9fba4c2a6598..ce71f4071f5d 100644 --- a/test/precompiled.h +++ b/test/precompiled.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2023 Cppcheck team. * diff --git a/tools/triage/mainwindow.h b/tools/triage/mainwindow.h index 6c5085b4d1d1..cac725963bd0 100644 --- a/tools/triage/mainwindow.h +++ b/tools/triage/mainwindow.h @@ -1,4 +1,4 @@ -/* +/* -*- C++ -*- * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. *