search for: getclasspassid

Displaying 5 results from an estimated 5 matches for "getclasspassid".

2013 Jan 30
3
[LLVMdev] RFC: Replacing publicly accessible class IDs with getters
...ver delay loading precludes the importing of data[1]. We would like to resolve these issues by replacing public access of the ID with a getter: class AliasAnalysis { private: static char ID; // Class identification, replacement for typeinfo public: static const void *getClassPassID(); }; Thoughts? Matthew Curtis [1] http://msdn.microsoft.com/en-us/library/yx1x886y.aspx -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists...
2013 Feb 01
2
[LLVMdev] RFC: Replacing publicly accessible class IDs with getters
...]. > > We would like to resolve these issues by replacing public access of the ID with > a getter: > > class AliasAnalysis { > > private: > static char ID; // Class identification, replacement for typeinfo > > public: > static const void *getClassPassID(); > }; I think that would be O.K., but why getClassPassID return "const void *" not just "char"? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http:...
2013 Feb 04
0
[LLVMdev] RFC: Replacing publicly accessible class IDs with getters
...these issues by replacing public access of the ID with >> a getter: >> >> class AliasAnalysis { >> >> private: >> static char ID; // Class identification, replacement for typeinfo >> >> public: >> static const void *getClassPassID(); >> }; > I think that would be O.K., but why getClassPassID return "const void > *" not just "char"? The class is actually identified by the address of 'ID'. The value of 'ID' is irrelevant. So where it is currently used you will amost alw...
2013 Feb 05
0
[LLVMdev] RFC: Replacing publicly accessible class IDs with getters
...[1]. > > We would like to resolve these issues by replacing public access of the ID with > a getter: > > class AliasAnalysis { > > private: > static char ID; // Class identification, replacement for typeinfo > > public: > static const void *getClassPassID(); > }; That said, this looks pretty reasonable to me. Ciao, Duncan. > > > Thoughts? > > Matthew Curtis > > [1] http://msdn.microsoft.com/en-us/library/yx1x886y.aspx > > > > -- > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted...
2013 May 15
2
[LLVMdev] [polly] Polly Loop info and LoopSimplify functionality
...(by the way ...why?) lib/CodeGen/CodeGeneration.cpp // FIXME: We do not create LoopInfo for the newly generated loops. AU.addPreserved<LoopInfo>(); lib/CodeGen/IslCodeGeneration.cpp: // FIXME: We do not create LoopInfo for the newly generated loops. AU.addPreservedID(LoopInfo::getClassPassID()); ...or as always I might be missing a big picture here, and I appreciate if you can explain the original intent. Thanks a lot. Sergei --- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation