Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] namespace, macro and IASTProblem:
  • From: Ming Cheng <chengm349@xxxxxxxxxxx>
  • Date: Mon, 25 May 2020 08:19:34 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lCcRzzXtIcgAcAT7+Geqv4vV8KJOhQfnCAdAKtt+IO0=; b=gQmBdQeHNIPUjJ1otJFp0V47jA2zADUaIZFHEPT/G0B+G5nFJR/iiuSR/r+8MzzR0SCvMcvJJvntstTwVqemqeZyLKdjEPGALtNZRZqv7knIDlfeTSjYq/lybLIhsen4Sb4OzEYzAsbLvHXCxmN6E9AYkdwIw/NyJMLIt5aqaoa3LDB3tRt+rJ88zoPw5/Z8WkfeeeFuC12aj05rM+xp6stDYbv23ubnr1BTJi8XA3+JMXB3XaUrZBcwryTzWWbOQ/hEoG1h7nkitprp+e/dqmlqs+BtIIn5xtOn9Cm3+vUFgVC3RR1B0sAzUN1FGYAHmFNoeqPPwxbupluEVJuqHw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IxlHS795WvwmghqdVJ05uMbUS3Fa0DGimNF6PzMaJxsA6aU7oPwJlvtvQJBn9a9ZUXTFAPo+SUTWv4WPGGdVVzh13cuZTPE0TnsSarARpCjkdZm+YxwgB2j9Yf8Vx8oQdxdIC8hFeplCndWwoTxG2pJ+3ZoR2v00bm4BMp5xwbgpcgrge7QspSy88j6Qo2NnSflFYhCwfV6jjsgGaJczkhX0L7xVQ2LgsTvUzjki65WiA+ee6pgSGo/uDioCSLnRLA3tU5RJgDkl8pOs9RyFALJw7WY6RlqiP/yEmUrHTa5F1rtqE+Sd2i/1mKVPWRv/+hbtSopktn89gjknZmumsQ==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cdt-dev>
  • List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWMj5G4OQo1c1qpkqoCPj9SRnGzai4HHKngABZZzY=
  • Thread-topic: namespace, macro and IASTProblem:

please ignore my question. I roughly know the reason.


From: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Ming Cheng <chengm349@xxxxxxxxxxx>
Sent: Monday, May 25, 2020 3:00 AM
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] namespace, macro and IASTProblem:
 
what are other situations CDT visitor can return IASTProblem?


From: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Ming Cheng <chengm349@xxxxxxxxxxx>
Sent: Monday, May 25, 2020 2:56 AM
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Subject: [cdt-dev] namespace, macro and IASTProblem:
 
Hi,

User code has these definition:

#define QFOR_MSGCOPY_NMSP_BEGIN namespace qformsgcopy {
#define QFOR_MSGCOPY_NMSP_END }

CDT visitor will call IASTProblem when it encounters QFOR_MSGCOPY_NMSP_BEGIN/QFOR_MSGCOPY_NMSP_END.  Is there any way I can further confirm it's a namespace declaration?

Thanks.

Back to the top