[cfe-dev] Fwd: I am trying to using clang to do autocomplete, How to go to declaration of a macro?

罗勇刚(Yonggang Luo) via cfe-dev cfe-dev at lists.llvm.org
Wed Nov 23 03:00:30 PST 2016


---------- Forwarded message ----------
From: 罗勇刚(Yonggang Luo) <luoyonggang at gmail.com>
Date: Wed, Nov 23, 2016 at 6:58 PM
Subject: I am trying to using clang to do autocomplete, How to go to
declaration of a macro?
To: Clang Dev <cfe-dev at cs.uiuc.edu>


For exmaple

#define FOO 0

int foo() {
  int x = FOO; /* How to go to decleration of FOO here? *./
}

-- 
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo



-- 
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20161123/9246829b/attachment.html>


More information about the cfe-dev mailing list