forked from OSchip/llvm-project
[AST] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).
llvm-svn: 319384
This commit is contained in:
parent
d1f6dcd1f5
commit
d1b2d22d37
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +1,4 @@
|
|||
//===--- OpenMPClause.cpp - Classes for OpenMP clauses --------------------===//
|
||||
//===- OpenMPClause.cpp - Classes for OpenMP clauses ----------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
@ -12,8 +12,14 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/AST/OpenMPClause.h"
|
||||
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
||||
using namespace clang;
|
||||
|
||||
|
@ -716,7 +722,6 @@ OMPMapClause::Create(const ASTContext &C, SourceLocation StartLoc,
|
|||
MappableExprComponentListsRef ComponentLists,
|
||||
OpenMPMapClauseKind TypeModifier, OpenMPMapClauseKind Type,
|
||||
bool TypeIsImplicit, SourceLocation TypeLoc) {
|
||||
|
||||
unsigned NumVars = Vars.size();
|
||||
unsigned NumUniqueDeclarations =
|
||||
getUniqueDeclarationsTotalNumber(Declarations);
|
||||
|
|
Loading…
Reference in New Issue