diff options
-rw-r--r-- | include/clang/AST/TypeLoc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/TypeLoc.h b/include/clang/AST/TypeLoc.h index b544bc37e8..2c3f51493f 100644 --- a/include/clang/AST/TypeLoc.h +++ b/include/clang/AST/TypeLoc.h @@ -901,7 +901,7 @@ public: setTemplateNameLoc(Loc); for (unsigned i = 0, e = getNumArgs(); i != e; ++i) { - TemplateArgumentLocInfo Info; + TemplateArgumentLocInfo Info = TemplateArgumentLocInfo(); #ifndef NDEBUG // If asserts are enabled, be sure to initialize the argument // loc with the right kind of pointer. |