summaryrefslogtreecommitdiffstats
path: root/clangd/index/IndexAction.h
diff options
context:
space:
mode:
Diffstat (limited to 'clangd/index/IndexAction.h')
-rw-r--r--clangd/index/IndexAction.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/clangd/index/IndexAction.h b/clangd/index/IndexAction.h
index f2c5298f..f2b45deb 100644
--- a/clangd/index/IndexAction.h
+++ b/clangd/index/IndexAction.h
@@ -1,9 +1,8 @@
//===--- IndexAction.h - Run the indexer as a frontend action ----*- 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
//
//===----------------------------------------------------------------------===//
@@ -23,7 +22,7 @@ namespace clangd {
// - include paths are always collected, and canonicalized appropriately
// - references are always counted
// - all references are collected (if RefsCallback is non-null)
-// - the symbol origin is always Static
+// - the symbol origin is set to Static if not specified by caller
std::unique_ptr<FrontendAction> createStaticIndexingAction(
SymbolCollector::Options Opts,
std::function<void(SymbolSlab)> SymbolsCallback,