]> granicus.if.org Git - clang/commitdiff
Add a comment to a helper function.
authorChandler Carruth <chandlerc@gmail.com>
Sun, 12 Dec 2010 09:22:45 +0000 (09:22 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 12 Dec 2010 09:22:45 +0000 (09:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121632 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaOverload.cpp

index 937384d3a1fa5ff6386ca811c2e2b062e5c12b49..99b483ff6e08b3f4325b42522f331089a71f6e44 100644 (file)
@@ -4618,6 +4618,8 @@ class BuiltinOperatorOverloadBuilder {
   llvm::SmallVectorImpl<BuiltinCandidateTypeSet> &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] = {