[Lldb-commits] [lldb] r278774 - Symbol: add missing item in covered switch

Saleem Abdulrasool via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 15 21:12:36 PDT 2016

Author: compnerd
Date: Mon Aug 15 23:12:36 2016
New Revision: 278774

URL: http://llvm.org/viewvc/llvm-project?rev=278774&view=rev
Symbol: add missing item in covered switch

RenderScript was missing from the covered switch.  Add it to avoid a warning of
the missing entry.  NFC.


Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=278774&r1=278773&r2=278774&view=diff
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Mon Aug 15 23:12:36 2016
@@ -406,6 +406,7 @@ ParseLangArgs (LangOptions &Opts, InputK
             case IK_None:
             case IK_AST:
             case IK_LLVM_IR:
+            case IK_RenderScript:
                 assert (!"Invalid input kind!");
             case IK_OpenCL:
                 LangStd = LangStandard::lang_opencl;

More information about the lldb-commits mailing list