From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: IDE Date: Mon, 12 Oct 2015 15:08:46 +0200 Message-ID: <87si5gjktd.fsf@wanadoo.es> References: <5612E996.7090700@yandex.ru> <83bnc7tavr.fsf@gnu.org> <5618C92A.3040207@yandex.ru> <83a8rrt9ag.fsf@gnu.org> <5618D376.1080700@yandex.ru> <831td3t62e.fsf@gnu.org> <5618E51D.4070800@yandex.ru> <83twpzrp05.fsf@gnu.org> <5618ED93.8000001@yandex.ru> <83lhbbrnn7.fsf@gnu.org> <56191D6B.8040405@yandex.ru> <838u7assvj.fsf@gnu.org> <561A3582.5080806@yandex.ru> <561A3756.1010404@gmx.at> <561A41CA.6060908@yandex.ru> <87io6c5ov5.fsf@gmail.com> <561B999D.2060900@yandex.ru> <871td0460p.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1444655399 19064 80.91.229.3 (12 Oct 2015 13:09:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Oct 2015 13:09:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 12 15:09:49 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZlcrM-0002k2-Gd for ged-emacs-devel@m.gmane.org; Mon, 12 Oct 2015 15:09:48 +0200 Original-Received: from localhost ([::1]:55237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlcrL-0004Bn-UH for ged-emacs-devel@m.gmane.org; Mon, 12 Oct 2015 09:09:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlcqd-0003Rb-Jt for emacs-devel@gnu.org; Mon, 12 Oct 2015 09:09:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zlcqa-00061R-AG for emacs-devel@gnu.org; Mon, 12 Oct 2015 09:09:03 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:50737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlcqa-00061J-4N for emacs-devel@gnu.org; Mon, 12 Oct 2015 09:09:00 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZlcqS-0001xk-ST for emacs-devel@gnu.org; Mon, 12 Oct 2015 15:08:52 +0200 Original-Received: from 198.red-83-32-113.dynamicip.rima-tde.net ([83.32.113.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Oct 2015 15:08:52 +0200 Original-Received: from ofv by 198.red-83-32-113.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Oct 2015 15:08:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 198.red-83-32-113.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:ab6XIiFF8rmOOvNc8n6wxOTL/NY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:191330 Archived-At: Oleh Krehel writes: [snip] > It only remains to write a small wrapper that dumps all the AST included > into `file_name` up to the point `offset`: > > void gcc_ast_for_file (char* file_name, int offset, void* out) > > I hope that I'm not being naive here and it's as simple to do as that. As mentioned on other message of mine, this is what a GCC frontend developer has to say (search for the comments of mlopezibanez): https://lwn.net/Articles/629259/ Basically what he says is: "No, it is not simple at all to get that information from GCC, you'll better use Clang."