Home
last modified time | relevance | path

Searched refs:statement (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-death-test.h183 # define ASSERT_DEATH(statement, regex) \ argument
188 # define EXPECT_DEATH(statement, regex) \ argument
263 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument
264 GTEST_EXECUTE_STATEMENT_(statement, regex)
266 # define ASSERT_DEBUG_DEATH(statement, regex) \ argument
267 GTEST_EXECUTE_STATEMENT_(statement, regex)
271 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument
272 EXPECT_DEATH(statement, regex)
275 ASSERT_DEATH(statement, regex)
335 EXPECT_DEATH(statement, regex)
[all …]
H A Dgtest-spi.h143 #define EXPECT_FATAL_FAILURE(statement, substr) \ argument
147 static void Execute() { statement; }\
160 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
164 static void Execute() { statement; }\
209 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ argument
219 if (::testing::internal::AlwaysTrue()) { statement; }\
223 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
233 if (::testing::internal::AlwaysTrue()) { statement; }\
/llvm-project-15.0.7/polly/utils/pyscop/
H A Djscop2iscc.py9 for statement in scop['statements']:
10 domain = domain.union(isl.USet(statement['domain']))
19 for statement in scop['statements']:
20 for access in statement['accesses']:
29 for statement in scop['statements']:
30 for access in statement['accesses']:
41 for statement in scop['statements']:
42 schedule = schedule.union(isl.UMap(statement['schedule']))
/llvm-project-15.0.7/flang/lib/Parser/
H A Dprogram-parsers.cpp71 many(statement(indirect(Parser<UseStmt>{}))),
106 statement(indirect(formatStmt))),
138 many(statement(indirect(Parser<UseStmt>{}))),
150 statement(indirect(Parser<GenericStmt>{}))),
154 statement(indirect(oldParameterStmt))),
158 statement(Parser<OtherSpecificationStmt>{})),
160 statement(indirect(typeDeclarationStmt))),
236 construct<ModuleSubprogramPart>(statement(containsStmt),
321 statement(Parser<EndInterfaceStmt>{})))
343 statement(endSubroutineStmt))))
[all …]
H A Dexecutable-parsers.cpp65 statement("REDIMENSION" >> name /
75 statement(indirect(entryStmt))),
77 statement(indirect(dataStmt))),
146 statement(Parser<EndAssociateStmt>{})))
170 block, statement(Parser<EndBlockStmt>{})))
194 statement(Parser<EndChangeTeamStmt>{})))
226 statement(Parser<EndCriticalStmt>{})))
318 statement(construct<EndIfStmt>(
332 statement(endSelectStmt)))
376 statement(endSelectStmt)))
[all …]
H A DFortran-parsers.cpp115 construct<ImplicitPartStmt>(statement(indirect(formatStmt))),
116 construct<ImplicitPartStmt>(statement(indirect(entryStmt))),
129 construct<InternalSubprogramPart>(statement(containsStmt),
359 many(statement(Parser<PrivateOrSequence>{})),
363 statement(Parser<EndTypeStmt>{})))
507 construct<TypeBoundProcedurePart>(statement(containsStmt),
508 maybe(statement(Parser<PrivateStmt>{})),
509 many(statement(Parser<TypeBoundProcBinding>{}))))
593 construct<EnumDef>(statement(Parser<EnumDefStmt>{}), in TYPE_PARSER()
595 statement(Parser<EndEnumStmt>{})))
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h87 static bool Create(const char* statement, Matcher<const std::string&> matcher,
153 virtual bool Create(const char* statement, in GTEST_DISABLE_MSC_WARNINGS_POP_()
161 bool Create(const char* statement, Matcher<const std::string&> matcher,
194 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ argument
196 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
211 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ argument
212 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
218 #define GTEST_DEATH_TEST_(statement, predicate, regex_or_matcher, fail) \ argument
223 #statement, \
256 #define GTEST_EXECUTE_STATEMENT_(statement, regex_or_matcher) \ argument
[all …]
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dprogram-tree.cpp23 node.AddEntry(entryStmt->statement.value()); in GetEntryStmts()
31 node.AddEntry(entryStmt->statement.value()); in GetEntryStmts()
42 node.AddEntry(entryStmt->statement.value()); in GetEntryStmts()
67 .statement}; in GetGenerics()
139 const auto &name{std::get<parser::Name>(stmt.statement.t)}; in Build()
159 stmt.statement.t)}) { in Build()
172 const auto &name{stmt.statement.v}; in Build()
179 const auto &name{stmt.statement.v}; in Build()
194 auto result{stmt.statement.v ? BuildSubprogramTree(*stmt.statement.v, x) in Build()
224 return &std::get<ListType>(x->statement.t); in HasModulePrefix()
[all …]
H A Dresolve-labels.cpp83 actionStmt.statement.u) || in IsLegalDoTerm()
138 const parser::Statement<A> &statement) { in ConstructBranchTargetFlags() argument
150 if (IsFormat(statement)) { in ConstructBranchTargetFlags()
179 return &stmt.statement.v.source; in GetStmtName()
181 name = &stmt.statement.v; in GetStmtName()
185 name = &std::get<0>(stmt.statement.t); in GetStmtName()
223 currentPosition_ = statement.source; in Pre()
224 const auto &label = statement.label; in Pre()
395 .statement.v}) { in Post()
594 .statement.v}; in PushConstructName()
[all …]
H A Dcanonicalize-do.cpp81 auto &label{std::get<Label>(labelDoStmt.statement.value().t)}; in Post()
99 Block::iterator &i, Statement<T> &statement) { in CanonicalizeIfMatch() argument
100 if (!stack.empty() && statement.label && in CanonicalizeIfMatch()
101 stack.back().label == *statement.label) { in CanonicalizeIfMatch()
119 std::get<std::optional<LoopControl>>(labelDo.statement.value().t)}; in CanonicalizeIfMatch()
120 auto &name{std::get<std::optional<Name>>(labelDo.statement.value().t)}; in CanonicalizeIfMatch()
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/cxx/
H A Dcxx.bnf274 statement := labeled-statement
275 statement := expression-statement
276 statement := compound-statement
277 statement := selection-statement
278 statement := iteration-statement
279 statement := jump-statement
280 statement := declaration-statement
282 init-statement := expression-statement
288 labeled-statement := DEFAULT : statement
291 statement-seq := statement
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/performance/
H A Dinefficient-vector-operation.rst14 statement body:
25 // statement before the for statement.
33 // 'p.mutable_xxx().Reserve(n)' statement before the for statement.
50 // 'reserve(data.size())' statement before the for statement.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dmultiple-statement-macro.rst1 .. title:: clang-tidy - bugprone-multiple-statement-macro
3 bugprone-multiple-statement-macro
6 Detect multiple statement macros that are used in unbraced conditionals. Only
7 the first statement of the macro will be inside the conditional and the other
H A Dredundant-branch-condition.rst7 the outer ``if`` statement and were not changed.
19 Here `onFire` is checked both in the outer ``if`` and the inner ``if`` statement
47 The condition of the outer ``if`` statement may also be a logical "and" (``&&``)
60 The error is also detected if both the outer statement is a logical "and"
61 (``&&``) and the inner statement is a logical "and" (``&&``) or "or" (``||``).
62 The inner ``if`` statement does not have to be a direct descendant of the outer
/llvm-project-15.0.7/polly/utils/
H A Djscop2cloog.py11 for statement in scop['statements']:
12 output += "%s\n\n" % statement['domain']
24 for statement in scop['statements']:
25 output += "%s\n\n" % statement['schedule']
/llvm-project-15.0.7/llvm/test/tools/llvm-rc/
H A Dtag-accelerators.test84 ; BADID: llvm-rc: Error in ACCELERATORS statement (ID 1):
90 ; ASCII1: llvm-rc: Error in ACCELERATORS statement (ID 2):
96 ; ASCII2: llvm-rc: Error in ACCELERATORS statement (ID 2):
102 ; ASCII3: llvm-rc: Error in ACCELERATORS statement (ID 2):
108 ; ASCII4: llvm-rc: Error in ACCELERATORS statement (ID 2):
114 ; BADKEYID: llvm-rc: Error in ACCELERATORS statement (ID 9):
120 ; LENGTH1: llvm-rc: Error in ACCELERATORS statement (ID 10):
126 ; LENGTH2: llvm-rc: Error in ACCELERATORS statement (ID 12):
132 ; CARET1: llvm-rc: Error in ACCELERATORS statement (ID 555):
138 ; CARET2: llvm-rc: Error in ACCELERATORS statement (ID 50):
[all …]
/llvm-project-15.0.7/clang/test/Parser/
H A Dstmt-attributes.m6 #error "We should have statement attributes with GNU syntax support"
32 …@-1 {{'nomerge' attribute is ignored because there exists no call expression inside the statement}}
38 …@-1 {{'nomerge' attribute is ignored because there exists no call expression inside the statement}}
52 …@-1 {{'nomerge' attribute is ignored because there exists no call expression inside the statement}}
55 …@-1 {{'nomerge' attribute is ignored because there exists no call expression inside the statement}}
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dbraces-around-statements.rst17 statement;
24 statement;
32 Defines the minimal number of lines that the statement should have in order
36 (``do``/``else``) until the last line of the inner statement. Default value
H A Dmisleading-indentation.rst14 You can omit braces when your inner part of e.g. an ``if`` statement has only
15 one statement in it. Although in that case you should begin the next statement
27 foo2(); // Wrong indentation: else belongs to if(cond2) statement.
H A Disolate-declaration.rst7 tries to refactor the code to one statement per declaration.
10 for every created statement and add a line break after each statement.
25 multiple variables in one statement and there is no other way supported in the
38 // 'if' statement anymore.
65 of macros or preprocessor directives in the range of the statement. In this
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dswitch-edge-weight.ll32 ; statement.
60 ; In this switch statement, there is an edge from jump table to default
61 ; statement.
100 ; statement.
122 ; In this switch statement, there is no edge from jump table to default
123 ; statement.
161 ; statement.
182 ; In this switch statement, there is no edge from bit test to default basic
214 ; statement.
232 ; In this switch statement, there is an edge from jump table to default basic
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dinline-asm-reserved-regs.ll4 ; ERR: note: Reserved registers on the clobber list may not be preserved across the asm statement, …
12 ; ERR: note: Reserved registers on the clobber list may not be preserved across the asm statement, …
20 ; ERR: note: Reserved registers on the clobber list may not be preserved across the asm statement, …
28 ; ERR: note: Reserved registers on the clobber list may not be preserved across the asm statement, …
36 ; ERR: note: Reserved registers on the clobber list may not be preserved across the asm statement, …
/llvm-project-15.0.7/llvm/test/MC/Mips/
H A Dmips-pdr-bad.s9 .ent foo, 5, bar # AMS: :[[@LINE]]:20: error: unexpected token, expected end of statement
20 … .frame $sp, 8, $ra, foo # ASM: :[[@LINE]]:27: error: unexpected token, expected end of statement
27 … .mask 0x80000000, -4, bar # ASM: :[[@LINE]]:29: error: unexpected token, expected end of statement
34 ….fmask 0x80000000, -4, bar # ASM: :[[@LINE]]:30: error: unexpected token, expected end of statement
38 … .end _local_foo_bar, foo # ASM: :[[@LINE]]:28: error: unexpected token, expected end of statement
H A Dset-push-pop-directives-bad.s4 # Check only one error per statement.
16 # CHECK: :[[@LINE-1]]:19: error: unexpected token, expected end of statement
19 # CHECK: :[[@LINE-1]]:18: error: unexpected token, expected end of statement
/llvm-project-15.0.7/llvm/test/MC/RISCV/
H A Doption-invalid.s13 # CHECK: error: unexpected token, expected end of statement
22 # CHECK: error: unexpected token, expected end of statement
25 # CHECK: error: unexpected token, expected end of statement

12345678910>>...15