diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2016-02-13 05:17:15 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2016-02-13 05:17:15 +0000 |
| commit | 29cd1a4d7d945981760012b5d0884a2408f0baf0 (patch) | |
| tree | 28040628ed4b26b85bbd0c27cfcb39d924196d67 /clang/lib/Index | |
| parent | bbb528f1892b2ae78cf08a3e699deb4e0481b413 (diff) | |
| download | bcm5719-llvm-29cd1a4d7d945981760012b5d0884a2408f0baf0.tar.gz bcm5719-llvm-29cd1a4d7d945981760012b5d0884a2408f0baf0.zip | |
[index] Change some default parameters to fix an MSVC ICE.
Many thanks to Yunzhong Gao for tracking this down!
llvm-svn: 260807
Diffstat (limited to 'clang/lib/Index')
| -rw-r--r-- | clang/lib/Index/IndexingContext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Index/IndexingContext.h b/clang/lib/Index/IndexingContext.h index 774650547f8..600fc433b58 100644 --- a/clang/lib/Index/IndexingContext.h +++ b/clang/lib/Index/IndexingContext.h @@ -62,18 +62,18 @@ public: static bool isTemplateImplicitInstantiation(const Decl *D); bool handleDecl(const Decl *D, SymbolRoleSet Roles = SymbolRoleSet(), - ArrayRef<SymbolRelation> Relations = {}); + ArrayRef<SymbolRelation> Relations = None); bool handleDecl(const Decl *D, SourceLocation Loc, SymbolRoleSet Roles = SymbolRoleSet(), - ArrayRef<SymbolRelation> Relations = {}, + ArrayRef<SymbolRelation> Relations = None, const DeclContext *DC = nullptr); bool handleReference(const NamedDecl *D, SourceLocation Loc, const NamedDecl *Parent, const DeclContext *DC, SymbolRoleSet Roles, - ArrayRef<SymbolRelation> Relations = {}, + ArrayRef<SymbolRelation> Relations = None, const Expr *RefE = nullptr, const Decl *RefD = nullptr); |

