Home
last modified time | relevance | path

Searched refs:nonconst (Results 1 – 6 of 6) sorted by relevance

/external/clang/test/CXX/expr/expr.const/
Dp3-0x.cpp4 int nonconst = 8; // expected-note 3 {{here}} variable
5 enum NonConstE : unsigned char { NCE = nonconst }; // expected-error {{enumerator value is not a co…
6 template<int = nonconst> struct NonConstT {}; // expected-error {{non-type template argument is not…
8 switch (nonconst) { in NonConstF()
9 …case nonconst: // expected-error {{case value is not a constant expression}} expected-note {{read … in NonConstF()
/external/clang/test/CodeGen/
Dbuiltin-assume.c4 int nonconst(void);
38 __assume(nonconst()); in test1()
41 __builtin_assume(nonconst()); in test1()
/external/clang/test/Sema/
Dbuiltin-assume.c4 int nonconst(void);
12 …__assume(nonconst() > 2); //expected-warning {{the argument to '__assume' has side effects that wi… in foo()
21 …__builtin_assume(nonconst() > 2); //expected-warning {{the argument to '__builtin_assume' has side… in foo()
/external/clang/test/SemaCXX/
Di-c-e-cxx.cpp65 const int nonconst = 1.0; // expected-note {{declared here}} variable
66 int arr[nonconst]; // expected-warning {{folded to constant array as an extension}} expected-note {…
/external/llvm/test/Linker/
D2005-02-12-ConstantGlobals-2.ll2 ; to be nonconst.
D2005-02-12-ConstantGlobals.ll2 ; to be nonconst.