]> granicus.if.org Git - clang/commitdiff
[Bash-autocompletion] Add comment to test so that it is easier to fix
authorYuka Takahashi <yukatkh@gmail.com>
Wed, 2 Aug 2017 07:20:27 +0000 (07:20 +0000)
committerYuka Takahashi <yukatkh@gmail.com>
Wed, 2 Aug 2017 07:20:27 +0000 (07:20 +0000)
Summary:
clang/test/Driver/autocomplete.c is a test for --autocomplete, and this
test might break if people add/modify flags or HelpText. So I've add
comment for future developers so that they can fix this file according
to the change they had made.

Reviewers: v.g.vassilev, teemperor, ruiu

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D36209

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@309794 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/autocomplete.c

index c4d80f29f7bc0ca7bf3da98266af4c0fc0638854..5680801a64a28fa05a0bc482659df2b68c8bc70f 100644 (file)
@@ -1,3 +1,7 @@
+// Test for the --autocompletion flag, which is an API used for shell
+// autocompletion. You may have to update tests in this file when you
+// add/modify flags, change HelpTexts or the values of some flags.
+
 // RUN: %clang --autocomplete=-fsyn | FileCheck %s -check-prefix=FSYN
 // FSYN: -fsyntax-only
 // RUN: %clang --autocomplete=-std= | FileCheck %s -check-prefix=STD