diff options
author | Pavel Labath <labath@google.com> | 2016-01-20 12:23:23 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-01-20 12:23:23 +0000 |
commit | a97595999653b2a2c79a7efd10bfce4fdcf15b44 (patch) | |
tree | 63f64ceac20d2b36bfa9962ad3e497f2b934636b /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
parent | db1958d1361247e9a7ef3a9fa74b3c2dbbebb44a (diff) | |
download | bcm5719-llvm-a97595999653b2a2c79a7efd10bfce4fdcf15b44.tar.gz bcm5719-llvm-a97595999653b2a2c79a7efd10bfce4fdcf15b44.zip |
Fix clang warning in RenderScriptRuntime
std::array should have "the same semantics as a struct holding a C-style array T[N] as its only
non-static data member", so the initialization should have one more level of braces. Hopefully,
no compiler will object to that.
llvm-svn: 258306
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
-rw-r--r-- | lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp index a1c6fa69cec..5b7090823e5 100644 --- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp +++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp @@ -391,7 +391,7 @@ const unsigned int RenderScriptRuntime::AllocationDetails::RSTypeToFormat[][3] = }; const std::string RenderScriptRuntime::s_runtimeExpandSuffix(".expand"); -const std::array<const char *, 3> RenderScriptRuntime::s_runtimeCoordVars{"rsIndex", "p->current.y", "p->current.z"}; +const std::array<const char *, 3> RenderScriptRuntime::s_runtimeCoordVars{{"rsIndex", "p->current.y", "p->current.z"}}; //------------------------------------------------------------------ // Static Functions //------------------------------------------------------------------ |