r255098 - Reformat linefeeds.
NAKAMURA Takumi via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 8 23:52:46 PST 2015
Author: chapuni
Date: Wed Dec 9 01:52:46 2015
New Revision: 255098
URL: http://llvm.org/viewvc/llvm-project?rev=255098&view=rev
Log:
Reformat linefeeds.
Modified:
cfe/trunk/include/clang-c/Index.h
cfe/trunk/include/clang/Basic/StmtNodes.td
cfe/trunk/lib/AST/StmtProfile.cpp
cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp
Modified: cfe/trunk/include/clang-c/Index.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=255098&r1=255097&r2=255098&view=diff
==============================================================================
--- cfe/trunk/include/clang-c/Index.h (original)
+++ cfe/trunk/include/clang-c/Index.h Wed Dec 9 01:52:46 2015
@@ -285,7 +285,6 @@ CINDEX_LINKAGE unsigned clang_CXIndex_ge
*/
typedef void *CXFile;
-
/**
* \brief Retrieve the complete file and path name of the given file.
*/
@@ -705,7 +704,6 @@ CINDEX_LINKAGE unsigned clang_getNumDiag
CINDEX_LINKAGE CXDiagnostic clang_getDiagnosticInSet(CXDiagnosticSet Diags,
unsigned Index);
-
/**
* \brief Describes the kind of error that occurred (if any) in a call to
* \c clang_loadDiagnostics.
@@ -2613,7 +2611,6 @@ CINDEX_LINKAGE enum CXLanguageKind clang
*/
CINDEX_LINKAGE CXTranslationUnit clang_Cursor_getTranslationUnit(CXCursor);
-
/**
* \brief A fast container representing a set of CXCursors.
*/
@@ -2932,7 +2929,6 @@ enum CXCallingConv {
CXCallingConv_Unexposed = 200
};
-
/**
* \brief The type of an element in the abstract syntax tree.
*
@@ -3370,7 +3366,6 @@ CINDEX_LINKAGE long long clang_Cursor_ge
*/
CINDEX_LINKAGE unsigned clang_Cursor_isAnonymous(CXCursor C);
-
enum CXRefQualifierKind {
/** \brief No ref-qualifier was provided. */
CXRefQualifier_None = 0,
@@ -3499,7 +3494,6 @@ CINDEX_LINKAGE CXCursor clang_getOverloa
* @{
*/
-
/**
* \brief For cursors representing an iboutletcollection attribute,
* this function returns the collection element type.
@@ -3653,7 +3647,6 @@ CINDEX_LINKAGE CXString
CINDEX_LINKAGE CXString
clang_constructUSR_ObjCProtocol(const char *protocol_name);
-
/**
* \brief Construct a USR for a specified Objective-C instance variable and
* the USR for its containing class.
@@ -3779,7 +3772,6 @@ CINDEX_LINKAGE unsigned clang_isCursorDe
*/
CINDEX_LINKAGE CXCursor clang_getCanonicalCursor(CXCursor);
-
/**
* \brief If the cursor points to a selector identifier in an Objective-C
* method or message expression, this returns the selector index.
@@ -5006,8 +4998,7 @@ enum CXCursorKind clang_codeCompleteGetC
*/
CINDEX_LINKAGE
CXString clang_codeCompleteGetContainerUSR(CXCodeCompleteResults *Results);
-
-
+
/**
* \brief Returns the currently-entered selector for an Objective-C message
* send, formatted like "initWithFoo:bar:". Only guaranteed to return a
@@ -5026,7 +5017,6 @@ CXString clang_codeCompleteGetObjCSelect
* @}
*/
-
/**
* \defgroup CINDEX_MISC Miscellaneous utility functions
*
@@ -5039,7 +5029,6 @@ CXString clang_codeCompleteGetObjCSelect
*/
CINDEX_LINKAGE CXString clang_getClangVersion(void);
-
/**
* \brief Enable/disable crash recovery.
*
@@ -5818,7 +5807,6 @@ CINDEX_LINKAGE unsigned clang_Type_visit
CXFieldVisitor visitor,
CXClientData client_data);
-
/**
* @}
*/
@@ -5831,4 +5819,3 @@ CINDEX_LINKAGE unsigned clang_Type_visit
}
#endif
#endif
-
Modified: cfe/trunk/include/clang/Basic/StmtNodes.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/StmtNodes.td?rev=255098&r1=255097&r2=255098&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/StmtNodes.td (original)
+++ cfe/trunk/include/clang/Basic/StmtNodes.td Wed Dec 9 01:52:46 2015
@@ -221,4 +221,3 @@ def OMPCancellationPointDirective : DStm
def OMPCancelDirective : DStmt<OMPExecutableDirective>;
def OMPTaskLoopDirective : DStmt<OMPLoopDirective>;
def OMPTaskLoopSimdDirective : DStmt<OMPLoopDirective>;
-
Modified: cfe/trunk/lib/AST/StmtProfile.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/StmtProfile.cpp?rev=255098&r1=255097&r2=255098&view=diff
==============================================================================
--- cfe/trunk/lib/AST/StmtProfile.cpp (original)
+++ cfe/trunk/lib/AST/StmtProfile.cpp Wed Dec 9 01:52:46 2015
@@ -262,6 +262,7 @@ class OMPClauseProfiler : public ConstOM
/// \brief Process clauses with list of variables.
template <typename T>
void VisitOMPClauseList(T *Node);
+
public:
OMPClauseProfiler(StmtProfiler *P) : Profiler(P) { }
#define OPENMP_CLAUSE(Name, Class) \
@@ -1046,7 +1047,6 @@ static Stmt::StmtClass DecodeOperatorCal
BinaryOp = BO_Comma;
return Stmt::BinaryOperatorClass;
-
case OO_ArrowStar:
BinaryOp = BO_PtrMemI;
return Stmt::BinaryOperatorClass;
@@ -1058,7 +1058,6 @@ static Stmt::StmtClass DecodeOperatorCal
llvm_unreachable("Invalid overloaded operator expression");
}
-
void StmtProfiler::VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *S) {
if (S->isTypeDependent()) {
// Type-dependent operator calls are profiled like their underlying
@@ -1235,7 +1234,6 @@ void StmtProfiler::VisitCXXDeleteExpr(co
VisitDecl(S->getOperatorDelete());
}
-
void StmtProfiler::VisitCXXNewExpr(const CXXNewExpr *S) {
VisitExpr(S);
VisitType(S->getAllocatedType());
Modified: cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp?rev=255098&r1=255097&r2=255098&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp Wed Dec 9 01:52:46 2015
@@ -1574,7 +1574,6 @@ void ExprEngine::processBranch(const Stm
return;
}
-
if (const Expr *Ex = dyn_cast<Expr>(Condition))
Condition = Ex->IgnoreParens();
@@ -1946,7 +1945,6 @@ void ExprEngine::VisitLvalArraySubscript
const Expr *Base = A->getBase()->IgnoreParens();
const Expr *Idx = A->getIdx()->IgnoreParens();
-
ExplodedNodeSet checkerPreStmt;
getCheckerManager().runCheckersForPreStmt(checkerPreStmt, Pred, A, *this);
@@ -2052,6 +2050,7 @@ void ExprEngine::VisitMemberExpr(const M
namespace {
class CollectReachableSymbolsCallback final : public SymbolVisitor {
InvalidatedSymbols Symbols;
+
public:
CollectReachableSymbolsCallback(ProgramStateRef State) {}
const InvalidatedSymbols &getSymbols() const { return Symbols; }
@@ -2174,7 +2173,6 @@ void ExprEngine::evalBind(ExplodedNodeSe
getCheckerManager().runCheckersForBind(CheckedSet, Pred, location, Val,
StoreE, *this, *PP);
-
StmtNodeBuilder Bldr(CheckedSet, Dst, *currBldrCtx);
// If the location is not a 'Loc', it will already be handled by
@@ -2188,7 +2186,6 @@ void ExprEngine::evalBind(ExplodedNodeSe
return;
}
-
for (ExplodedNodeSet::iterator I = CheckedSet.begin(), E = CheckedSet.end();
I!=E; ++I) {
ExplodedNode *PredI = *I;
More information about the cfe-commits
mailing list