[PATCH] D57755: [clangd] Some minor fixes.
Haojian Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 6 01:08:23 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL353283: [clangd] Some minor fixes. (authored by hokein, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57755/new/
https://reviews.llvm.org/D57755
Files:
clang-tools-extra/trunk/clangd/Selection.cpp
clang-tools-extra/trunk/clangd/refactor/Tweak.h
clang-tools-extra/trunk/unittests/clangd/SelectionTests.cpp
clang-tools-extra/trunk/unittests/clangd/TweakTests.cpp
Index: clang-tools-extra/trunk/unittests/clangd/TweakTests.cpp
===================================================================
--- clang-tools-extra/trunk/unittests/clangd/TweakTests.cpp
+++ clang-tools-extra/trunk/unittests/clangd/TweakTests.cpp
@@ -1,9 +1,8 @@
//===-- TweakTests.cpp ------------------------------------------*- 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
//
//===----------------------------------------------------------------------===//
Index: clang-tools-extra/trunk/unittests/clangd/SelectionTests.cpp
===================================================================
--- clang-tools-extra/trunk/unittests/clangd/SelectionTests.cpp
+++ clang-tools-extra/trunk/unittests/clangd/SelectionTests.cpp
@@ -1,4 +1,4 @@
-//===-- RIFFTests.cpp - Binary container unit tests -----------------------===//
+//===-- SelectionTests.cpp - ----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Index: clang-tools-extra/trunk/clangd/Selection.cpp
===================================================================
--- clang-tools-extra/trunk/clangd/Selection.cpp
+++ clang-tools-extra/trunk/clangd/Selection.cpp
@@ -1,4 +1,4 @@
-//===--- Selection.h ------------------------------------------------------===//
+//===--- Selection.cpp ----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
Index: clang-tools-extra/trunk/clangd/refactor/Tweak.h
===================================================================
--- clang-tools-extra/trunk/clangd/refactor/Tweak.h
+++ clang-tools-extra/trunk/clangd/refactor/Tweak.h
@@ -56,8 +56,8 @@
/// defining the Tweak. Definition is provided automatically by
/// REGISTER_TWEAK.
virtual const char *id() const = 0;
- /// Run the first stage of the action. The non-None result indicates that the
- /// action is available and should be shown to the user. Returns None if the
+ /// Run the first stage of the action. Returns true indicating that the
+ /// action is available and should be shown to the user. Returns false if the
/// action is not available.
/// This function should be fast, if the action requires non-trivial work it
/// should be moved into 'apply'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57755.185504.patch
Type: text/x-patch
Size: 2799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190206/05c64a05/attachment.bin>
More information about the llvm-commits
mailing list