gcc does not like
const Region *Region;
It wants a different name for the variable.
Is there a better convention for what name to use in such a case?
Paths
| Differential D50472
Fix wasm backend compilation on gcc 5.4: variable name cannot match class ClosedPublic Authored by kripken on Aug 8 2018, 1:44 PM.
Details Summary gcc does not like const Region *Region; It wants a different name for the variable. Is there a better convention for what name to use in such a case?
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, aheejin, jgravelle-google, dschuff. · View Herald TranscriptAug 8 2018, 1:44 PM Comment Actions I'm OK with The. Or how about changing the class name to SortRegion and leave the variable name as is? I like either way. This revision is now accepted and ready to land.Aug 9 2018, 3:07 PM Comment Actions Thanks aheejin! It's been a while since I submitted a patch to LLVM - I'm not sure how landing works? Do I need to do anything? Comment Actions No, I think I don't. I think someone else landed the few patches I had a few years ago. Closed by commit rL339398: [WebAssembly] Fix wasm backend compilation on gcc 5.4: variable name cannot… (authored by aheejin). · Explain WhyAug 9 2018, 3:36 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 160023 llvm/trunk/lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
|