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

1 2 3

  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
p7-cxx11-nowarn.cpp 12 char c2{x}; // expected-warning {{ cannot be narrowed }} expected-note {{override}}
13 char c3{y}; // expected-warning {{ cannot be narrowed }} expected-note {{override}} expected-warning {{changes value}}
16 unsigned char uc2 = {-1}; // expected-warning {{ cannot be narrowed }} expected-note {{override}}
17 unsigned int ui1 = {-1}; // expected-warning {{ cannot be narrowed }} expected-note {{override}}
19 { (unsigned int)-1 }; // expected-warning {{ cannot be narrowed }} expected-note {{override}}
20 int ii = {2.0}; // expected-warning {{ cannot be narrowed }} expected-note {{override}}
21 float f1 { x }; // expected-warning {{ cannot be narrowed }} expected-note {{override}}
48 Agg<char> a1 = {1.0F}; // expected-warning {{type 'float' cannot be narrowed to 'char'}} expected-note {{override}}
49 Agg<char> a2 = {1.0}; // expected-warning {{ cannot be narrowed }} expected-note {{override}}
50 Agg<char> a3 = {1.0L}; // expected-warning {{ cannot be narrowed }} expected-note {{override}
    [all...]
p7-0x.cpp 11 char c2{x}; // expected-error {{ cannot be narrowed }} expected-note {{override}}
12 char c3{y}; // expected-error {{ cannot be narrowed }} expected-note {{override}} expected-warning {{changes value}}
15 unsigned char uc2 = {-1}; // expected-error {{ cannot be narrowed }} expected-note {{override}}
16 unsigned int ui1 = {-1}; // expected-error {{ cannot be narrowed }} expected-note {{override}}
18 { (unsigned int)-1 }; // expected-error {{ cannot be narrowed }} expected-note {{override}}
19 int ii = {2.0}; // expected-error {{ cannot be narrowed }} expected-note {{override}}
20 float f1 { x }; // expected-error {{ cannot be narrowed }} expected-note {{override}}
47 Agg<char> a1 = {1.0F}; // expected-error {{type 'float' cannot be narrowed to 'char'}} expected-note {{override}}
48 Agg<char> a2 = {1.0}; // expected-error {{ cannot be narrowed }} expected-note {{override}}
49 Agg<char> a3 = {1.0L}; // expected-error {{ cannot be narrowed }} expected-note {{override}
    [all...]
basic.cpp 10 T x{i}; // expected-error{{non-constant-expression cannot be narrowed from type 'int' to 'float' in initializer list}} \
12 T y{i}; // expected-error{{non-constant-expression cannot be narrowed from type 'int' to 'float' in initializer list}} \
p7-0x-fixits.cpp 11 // CHECK: warning:{{.*}} cannot be narrowed
15 // CHECK: warning:{{.*}} cannot be narrowed
27 // CHECK: warning:{{.*}} cannot be narrowed
p3-0x.cpp 26 int ai[] = { 1, 2.0 }; // expected-error {{type 'double' cannot be narrowed to 'int' in initializer list}} expected-note {{override}}
34 S2 s22 { 1.0, 2, 3 }; // expected-error {{type 'double' cannot be narrowed to 'int' in initializer list}} expected-note {{override}}
80 const int& i2 = { 1.1 }; // expected-error {{type 'double' cannot be narrowed to 'int' in initializer list}} expected-note {{override}} expected-warning {{implicit conversion}}
86 int x2 {2.0}; // expected-error {{type 'double' cannot be narrowed to 'int' in initializer list}} expected-note {{override}}
96 A a2 { 1.2 }; // expected-error {{type 'double' cannot be narrowed to 'int' in initializer list}} expected-note {{override}} expected-warning {{implicit conversion}}
  /external/llvm/test/CodeGen/Thumb2/
2010-12-03-AddSPNarrowing.ll 3 ; destination register is narrowed to tADDspi instead of tADDrSPi.
  /external/clang/test/CXX/expr/expr.const/
