diff options
Diffstat (limited to 'lib/Index/IndexingContext.h')
-rw-r--r-- | lib/Index/IndexingContext.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/Index/IndexingContext.h b/lib/Index/IndexingContext.h index 04960086d0..3136878c08 100644 --- a/lib/Index/IndexingContext.h +++ b/lib/Index/IndexingContext.h @@ -1,9 +1,8 @@ //===- IndexingContext.h - Indexing context data ----------------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// @@ -62,6 +61,10 @@ public: bool shouldIndexImplicitInstantiation() const; + bool shouldIndexParametersInDeclarations() const; + + bool shouldIndexTemplateParameters() const; + static bool isTemplateImplicitInstantiation(const Decl *D); bool handleDecl(const Decl *D, SymbolRoleSet Roles = SymbolRoleSet(), |