[PATCH] D62010: [CodeComplete] Complete enumerators when preferred type is an enum
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 16 08:41:49 PDT 2019
ilya-biryukov added a comment.
Thanks for a quick review!
================
Comment at: clang/test/CodeCompletion/enum-preferred-type.cpp:19
+ // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:12:16 %s -o - | FileCheck %s
+ // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:12:21 %s -o - | FileCheck %s
+ // CHECK: Blue : [#N::Color#]N::Blue
----------------
kadircet wrote:
> I suppose line number needs to be 14?
Right. Otherwise tests fail.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62010/new/
https://reviews.llvm.org/D62010
More information about the cfe-commits
mailing list