OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nonconst
(Results
1 - 2
of
2
) sorted by null
/external/clang/test/SemaCXX/
i-c-e-cxx.cpp
65
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 {{initializer of '
nonconst
' is not a constant expression}}
/external/clang/test/CXX/expr/expr.const/
p3-0x.cpp
4
int
nonconst
= 8; // expected-note 3 {{here}}
variable
5
enum NonConstE : unsigned char { NCE =
nonconst
}; // expected-error {{enumerator value is not a constant expression}} expected-note {{read of non-const}}
6
template<int =
nonconst
> struct NonConstT {}; // expected-error {{non-type template argument is not a constant expression}} expected-note {{read of non-const}}
8
switch (
nonconst
) {
9
case
nonconst
: // expected-error {{case value is not a constant expression}} expected-note {{read of non-const}}
Completed in 83 milliseconds