summaryrefslogtreecommitdiff
path: root/include/clang/Basic/Specifiers.h
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-06-26 03:53:06 +0000
committerVedant Kumar <vsk@apple.com>2018-06-26 03:53:06 +0000
commitd4b57547051f0bd30420c8e53dc46566c70de30f (patch)
tree6ca3caf8975831b22799e34d77f3d07da1e8977f /include/clang/Basic/Specifiers.h
parentf759bf6afbe728cf398cda332ad74b9a424f9a4f (diff)
downloadclang-d4b57547051f0bd30420c8e53dc46566c70de30f.tar.gz
Fix an ambiguous overload issue pointed out by MSVC
Log: http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/11390 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Specifiers.h')
-rw-r--r--include/clang/Basic/Specifiers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/Specifiers.h b/include/clang/Basic/Specifiers.h
index c5edb5ea96..303b77e448 100644
--- a/include/clang/Basic/Specifiers.h
+++ b/include/clang/Basic/Specifiers.h
@@ -296,7 +296,7 @@ namespace clang {
/// Return true if \p L has a weaker nullability annotation than \p R. The
/// ordering is: Unspecified < Nullable < NonNull.
- inline bool operator<(NullabilityKind L, NullabilityKind R) {
+ inline bool hasWeakerNullability(NullabilityKind L, NullabilityKind R) {
return uint8_t(L) > uint8_t(R);
}