Changeset View
Changeset View
Standalone View
Standalone View
plugins/custom-definesandincludes/kcm_widget/parserwidget.cpp
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 48 | { | |||
---|---|---|---|---|---|
52 | case Utils::Cpp: | 52 | case Utils::Cpp: | ||
53 | return QStringLiteral("c++11"); | 53 | return QStringLiteral("c++11"); | ||
54 | case Utils::OpenCl: | 54 | case Utils::OpenCl: | ||
55 | return QStringLiteral("CL1.1"); | 55 | return QStringLiteral("CL1.1"); | ||
56 | case Utils::Cuda: | 56 | case Utils::Cuda: | ||
57 | return QStringLiteral("c++11"); | 57 | return QStringLiteral("c++11"); | ||
58 | case Utils::ObjC: | 58 | case Utils::ObjC: | ||
59 | return QStringLiteral("c99"); | 59 | return QStringLiteral("c99"); | ||
60 | case Utils::ObjCpp: | ||||
61 | return QStringLiteral("c++11"); | ||||
aaronpuchert: So here you say `c++11`. | |||||
Yes, but "there" too (if not I'm already in need of another vacation ^^) rjvbb: Yes, but "there" too (if not I'm already in need of another vacation ^^) | |||||
60 | case Utils::Other: | 62 | case Utils::Other: | ||
61 | break; | 63 | break; | ||
62 | } | 64 | } | ||
63 | Q_UNREACHABLE(); | 65 | Q_UNREACHABLE(); | ||
64 | } | 66 | } | ||
65 | 67 | | |||
66 | bool isCustomParserArguments(Utils::LanguageType languageType, const QString& arguments, const QStringList& standards) | 68 | bool isCustomParserArguments(Utils::LanguageType languageType, const QString& arguments, const QStringList& standards) | ||
67 | { | 69 | { | ||
▲ Show 20 Lines • Show All 151 Lines • Show Last 20 Lines |
So here you say c++11.