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

1 2 3 4

  /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.
libstdcxx_explicit_init_list_hack.cpp 22 // expected-warning@+1 {{expression with side effects has no effect in an unevaluated context}}
coroutines.cpp 143 void unevaluated() { function
144 decltype(co_await a); // expected-error {{cannot be used in an unevaluated context}}
145 sizeof(co_await a); // expected-error {{cannot be used in an unevaluated context}}
146 typeid(co_await a); // expected-error {{cannot be used in an unevaluated context}}
147 decltype(co_yield a); // expected-error {{cannot be used in an unevaluated context}}
148 sizeof(co_yield a); // expected-error {{cannot be used in an unevaluated context}}
149 typeid(co_yield a); // expected-error {{cannot be used in an unevaluated context}}
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.
  /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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/builds/atari/
ATARI.H 2 #pragma warn -aus /* too many unevaluated variables in gxvalid */
  /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 // unevaluated operand.
40 = 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 80 = 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}}
non-null-warning.c 43 (void)sizeof(foo(0)); // expect no diagnostic in unevaluated context.
self-comparison.c 43 // Don't complain in unevaluated contexts.
statements.c 1 // RUN: %clang_cc1 %s -fsyntax-only -verify -triple x86_64-pc-linux-gnu -Wno-unevaluated-expression
  /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

Completed in 725 milliseconds

1 2 3 4