Home

Rename getResultType() on function and method declarations to getReturnType()

Press ? to show keyboard shortcuts.
Committed
alpJan 25 2014, 8:55 AM
Parents
rL200081: [Mips] Add support for mips64el-linux-android triple.
Branches
Unknown
Tags
Unknown
Subscribers
None
Projects
None
Description

Rename getResultType() on function and method declarations to getReturnType()

A return type is the declared or deduced part of the function type specified in
the declaration.

A result type is the (potentially adjusted) type of the value of an expression
that calls the function.

Rule of thumb:

  • Declarations have return types and parameters.
  • Expressions have result types and arguments.

Changes (81)

HistoryBrowseChangePath
HistoryBrowseModifiedcfe/trunk/include/clang-c/Index.h
HistoryBrowseModifiedcfe/trunk/include/clang/AST/CanonicalType.h
HistoryBrowseModifiedcfe/trunk/include/clang/AST/Comment.h
HistoryBrowseModifiedcfe/trunk/include/clang/AST/DataRecursiveASTVisitor.h
HistoryBrowseModifiedcfe/trunk/include/clang/AST/Decl.h
HistoryBrowseModifiedcfe/trunk/include/clang/AST/DeclCXX.h
HistoryBrowseModifiedcfe/trunk/include/clang/AST/DeclObjC.h
HistoryBrowseModifiedcfe/trunk/include/clang/AST/ExprObjC.h
HistoryBrowseModifiedcfe/trunk/include/clang/AST/RecursiveASTVisitor.h
HistoryBrowseModifiedcfe/trunk/include/clang/AST/Type.h
HistoryBrowseModifiedcfe/trunk/include/clang/AST/TypeLoc.h
HistoryBrowseModifiedcfe/trunk/include/clang/ASTMatchers/ASTMatchers.h
HistoryBrowseModifiedcfe/trunk/lib/ARCMigrate/ObjCMT.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/ASTContext.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/ASTDumper.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/ASTImporter.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/Comment.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/CommentSema.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/DeclObjC.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/DeclPrinter.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/Expr.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/ExprClassification.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/ExprConstant.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/ItaniumMangle.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/MicrosoftMangle.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/StmtPrinter.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/Type.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/TypePrinter.cpp
HistoryBrowseModifiedcfe/trunk/lib/AST/VTableBuilder.cpp
HistoryBrowseModifiedcfe/trunk/lib/Analysis/BodyFarm.cpp
HistoryBrowseModifiedcfe/trunk/lib/CodeGen/CGBlocks.cpp
HistoryBrowseModifiedcfe/trunk/lib/CodeGen/CGCall.cpp
HistoryBrowseModifiedcfe/trunk/lib/CodeGen/CGClass.cpp
HistoryBrowseModifiedcfe/trunk/lib/CodeGen/CGDebugInfo.cpp
HistoryBrowseModifiedcfe/trunk/lib/CodeGen/CGExpr.cpp
HistoryBrowseModifiedcfe/trunk/lib/CodeGen/CGExprCXX.cpp
HistoryBrowseModifiedcfe/trunk/lib/CodeGen/CGExprScalar.cpp
HistoryBrowseModifiedcfe/trunk/lib/CodeGen/CGObjC.cpp
HistoryBrowseModifiedcfe/trunk/lib/CodeGen/CGObjCMac.cpp
HistoryBrowseModifiedcfe/trunk/lib/CodeGen/CGVTables.cpp
HistoryBrowseModifiedcfe/trunk/lib/CodeGen/CodeGenFunction.cpp
HistoryBrowseModifiedcfe/trunk/lib/CodeGen/CodeGenTypes.cpp
HistoryBrowseModifiedcfe/trunk/lib/Index/USRGeneration.cpp
HistoryBrowseModifiedcfe/trunk/lib/Parse/ParseCXXInlineMethods.cpp
HistoryBrowseModifiedcfe/trunk/lib/Rewrite/Frontend/RewriteModernObjC.cpp
HistoryBrowseModifiedcfe/trunk/lib/Rewrite/Frontend/RewriteObjC.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/Sema.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaAccess.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaChecking.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaCodeComplete.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaDecl.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaDeclAttr.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaDeclCXX.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaDeclObjC.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaExceptionSpec.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaExpr.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaExprCXX.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaExprObjC.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaInit.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaLambda.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaLookup.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaObjCProperty.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaOverload.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaPseudoObject.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaStmt.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaTemplate.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaTemplateDeduction.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/SemaType.cpp
HistoryBrowseModifiedcfe/trunk/lib/Sema/TreeTransform.h
HistoryBrowseModifiedcfe/trunk/lib/Serialization/ASTReaderDecl.cpp
HistoryBrowseModifiedcfe/trunk/lib/Serialization/ASTWriter.cpp
HistoryBrowseModifiedcfe/trunk/lib/Serialization/ASTWriterDecl.cpp
HistoryBrowseModifiedcfe/trunk/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
HistoryBrowseModifiedcfe/trunk/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp
HistoryBrowseModifiedcfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
HistoryBrowseModifiedcfe/trunk/lib/StaticAnalyzer/Core/CallEvent.cpp
HistoryBrowseModifiedcfe/trunk/tools/libclang/CIndex.cpp
HistoryBrowseModifiedcfe/trunk/tools/libclang/CXType.cpp
HistoryBrowseModifiedcfe/trunk/tools/libclang/IndexDecl.cpp

rL200082

cfe/trunk/include/clang-c/Index.h

Loading...

cfe/trunk/include/clang/AST/CanonicalType.h

Loading...

cfe/trunk/include/clang/AST/Comment.h

Loading...

cfe/trunk/include/clang/AST/DataRecursiveASTVisitor.h

