summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-03-04 04:36:46 +0000
committerRui Ueyama <ruiu@google.com>2015-03-04 04:36:46 +0000
commit394d10e34d01415897b6af28f7fceaeb5a9088f2 (patch)
tree350d1297c7b263fba845af6a4621be8de04d883a /clang/lib/Sema/SemaChecking.cpp
parentb480296e6cb4a2cc5d5f588e35d4148f8770fea9 (diff)
downloadbcm5719-llvm-394d10e34d01415897b6af28f7fceaeb5a9088f2.tar.gz
bcm5719-llvm-394d10e34d01415897b6af28f7fceaeb5a9088f2.zip
Make File non-const in the resolver.
File objects are not really const in the resolver. We set ordinals to them and call beforeLink hooks. Also, File's member functions marked as const are not really const. ArchiveFile never returns the same member file twice, so it remembers files returned before. find() has side effects. In order to deal with the inconsistencies, we sprinkled const_casts and marked member varaibles as mutable. This patch removes const from there to reflect the reality. llvm-svn: 231212
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud