]> granicus.if.org Git - clang/commit
Sink the logic to suppress builtin operator overloads in the presence of
authorChandler Carruth <chandlerc@gmail.com>
Sun, 12 Dec 2010 09:14:11 +0000 (09:14 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 12 Dec 2010 09:14:11 +0000 (09:14 +0000)
commit7b80b4b9a9df2ee54466922ce14cdfd639ac1972
treea673697c98f27a66f23185d1d5d225cfaac30afb
parentabb71845ef4a2bbd0a20541b92285e44f2190825
Sink the logic to suppress builtin operator overloads in the presence of
user-defined operator overloads on the same enumeral types to the one place
where it is used.

In theory this removes wasted computation from several paths through this code,
but I'm not aware of a case where it actually matters. This is mostly for
cleanliness.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121630 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp