[llvm-commits] LibCallAliasAnalysis should be in anonymous namespace

Matthijs Kooijman matthijs at stdin.nl
Thu May 8 14:41:06 PDT 2008


Hi,

> -namespace llvm {
> +namespace {
>    /// LibCallAliasAnalysis - Alias analysis driven from LibCallInfo.
>    struct LibCallAliasAnalysis : public FunctionPass, AliasAnalysis {
>      static char ID; // Class identification
Following other examples, shouldn't there also be a VISIBILITY_HIDDEN put in
there somewhere?

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080508/5de5f6fb/attachment.sig>


More information about the llvm-commits mailing list