[PATCH] D35729: [Frontend] - Mark some ASTUnit methods as const
Hamza Sood via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 21 10:48:01 PDT 2017
hamzasood created this revision.
While using the libtooling API, I ran into problems when using a const ASTUnit. There were a few functions I needed to use that don't seem to modify anything, but they weren't marked as const so I couldn't use them.
This patch marks those methods (and a few others) as const.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4471 bytes
Desc: not available
More information about the cfe-commits