summaryrefslogtreecommitdiffstats
path: root/compiler/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/llvm')
-rw-r--r--compiler/llvm/md_builder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/llvm/md_builder.h b/compiler/llvm/md_builder.h
index cc169a3219..65c52c937d 100644
--- a/compiler/llvm/md_builder.h
+++ b/compiler/llvm/md_builder.h
@@ -35,7 +35,7 @@ typedef ::llvm::MDBuilder LLVMMDBuilder;
class MDBuilder : public LLVMMDBuilder {
public:
- MDBuilder(::llvm::LLVMContext& context)
+ explicit MDBuilder(::llvm::LLVMContext& context)
: LLVMMDBuilder(context), tbaa_root_(createTBAARoot("Art TBAA Root")) {
std::memset(tbaa_special_type_, 0, sizeof(tbaa_special_type_));
std::memset(tbaa_memory_jtype_, 0, sizeof(tbaa_memory_jtype_));