aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/include/llvm/Frontend/Directive
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.ru>2022-02-10 16:44:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:30 +0300
commit2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch)
tree012bb94d777798f1f56ac1cec429509766d05181 /contrib/libs/llvm12/include/llvm/Frontend/Directive
parent6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff)
downloadydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/llvm12/include/llvm/Frontend/Directive')
-rw-r--r--contrib/libs/llvm12/include/llvm/Frontend/Directive/DirectiveBase.td90
1 files changed, 45 insertions, 45 deletions
diff --git a/contrib/libs/llvm12/include/llvm/Frontend/Directive/DirectiveBase.td b/contrib/libs/llvm12/include/llvm/Frontend/Directive/DirectiveBase.td
index e40f40f74c..ca5cc02b1a 100644
--- a/contrib/libs/llvm12/include/llvm/Frontend/Directive/DirectiveBase.td
+++ b/contrib/libs/llvm12/include/llvm/Frontend/Directive/DirectiveBase.td
@@ -35,10 +35,10 @@ class DirectiveLanguage {
// Make the enum values available in the namespace. This allows us to
// write something like Enum_X if we have a `using namespace cppNamespace`.
- bit makeEnumAvailableInNamespace = false;
+ bit makeEnumAvailableInNamespace = false;
// Generate include and macro to enable LLVM BitmaskEnum.
- bit enableBitmaskEnumInNamespace = false;
+ bit enableBitmaskEnumInNamespace = false;
// Header file included in the implementation code generated. Ususally the
// output file of the declaration code generation. Can be left blank.
@@ -46,26 +46,26 @@ class DirectiveLanguage {
// EnumSet class name used for clauses to generated the allowed clauses map.
string clauseEnumSetClass = "";
-
- // Class holding the clauses in the flang parse-tree.
- string flangClauseBaseClass = "";
-}
-
-// Information about values accepted by enum-like clauses
-class ClauseVal<string n, int v, bit uv> {
- // Name of the clause value.
- string name = n;
-
- // Integer value of the clause.
- int value = v;
-
- // Can user specify this value?
- bit isUserValue = uv;
-
- // Set clause value used by default when unknown.
- bit isDefault = false;
+
+ // Class holding the clauses in the flang parse-tree.
+ string flangClauseBaseClass = "";
}
+// Information about values accepted by enum-like clauses
+class ClauseVal<string n, int v, bit uv> {
+ // Name of the clause value.
+ string name = n;
+
+ // Integer value of the clause.
+ int value = v;
+
+ // Can user specify this value?
+ bit isUserValue = uv;
+
+ // Set clause value used by default when unknown.
+ bit isDefault = false;
+}
+
// Information about a specific clause.
class Clause<string c> {
// Name of the clause.
@@ -75,32 +75,32 @@ class Clause<string c> {
string alternativeName = "";
// Optional class holding value of the clause in clang AST.
- string clangClass = "";
+ string clangClass = "";
// Optional class holding value of the clause in flang AST.
- string flangClass = "";
-
- // If set to true, value is optional. Not optional by default.
- bit isValueOptional = false;
-
- // Name of enum when there is a list of allowed clause values.
- string enumClauseValue = "";
-
- // List of allowed clause values
- list<ClauseVal> allowedClauseValues = [];
- // If set to true, value class is part of a list. Single class by default.
- bit isValueList = false;
-
- // Define a default value such as "*".
- string defaultValue = "";
-
+ string flangClass = "";
+
+ // If set to true, value is optional. Not optional by default.
+ bit isValueOptional = false;
+
+ // Name of enum when there is a list of allowed clause values.
+ string enumClauseValue = "";
+
+ // List of allowed clause values
+ list<ClauseVal> allowedClauseValues = [];
+ // If set to true, value class is part of a list. Single class by default.
+ bit isValueList = false;
+
+ // Define a default value such as "*".
+ string defaultValue = "";
+
// Is clause implicit? If clause is set as implicit, the default kind will
// be return in get<LanguageName>ClauseKind instead of their own kind.
- bit isImplicit = false;
+ bit isImplicit = false;
- // Set clause used by default when unknown. Function returning the kind
+ // Set clause used by default when unknown. Function returning the kind
// of enumeration will use this clause as the default.
- bit isDefault = false;
+ bit isDefault = false;
}
// Hold information about clause validity by version.
@@ -124,10 +124,10 @@ class Directive<string d> {
// function.
string alternativeName = "";
- // Clauses cannot appear twice in the three allowed lists below. Also, since
- // required implies allowed, the same clause cannot appear in both the
- // allowedClauses and requiredClauses lists.
-
+ // Clauses cannot appear twice in the three allowed lists below. Also, since
+ // required implies allowed, the same clause cannot appear in both the
+ // allowedClauses and requiredClauses lists.
+
// List of allowed clauses for the directive.
list<VersionedClause> allowedClauses = [];
@@ -141,5 +141,5 @@ class Directive<string d> {
list<VersionedClause> requiredClauses = [];
// Set directive used by default when unknown.
- bit isDefault = false;
+ bit isDefault = false;
}