From: Chandler Carruth Date: Sun, 12 Dec 2010 09:22:45 +0000 (+0000) Subject: Add a comment to a helper function. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c69dc46d5391d5171875310be3edf8ca94db352;p=clang Add a comment to a helper function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121632 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 937384d3a1..99b483ff6e 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -4618,6 +4618,8 @@ class BuiltinOperatorOverloadBuilder { llvm::SmallVectorImpl &CandidateTypes; OverloadCandidateSet &CandidateSet; + /// \brief Helper method to factor out the common pattern of adding overloads + /// for '++' and '--' builtin operators. void addPlusPlusMinusMinusStyleOverloads(QualType CandidateTy, bool HasVolatile) { QualType ParamTypes[2] = {