From: Argyrios Kyrtzidis Date: Sat, 13 Feb 2016 05:17:15 +0000 (+0000) Subject: [index] Change some default parameters to fix an MSVC ICE. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5528df3a479645e6d5a894369d8f348f352fde91;p=clang [index] Change some default parameters to fix an MSVC ICE. Many thanks to Yunzhong Gao for tracking this down! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260807 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Index/IndexingContext.h b/lib/Index/IndexingContext.h index 774650547f..600fc433b5 100644 --- a/lib/Index/IndexingContext.h +++ b/lib/Index/IndexingContext.h @@ -62,18 +62,18 @@ public: static bool isTemplateImplicitInstantiation(const Decl *D); bool handleDecl(const Decl *D, SymbolRoleSet Roles = SymbolRoleSet(), - ArrayRef Relations = {}); + ArrayRef Relations = None); bool handleDecl(const Decl *D, SourceLocation Loc, SymbolRoleSet Roles = SymbolRoleSet(), - ArrayRef Relations = {}, + ArrayRef Relations = None, const DeclContext *DC = nullptr); bool handleReference(const NamedDecl *D, SourceLocation Loc, const NamedDecl *Parent, const DeclContext *DC, SymbolRoleSet Roles, - ArrayRef Relations = {}, + ArrayRef Relations = None, const Expr *RefE = nullptr, const Decl *RefD = nullptr);