/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
p7.cpp | 3 enum class EC { ec }; 4 using EC::ec; // expected-error {{using declaration cannot refer to a scoped enumerator}}
|
/external/llvm/lib/Support/ |
IntEqClasses.cpp | 27 EC.reserve(N); 28 while (EC.size() < N) 29 EC.push_back(EC.size()); 34 unsigned eca = EC[a]; 35 unsigned ecb = EC[b]; 41 EC[b] = eca; 43 ecb = EC[b]; 45 EC[a] = ecb; 47 eca = EC[a] [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
IntEqClasses.cpp | 27 EC.reserve(N); 28 while (EC.size() < N) 29 EC.push_back(EC.size()); 34 unsigned eca = EC[a]; 35 unsigned ecb = EC[b]; 41 EC[b] = eca, b = ecb, ecb = EC[b]; 43 EC[a] = ecb, a = eca, eca = EC[a] [all...] |
/external/clang/test/CXX/expr/expr.post/expr.static.cast/ |
p9-0x.cpp | 4 enum class EC { ec1 }; 6 void test0(EC ec) { 7 (void)static_cast<bool>(ec); 8 (void)static_cast<bool>(EC::ec1); 9 (void)static_cast<char>(ec); 10 (void)static_cast<char>(EC::ec1); 11 (void)static_cast<int>(ec); 12 (void)static_cast<int>(EC::ec1); 13 (void)static_cast<unsigned long>(ec); [all...] |
/external/llvm/lib/DebugInfo/CodeView/ |
StreamWriter.cpp | 22 if (auto EC = Stream.writeBytes(Offset, Buffer)) 23 return EC; 37 if (auto EC = writeFixedString(Str)) 38 return EC; 39 if (auto EC = writeObject('\0')) 40 return EC; 47 if (auto EC = Stream.writeBytes(Offset, Bytes)) 48 return EC; 55 if (auto EC = writeStreamRef(Ref, Ref.getLength())) 56 return EC; [all...] |
/external/llvm/unittests/Support/ |
LockFileManagerTest.cpp | 22 std::error_code EC; 23 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); 24 ASSERT_FALSE(EC); 43 EC = sys::fs::remove(StringRef(TmpDir)); 44 ASSERT_FALSE(EC); 49 std::error_code EC; 50 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); 51 ASSERT_FALSE(EC); 63 EC = sys::fs::openFileForWrite(StringRef(TmpFileLock), FD, sys::fs::F_None); 64 ASSERT_FALSE(EC); [all...] |
/external/llvm/include/llvm/ADT/ |
IntEqClasses.h | 29 /// EC - When uncompressed, map each integer to a smaller member of its 33 /// When compressed, EC[i] is the equivalence class of i. 34 SmallVector<unsigned, 8> EC; 52 EC.clear(); 78 return EC[a];
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
IntEqClasses.h | 29 /// EC - When uncompressed, map each integer to a smaller member of its 33 /// When compressed, EC[i] is the equivalence class of i. 34 SmallVector<unsigned, 8> EC; 52 EC.clear(); 78 return EC[a];
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/ADT/ |
IntEqClasses.h | 29 /// EC - When uncompressed, map each integer to a smaller member of its 33 /// When compressed, EC[i] is the equivalence class of i. 34 SmallVector<unsigned, 8> EC; 52 EC.clear(); 78 return EC[a];
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/ADT/ |
IntEqClasses.h | 29 /// EC - When uncompressed, map each integer to a smaller member of its 33 /// When compressed, EC[i] is the equivalence class of i. 34 SmallVector<unsigned, 8> EC; 52 EC.clear(); 78 return EC[a];
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/ADT/ |
IntEqClasses.h | 29 /// EC - When uncompressed, map each integer to a smaller member of its 33 /// When compressed, EC[i] is the equivalence class of i. 34 SmallVector<unsigned, 8> EC; 52 EC.clear(); 78 return EC[a];
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
IntEqClasses.h | 29 /// EC - When uncompressed, map each integer to a smaller member of its 33 /// When compressed, EC[i] is the equivalence class of i. 34 SmallVector<unsigned, 8> EC; 52 EC.clear(); 78 return EC[a];
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/ADT/ |
IntEqClasses.h | 29 /// EC - When uncompressed, map each integer to a smaller member of its 33 /// When compressed, EC[i] is the equivalence class of i. 34 SmallVector<unsigned, 8> EC; 52 EC.clear(); 78 return EC[a];
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/ADT/ |
IntEqClasses.h | 29 /// EC - When uncompressed, map each integer to a smaller member of its 33 /// When compressed, EC[i] is the equivalence class of i. 34 SmallVector<unsigned, 8> EC; 52 EC.clear(); 78 return EC[a];
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/ADT/ |
IntEqClasses.h | 29 /// EC - When uncompressed, map each integer to a smaller member of its 33 /// When compressed, EC[i] is the equivalence class of i. 34 SmallVector<unsigned, 8> EC; 52 EC.clear(); 78 return EC[a];
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
IntEqClasses.h | 29 /// EC - When uncompressed, map each integer to a smaller member of its 33 /// When compressed, EC[i] is the equivalence class of i. 34 SmallVector<unsigned, 8> EC; 52 EC.clear(); 78 return EC[a];
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
NameMap.cpp | 27 if (auto EC = Stream.readInteger(NumberOfBytes)) 28 return joinErrors(std::move(EC), 42 if (auto EC = Stream.readInteger(HashSize)) 43 return joinErrors(std::move(EC), 50 if (auto EC = Stream.readInteger(MaxNumberOfStrings)) 51 return joinErrors(std::move(EC), 64 if (auto EC = Stream.readInteger(NumPresentWords)) 65 return joinErrors(std::move(EC), 76 if (auto EC = Stream.readInteger(Word)) 77 return joinErrors(std::move(EC), [all...] |
ModStream.cpp | 42 if (auto EC = Reader.readInteger(SymbolSubstreamSig)) 43 return EC; 44 if (auto EC = Reader.readArray(SymbolsSubstream, SymbolSize - 4)) 45 return EC; 47 if (auto EC = Reader.readStreamRef(LinesSubstream, C11Size)) 48 return EC; 49 if (auto EC = Reader.readStreamRef(C13LinesSubstream, C13Size)) 50 return EC; 53 if (auto EC = LineReader.readArray(LineInfo, LineReader.bytesRemaining())) 54 return EC; [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/ |
TypeTableBuilder.h | 30 TypeIndex handleError(Error EC) const { 32 consumeError(std::move(EC)); 55 if (auto EC = Serializer.visitTypeBegin(Type)) 56 return handleError(std::move(EC)); 57 if (auto EC = Serializer.visitKnownRecord(Type, Record)) 58 return handleError(std::move(EC)); 97 if (auto EC = TempSerializer.visitTypeBegin(Type)) 98 consumeError(std::move(EC)); 104 if (auto EC = TempSerializer.visitMemberBegin(CVMR)) 105 consumeError(std::move(EC)); [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/ |
TypeTableBuilder.h | 30 TypeIndex handleError(Error EC) const { 32 consumeError(std::move(EC)); 55 if (auto EC = Serializer.visitTypeBegin(Type)) 56 return handleError(std::move(EC)); 57 if (auto EC = Serializer.visitKnownRecord(Type, Record)) 58 return handleError(std::move(EC)); 97 if (auto EC = TempSerializer.visitTypeBegin(Type)) 98 consumeError(std::move(EC)); 104 if (auto EC = TempSerializer.visitMemberBegin(CVMR)) 105 consumeError(std::move(EC)); [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/ |
TypeTableBuilder.h | 30 TypeIndex handleError(Error EC) const { 32 consumeError(std::move(EC)); 55 if (auto EC = Serializer.visitTypeBegin(Type)) 56 return handleError(std::move(EC)); 57 if (auto EC = Serializer.visitKnownRecord(Type, Record)) 58 return handleError(std::move(EC)); 97 if (auto EC = TempSerializer.visitTypeBegin(Type)) 98 consumeError(std::move(EC)); 104 if (auto EC = TempSerializer.visitMemberBegin(CVMR)) 105 consumeError(std::move(EC)); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/ |
TypeTableBuilder.h | 30 TypeIndex handleError(Error EC) const { 32 consumeError(std::move(EC)); 55 if (auto EC = Serializer.visitTypeBegin(Type)) 56 return handleError(std::move(EC)); 57 if (auto EC = Serializer.visitKnownRecord(Type, Record)) 58 return handleError(std::move(EC)); 97 if (auto EC = TempSerializer.visitTypeBegin(Type)) 98 consumeError(std::move(EC)); 104 if (auto EC = TempSerializer.visitMemberBegin(CVMR)) 105 consumeError(std::move(EC)); [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/ |
TypeTableBuilder.h | 30 TypeIndex handleError(Error EC) const { 32 consumeError(std::move(EC)); 55 if (auto EC = Serializer.visitTypeBegin(Type)) 56 return handleError(std::move(EC)); 57 if (auto EC = Serializer.visitKnownRecord(Type, Record)) 58 return handleError(std::move(EC)); 97 if (auto EC = TempSerializer.visitTypeBegin(Type)) 98 consumeError(std::move(EC)); 104 if (auto EC = TempSerializer.visitMemberBegin(CVMR)) 105 consumeError(std::move(EC)); [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/ |
TypeTableBuilder.h | 30 TypeIndex handleError(Error EC) const { 32 consumeError(std::move(EC)); 55 if (auto EC = Serializer.visitTypeBegin(Type)) 56 return handleError(std::move(EC)); 57 if (auto EC = Serializer.visitKnownRecord(Type, Record)) 58 return handleError(std::move(EC)); 97 if (auto EC = TempSerializer.visitTypeBegin(Type)) 98 consumeError(std::move(EC)); 104 if (auto EC = TempSerializer.visitMemberBegin(CVMR)) 105 consumeError(std::move(EC)); [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/ |
TypeTableBuilder.h | 30 TypeIndex handleError(Error EC) const { 32 consumeError(std::move(EC)); 55 if (auto EC = Serializer.visitTypeBegin(Type)) 56 return handleError(std::move(EC)); 57 if (auto EC = Serializer.visitKnownRecord(Type, Record)) 58 return handleError(std::move(EC)); 97 if (auto EC = TempSerializer.visitTypeBegin(Type)) 98 consumeError(std::move(EC)); 104 if (auto EC = TempSerializer.visitMemberBegin(CVMR)) 105 consumeError(std::move(EC)); [all...] |