aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/gccparser.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2017-08-30 02:18:29 +0300
committerOrgad Shaneh <orgads@gmail.com>2017-08-30 08:00:42 +0000
commit6467fe28ce7f52853d66cf3bd5e6ce5934424445 (patch)
treedb9d6a733bfb60953c1016cb54401889103ca83d /src/plugins/projectexplorer/gccparser.cpp
parenta5625f2f9d4af14a4f0b8fe085092793d3abb053 (diff)
ProjectExplorer: Parse another type of undefined reference error
obj/gtest-clang-printing.o:gtest-clang-printing.cpp:llvm::VerifyDisableABIBreakingChecks: error: undefined reference to 'llvm::DisableABIBreakingChecks' Change-Id: Ifca2670c088962f6b60b6de522eb9e19e472bdb4 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/gccparser.cpp')
-rw-r--r--src/plugins/projectexplorer/gccparser.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/gccparser.cpp b/src/plugins/projectexplorer/gccparser.cpp
index bbc27aeb55..9b1fe34256 100644
--- a/src/plugins/projectexplorer/gccparser.cpp
+++ b/src/plugins/projectexplorer/gccparser.cpp
@@ -863,6 +863,18 @@ void ProjectExplorerPlugin::testGccOutputParsers_data()
)
<< QString();
+ QTest::newRow("ld: undefined member function reference")
+ << "obj/gtest-clang-printing.o:gtest-clang-printing.cpp:llvm::VerifyDisableABIBreakingChecks: error: undefined reference to 'llvm::DisableABIBreakingChecks'"
+ << OutputParserTester::STDERR
+ << QString() << QString()
+ << (QList<Task>()
+ << Task(Task::Error,
+ QLatin1String("error: undefined reference to 'llvm::DisableABIBreakingChecks'"),
+ Utils::FileName::fromString("gtest-clang-printing.cpp"), -1,
+ categoryCompile)
+ )
+ << QString();
+
QTest::newRow("Mac: ranlib warning")
<< QString::fromLatin1("ranlib: file: lib/libtest.a(Test0.cpp.o) has no symbols")
<< OutputParserTester::STDERR