Loading...

cfe/trunk/include/clang/AST/Decl.h

Loading...

cfe/trunk/include/clang/AST/DeclCXX.h

Loading...

cfe/trunk/include/clang/AST/DeclObjC.h

Loading...

cfe/trunk/include/clang/AST/ExprObjC.h

Loading...

cfe/trunk/include/clang/AST/RecursiveASTVisitor.h

Loading...

cfe/trunk/include/clang/AST/Type.h

Loading...

cfe/trunk/include/clang/AST/TypeLoc.h

Loading...

cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h

Loading...

cfe/trunk/lib/ARCMigrate/ObjCMT.cpp

Loading...

cfe/trunk/lib/AST/ASTContext.cpp

Loading...

cfe/trunk/lib/AST/ASTDumper.cpp

Loading...

cfe/trunk/lib/AST/ASTImporter.cpp

Loading...

cfe/trunk/lib/AST/Comment.cpp

Loading...

cfe/trunk/lib/AST/CommentSema.cpp

Loading...

cfe/trunk/lib/AST/DeclObjC.cpp

Loading...

cfe/trunk/lib/AST/DeclPrinter.cpp

Loading...

cfe/trunk/lib/AST/Expr.cpp

Loading...

cfe/trunk/lib/AST/ExprClassification.cpp

Loading...

cfe/trunk/lib/AST/ExprConstant.cpp

Loading...

cfe/trunk/lib/AST/ItaniumMangle.cpp

Loading...

cfe/trunk/lib/AST/MicrosoftMangle.cpp

Loading...

cfe/trunk/lib/AST/StmtPrinter.cpp

Loading...

cfe/trunk/lib/AST/Type.cpp

Loading...

cfe/trunk/lib/AST/TypePrinter.cpp

Loading...

cfe/trunk/lib/AST/VTableBuilder.cpp

Loading...

cfe/trunk/lib/Analysis/BodyFarm.cpp

Loading...

cfe/trunk/lib/CodeGen/CGBlocks.cpp

Loading...

cfe/trunk/lib/CodeGen/CGCall.cpp

Loading...

cfe/trunk/lib/CodeGen/CGClass.cpp

Loading...

cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Loading...

cfe/trunk/lib/CodeGen/CGExpr.cpp

Loading...

cfe/trunk/lib/CodeGen/CGExprCXX.cpp

Loading...

cfe/trunk/lib/CodeGen/CGExprScalar.cpp

Loading...

cfe/trunk/lib/CodeGen/CGObjC.cpp

Loading...

cfe/trunk/lib/CodeGen/CGObjCMac.cpp

Loading...

cfe/trunk/lib/CodeGen/CGVTables.cpp

Loading...

cfe/trunk/lib/CodeGen/CodeGenFunction.cpp

Loading...

cfe/trunk/lib/CodeGen/CodeGenTypes.cpp

Loading...

cfe/trunk/lib/Index/USRGeneration.cpp

Loading...

cfe/trunk/lib/Parse/ParseCXXInlineMethods.cpp

Loading...

cfe/trunk/lib/Rewrite/Frontend/RewriteModernObjC.cpp

Loading...

cfe/trunk/lib/Rewrite/Frontend/RewriteObjC.cpp

Loading...

cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp

Loading...

cfe/trunk/lib/Sema/Sema.cpp

Loading...

cfe/trunk/lib/Sema/SemaAccess.cpp

Loading...

cfe/trunk/lib/Sema/SemaChecking.cpp

Loading...

cfe/trunk/lib/Sema/SemaCodeComplete.cpp

Loading...

cfe/trunk/lib/Sema/SemaDecl.cpp

Loading...

cfe/trunk/lib/Sema/SemaDeclAttr.cpp

Loading...

cfe/trunk/lib/Sema/SemaDeclCXX.cpp

Loading...

cfe/trunk/lib/Sema/SemaDeclObjC.cpp

Loading...

cfe/trunk/lib/Sema/SemaExceptionSpec.cpp

Loading...

cfe/trunk/lib/Sema/SemaExpr.cpp

Loading...

cfe/trunk/lib/Sema/SemaExprCXX.cpp

Loading...

cfe/trunk/lib/Sema/SemaExprObjC.cpp

Loading...

cfe/trunk/lib/Sema/SemaInit.cpp

Loading...

cfe/trunk/lib/Sema/SemaLambda.cpp

Loading...

cfe/trunk/lib/Sema/SemaLookup.cpp

Loading...

cfe/trunk/lib/Sema/SemaObjCProperty.cpp

Loading...

cfe/trunk/lib/Sema/SemaOverload.cpp

Loading...

cfe/trunk/lib/Sema/SemaPseudoObject.cpp

Loading...

cfe/trunk/lib/Sema/SemaStmt.cpp

Loading...

cfe/trunk/lib/Sema/SemaTemplate.cpp

Loading...

cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp

Loading...

cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp

Loading...

cfe/trunk/lib/Sema/SemaType.cpp

Loading...

cfe/trunk/lib/Sema/TreeTransform.h

Loading...

cfe/trunk/lib/Serialization/ASTReaderDecl.cpp

Loading...

cfe/trunk/lib/Serialization/ASTWriter.cpp

Loading...

cfe/trunk/lib/Serialization/ASTWriterDecl.cpp

Loading...

cfe/trunk/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp

Loading...

cfe/trunk/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp

Loading...

cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp

Loading...

cfe/trunk/lib/StaticAnalyzer/Core/CallEvent.cpp

Loading...

cfe/trunk/tools/libclang/CIndex.cpp

Loading...

cfe/trunk/tools/libclang/CXType.cpp

Loading...

cfe/trunk/tools/libclang/IndexDecl.cpp

Loading...

Add Comment