Differential D7876 Diff 19658 plugins/custom-definesandincludes/compilerprovider/settingsmanager.cpp
Changeset View
Changeset View
Standalone View
Standalone View
plugins/custom-definesandincludes/compilerprovider/settingsmanager.cpp
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Line(s) | |||||
76 | { | 76 | { | ||
77 | std::sort(list.begin(), list.end()); | 77 | std::sort(list.begin(), list.end()); | ||
78 | return list; | 78 | return list; | ||
79 | } | 79 | } | ||
80 | 80 | | |||
81 | ParserArguments defaultArguments() | 81 | ParserArguments defaultArguments() | ||
82 | { | 82 | { | ||
83 | const static ParserArguments arguments{ | 83 | const static ParserArguments arguments{ | ||
84 | QStringLiteral("-ferror-limit=100 -fspell-checking -Wdocumentation -Wunused-parameter -Wunreachable-code -Wall -std=c99"), | 84 | QStringLiteral("-ferror-limit=100 -fspell-checking -Wdocumentation -Wunused-parameter -Wunreachable-code -Wall -Wno-error -std=c99"), | ||
85 | QStringLiteral("-ferror-limit=100 -fspell-checking -Wdocumentation -Wunused-parameter -Wunreachable-code -Wall -std=c++11"), | 85 | QStringLiteral("-ferror-limit=100 -fspell-checking -Wdocumentation -Wunused-parameter -Wunreachable-code -Wall -Wno-error -std=c++11"), | ||
86 | QStringLiteral("-ferror-limit=100 -fspell-checking -Wdocumentation -Wunused-parameter -Wunreachable-code -Wall -std=CL1.1"), | 86 | QStringLiteral("-ferror-limit=100 -fspell-checking -Wdocumentation -Wunused-parameter -Wunreachable-code -Wall -Wno-error -std=CL1.1"), | ||
87 | QStringLiteral("-ferror-limit=100 -fspell-checking -Wdocumentation -Wunused-parameter -Wunreachable-code -Wall -std=c++11"), | 87 | QStringLiteral("-ferror-limit=100 -fspell-checking -Wdocumentation -Wunused-parameter -Wunreachable-code -Wall -Wno-error -std=c++11"), | ||
88 | true | 88 | true | ||
89 | }; | 89 | }; | ||
90 | 90 | | |||
91 | return arguments; | 91 | return arguments; | ||
92 | } | 92 | } | ||
93 | 93 | | |||
94 | CompilerPointer createCompilerFromConfig(KConfigGroup& cfg) | 94 | CompilerPointer createCompilerFromConfig(KConfigGroup& cfg) | ||
95 | { | 95 | { | ||
▲ Show 20 Lines • Show All 332 Lines • Show Last 20 Lines |