Differential D5978 Diff 15032 languages/plugins/custom-definesandincludes/compilerprovider/settingsmanager.cpp
Changeset View
Changeset View
Standalone View
Standalone View
languages/plugins/custom-definesandincludes/compilerprovider/settingsmanager.cpp
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | 76 | { | |||
---|---|---|---|---|---|
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 -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 -std=c++11"), | ||
86 | QStringLiteral("-ferror-limit=100 -fspell-checking -Wdocumentation -Wunused-parameter -Wunreachable-code -Wall -std=c++11"), | 86 | QStringLiteral("-ferror-limit=100 -fspell-checking -Wdocumentation -Wunused-parameter -Wunreachable-code -Wall -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 -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) | ||
▲ Show 20 Lines • Show All 333 Lines • Show Last 20 Lines |