[PATCH] D33383: [GSoC] Flag value completion for clang

Yuka Takahashi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 17 13:21:48 PDT 2017


yamaguchi added inline comments.


================
Comment at: clang/test/Driver/autocomplete.c:7
 // NONE: foo
+// RUN: %clang --autocomplete=l,=,-stdlib | FileCheck %s -check-prefix=STDLIB
+// STDLIB: libc++ libstdc++
----------------
ruiu wrote:
> Why do you want to pass the arguments in the reverse order?
In the reverse order, current flag is always exists at first, so I thought it is more simple. (Eg. `clang -fsyntax-only -o foo -std=c` will be passed as `c,=,-std,foo,-i,-fsyntax-only`)


https://reviews.llvm.org/D33383





More information about the cfe-commits mailing list