diff options
| author | Eric Fiselier <eric@efcs.ca> | 2016-02-20 07:12:17 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2016-02-20 07:12:17 +0000 |
| commit | 0594ad713bbcb907f662b9c545dfad4703f3dced (patch) | |
| tree | 765d68089f5c965096c447c279d68c021853a9ae /llvm | |
| parent | f5ef3f9ce6578e7fa5779bca45b5e6d17ffcb5bd (diff) | |
| download | bcm5719-llvm-0594ad713bbcb907f662b9c545dfad4703f3dced.tar.gz bcm5719-llvm-0594ad713bbcb907f662b9c545dfad4703f3dced.zip | |
Remove all usages of "const" node pointer typedefs in the assoc containers.
The "const" pointer typedefs such as "__node_const_pointer" and
"__node_base_const_pointer" are identical to their non-const pointer types.
This patch changes all usages of "const" pointer type names to their respective
non-const typedef.
Since "fancy pointers to const" cannot be converted back to a non-const pointer
type according to the allocator requirements it is important that we never
actually use "const" pointers.
Furthermore since "__node_const_pointer" and "__node_pointer" already
name the same type, it's very confusing to use both names. Especially
when defining const/non-const overloads for member functions.
llvm-svn: 261419
Diffstat (limited to 'llvm')
0 files changed, 0 insertions, 0 deletions

