HomeSort by relevance Sort by last modified time
    Searched full:unevaluated (Results 1 - 25 of 72) sorted by null

1 2 3

  /external/clang/test/SemaCXX/
warn-unused-value-cxx11.cpp 6 // Unevaluated contexts should not trigger unused result warnings.
18 (void)noexcept(++i); // expected-warning {{expression with side effects has no effect in an unevaluated context}}
19 decltype(i++) j = 0; // expected-warning {{expression with side effects has no effect in an unevaluated context}}
35 (void)noexcept(i++); // expected-warning {{expression with side effects has no effect in an unevaluated context}}
36 (void)noexcept(i = 5); // expected-warning {{expression with side effects has no effect in an unevaluated context}}
40 (void)sizeof(s.f() = 5); // expected-warning {{expression with side effects has no effect in an unevaluated context}}
runtimediag-ppe.cpp 5 // the context is unevaluated.
warn-unused-value.cpp 83 (void)typeid(++i); // expected-warning {{expression with side effects has no effect in an unevaluated context}}
89 // evaluated instead of unevaluated.
uninit-variables.cpp 19 // Don't warn on unevaluated contexts.
warn-unused-result.cpp 118 // Unevaluated contexts should not trigger unused result warnings.
undefined-internal.cpp 160 // Check that nesting an unevaluated or constant-evaluated context does
164 // Check that the checks work with unevaluated contexts
vararg-non-pod.cpp 88 // PR5761: unevaluated operands and the non-POD warning
warn-unused-comparison.cpp 87 (void)sizeof(1 < 2, true); // No warning; unevaluated context.
  /external/clang/test/SemaObjCXX/
arc-ppe.mm 3 // Make sure the ARC auto-deduction of id* in unevaluated contexts
5 // context is unevaluated.
  /external/clang/test/Preprocessor/
expr_comma.c 4 // Comma is allowed if unevaluated in C99
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p2.cpp 18 int i2 = sizeof([] ()->int { return 0; }()); // expected-error{{lambda expression in an unevaluated operand}}
20 const std::type_info &ti2 = typeid([&]() -> int { return i; }()); // expected-error{{lambda expression in an unevaluated operand}}
38 = typeid([=]() -> int { boom_float.tickle(); return 0; }()); // expected-error{{lambda expression in an unevaluated operand}} \
p2-generic-lambda-1y.cpp 19 int i2 = sizeof([](auto a, auto b)->void{}(3, '4')); // expected-error{{lambda expression in an unevaluated operand}} \
22 const std::type_info &ti2 = typeid([](auto) -> int { return i; }(i)); // expected-error{{lambda expression in an unevaluated operand}}\
templates.cpp 81 = typeid([=,&r] () -> R& { // expected-error{{lambda expression in an unevaluated operand}}
  /external/clang/test/SemaTemplate/
overload-uneval.cpp 4 // Tests that overload resolution is treated as an unevaluated context.
constexpr-instantiate.cpp 79 namespace Unevaluated {
82 // unevaluated context.
instantiate-init.cpp 61 // cause instantiation is in an unevaluated context, but one requiring its
  /external/clang/test/Sema/
expr-comma-c99.c 16 int Z[sizeof(0, (a=b).c) == sizeof(char*) ? 1 : -1]; // expected-warning {{expression with side effects has no effect in an unevaluated context}}
expr-comma.c 17 int Z[sizeof(0, (a=b).c) == 17 ? 1 : -1]; // expected-warning {{expression with side effects has no effect in an unevaluated context}}
warn-unused-value.c 98 (void)sizeof(++val); // expected-warning {{expression with side effects has no effect in an unevaluated context}}
99 (void)_Generic(val++, default : 0); // expected-warning {{expression with side effects has no effect in an unevaluated context}}
100 (void)_Alignof(val++); // expected-warning {{expression with side effects has no effect in an unevaluated context}} expected-warning {{'_Alignof' applied to an expression is a GNU extension}}
self-comparison.c 43 // Don't complain in unevaluated contexts.
  /external/clang/test/CXX/expr/expr.prim/expr.prim.general/
p12-0x.cpp 23 // Make sure the rule for unevaluated operands works correctly with typeid.
  /external/clang/test/CXX/special/class.temporary/
p1.cpp 38 // Don't enforce this in an unevaluated context.
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/c-family/
c-common.def 33 expression may be used in an unevaluated part of an integer
  /external/clang/test/CodeGenCXX/
template-instantiation.cpp 160 // complete their type in an unevaluated context, we *do* emit initializers with
  /external/clang/lib/Sema/
SemaTemplateDeduction.cpp     [all...]

Completed in 328 milliseconds

1 2 3