[PATCH] D62010: [CodeComplete] Complete enumerators when preferred type is an enum

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 16 08:36:01 PDT 2019


kadircet added inline comments.


================
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
----------------
I suppose line number needs to be 14?


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