p3-0x.cpp 53 case (long long)1e10: // expected-error {{case value evaluates to 10000000000, which cannot be narrowed to type 'unsigned int'}}
54 case -3: // expected-error {{case value evaluates to -3, which cannot be narrowed to type 'unsigned int'}}
64 e = 123456, // expected-error {{enumerator value evaluates to 123456, which cannot be narrowed to type 'unsigned short'}}
65 f = -3 // expected-error {{enumerator value evaluates to -3, which cannot be narrowed to type 'unsigned short'}}
72 using Int = A<1000>; // expected-error {{template argument evaluates to 1000, which cannot be narrowed to type 'unsigned char'}}
73 using Int = A<-3>; // expected-error {{template argument evaluates to -3, which cannot be narrowed to type 'unsigned char'}}
81 static_assert(Val<bool, E5>::value == 1, ""); // expected-error {{5, which cannot be narrowed to type 'bool'}}
  /external/clang/test/SemaCXX/
cxx0x-compat.cpp 28 s = { n }, // expected-warning {{non-constant-expression cannot be narrowed from type 'int' to 'char' in initializer list in C++11}} expected-note {{explicit cast}}
29 t = { 1234 }; // expected-warning {{constant expression evaluates to 1234 which cannot be narrowed to type 'char' in C++11}} expected-warning {{changes value}} expected-note {{explicit cast}}
cxx0x-initializer-scalars.cpp 48 { const short a{100000}; } // expected-error {{cannot be narrowed}} expected-note {{inserting an explicit cast}} expected-warning {{changes value}}
49 { const short a = {100000}; } // expected-error {{cannot be narrowed}} expected-note {{inserting an explicit cast}} expected-warning {{changes value}}
microsoft-cxx0x.cpp 9 A var = { b }; // expected-warning {{ cannot be narrowed }} expected-note {{override}}
enum-scoped.cpp 42 e3 = 2147483648 // expected-error{{enumerator value evaluates to 2147483648, which cannot be narrowed to type 'int'}}
  /external/icu4c/i18n/
remtrans.cpp 58 // Our caller (filteredTransliterate) has already narrowed us
  /external/chromium/chrome/browser/accessibility/
browser_accessibility_mac_unittest.mm 100 // the hit test has been narrowed down to this object or one of its children
browser_accessibility_cocoa.mm 459 // It is assumed that the hit test has been narrowed down to this object
  /external/llvm/utils/
findmisopt 14 # different result code. When the passes have been narrowed down,
  /external/llvm/tools/bugpoint/
ListReducer.h 195 return true; // there are some failure and we've narrowed them down
  /docs/source.android.com/src/source/
version-control.md 21 **Git** is an open-source version-control system designed to handle very large projects that are distributed over multiple repositories. In the context of Android, we use Git for local operations such as local branching, commits, diffs, and edits. One of the challenges in setting up the Android project was figuring out how to best support the outside community--from the hobbiest community to large OEMs building mass-market consumer devices. We wanted components to be replaceable, and we wanted interesting components to be able to grow a life of their own outside of Android. We first chose a distributed revision control system, then further narrowed it down to Git.
  /external/emma/core/java12/com/vladium/emma/report/lcov/
ReportGenerator.java 401 // was narrowed to FileNotFoundException:
  /external/clang/include/clang/Sema/
Overload.h 124 /// A narrowing conversion, because a constant expression got narrowed.
128 /// have got narrowed.
  /external/emma/core/java12/com/vladium/emma/report/txt/
ReportGenerator.java 508 // was narrowed to FileNotFoundException:
  /external/emma/core/java12/com/vladium/emma/report/xml/
ReportGenerator.java 523 // was narrowed to FileNotFoundException:
  /external/llvm/lib/Target/X86/Disassembler/
X86DisassemblerDecoderCommon.h 185 * this information is known, we have narrowed down to a single instruction.
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/
basic_ios.h 406 * @return The narrowed character.
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/
basic_ios.h 408 * @return The narrowed character.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/
basic_ios.h 408 * @return The narrowed character.

Completed in 696 milliseconds

1 2 3