[Lldb-commits] [lldb] 183fba6 - Add OMPIterator case in switch statement to silence warnings

via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 2 07:16:45 PDT 2020


Author: scentini
Date: 2020-04-02T16:16:11+02:00
New Revision: 183fba635d5ece8466af3085c2e831f9a93ee775

URL: https://github.com/llvm/llvm-project/commit/183fba635d5ece8466af3085c2e831f9a93ee775
DIFF: https://github.com/llvm/llvm-project/commit/183fba635d5ece8466af3085c2e831f9a93ee775.diff

LOG: Add OMPIterator case in switch statement to silence warnings

Added: 
    

Modified: 
    lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index 22f401fa4e95..9f425ae7c30b 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -4666,6 +4666,7 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
     case clang::BuiltinType::Kind::OCLSampler:
     case clang::BuiltinType::Kind::OMPArraySection:
     case clang::BuiltinType::Kind::OMPArrayShaping:
+    case clang::BuiltinType::Kind::OMPIterator:
     case clang::BuiltinType::Kind::Overload:
     case clang::BuiltinType::Kind::PseudoObject:
     case clang::BuiltinType::Kind::UnknownAny:


        


More information about the lldb-commits mailing list