<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="+1">Hi,</font></p>
<p><font size="+1">I have a question about getting macro definitions
when using Clang's libraries. In analyzing code statically, we'd
like to get all definitions of a macro identifier regardless of
its actual value passed in. For instance, for the following
macro:<br>
</font></p>
<p><tt><font size="+1">#ifdef X</font></tt></p>
<p><tt><font size="+1">#define F1 zzz</font></tt></p>
<p><tt><font size="+1">#else</font></tt></p>
<p><tt><font size="+1">#define F1 yyy</font></tt></p>
<p><tt><font size="+1">#endif</font></tt></p>
<p><tt><font size="+1">We'd like to get F1's all substitutions (zzz
and yyy) no matter what value of X is provided. What's the
best method to do it? I'm afraid that using the Preprocessor
library is or isn't enough.<br>
</font></tt></p>
<p><tt><font size="+1">Thanks.</font></tt><br>
</p>
<pre class="moz-signature" cols="72">--
Love,
Lou
</pre>
</body>
</html>