Skip to content

Commit

Permalink
Ensure newlines at the end of files (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazutakahirata committed Oct 23, 2021
1 parent d14d706 commit d8e4170
Show file tree
Hide file tree
Showing 32 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion clang-tools-extra/clangd/HeuristicResolver.cpp
Expand Up @@ -266,4 +266,4 @@ std::vector<const NamedDecl *> HeuristicResolver::resolveDependentMember(
}

} // namespace clangd
} // namespace clang
} // namespace clang
2 changes: 1 addition & 1 deletion clang/docs/analyzer/developer-docs.rst
Expand Up @@ -11,4 +11,4 @@ Contents:
developer-docs/InitializerLists
developer-docs/nullability
developer-docs/RegionStore


2 changes: 1 addition & 1 deletion clang/lib/Driver/ToolChains/AMDGPU.cpp
Expand Up @@ -927,4 +927,4 @@ ROCMToolChain::getCommonDeviceLibNames(const llvm::opt::ArgList &DriverArgs,
return RocmInstallation.getCommonBitcodeLibs(
DriverArgs, LibDeviceFile, Wave64, DAZ, FiniteOnly, UnsafeMathOpt,
FastRelaxedMath, CorrectSqrt);
}
}
2 changes: 1 addition & 1 deletion clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
Expand Up @@ -1118,4 +1118,4 @@ void ento::registerStreamTesterChecker(CheckerManager &Mgr) {

bool ento::shouldRegisterStreamTesterChecker(const CheckerManager &Mgr) {
return true;
}
}
2 changes: 1 addition & 1 deletion libc/test/src/string/memory_utils/CMakeLists.txt
Expand Up @@ -12,4 +12,4 @@ add_libc_unittest(
COMPILE_OPTIONS
${LIBC_COMPILE_OPTIONS_NATIVE}
-ffreestanding
)
)
2 changes: 1 addition & 1 deletion libcxx/benchmarks/algorithms.bench.cpp
Expand Up @@ -334,4 +334,4 @@ int main(int argc, char** argv) {
makeCartesianProductBenchmark<PushHeap, AllValueTypes, AllOrders>(Quantities);
makeCartesianProductBenchmark<PopHeap, AllValueTypes>(Quantities);
benchmark::RunSpecifiedBenchmarks();
}
}
Expand Up @@ -89,4 +89,4 @@ class MinidumpFileBuilder {
lldb_private::DataBufferHeap m_data;
};

#endif // LLDB_SOURCE_PLUGINS_OBJECTFILE_MINIDUMP_MINIDUMPFILEBUILDER_H
#endif // LLDB_SOURCE_PLUGINS_OBJECTFILE_MINIDUMP_MINIDUMPFILEBUILDER_H
2 changes: 1 addition & 1 deletion llvm/docs/TableGen/BackGuide.rst
Expand Up @@ -860,4 +860,4 @@ the ``--emit-dag-isel`` backend run on the AMDGPU target.
The backend has been divided into four phases and timed separately.

If you want to instrument a backend, refer to the backend ``DAGISelEmitter.cpp``
and search for ``Records.startTimer``.
and search for ``Records.startTimer``.
Expand Up @@ -228,4 +228,4 @@ class GSelect : public GenericMachineInstr {

} // namespace llvm

#endif // LLVM_CODEGEN_GLOBALISEL_GENERICMACHINEINSTRS_H
#endif // LLVM_CODEGEN_GLOBALISEL_GENERICMACHINEINSTRS_H
2 changes: 1 addition & 1 deletion llvm/lib/Analysis/OverflowInstAnalysis.cpp
Expand Up @@ -69,4 +69,4 @@ bool llvm::isCheckForZeroAndMulWithOverflow(Value *Op0, Value *Op1,
bool IsAnd) {
Use *Y;
return isCheckForZeroAndMulWithOverflow(Op0, Op1, IsAnd, Y);
}
}
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/CodeGenCommonISel.cpp
Expand Up @@ -166,4 +166,4 @@ llvm::findSplitPointForStackProtector(MachineBasicBlock *BB,
}

return SplitPoint;
}
}
2 changes: 1 addition & 1 deletion llvm/lib/Support/DebugOptions.h
Expand Up @@ -26,4 +26,4 @@ void initWithColorOptions();
void initDebugOptions();
void initRandomSeedOptions();

} // namespace llvm
} // namespace llvm
2 changes: 1 addition & 1 deletion llvm/lib/Target/AMDGPU/MCA/CMakeLists.txt
Expand Up @@ -14,4 +14,4 @@ add_llvm_component_library(LLVMAMDGPUTargetMCA
AMDGPU
)

add_dependencies(LLVMAMDGPUTargetMCA LLVMAMDGPUUtils)
add_dependencies(LLVMAMDGPUTargetMCA LLVMAMDGPUUtils)
2 changes: 1 addition & 1 deletion llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
Expand Up @@ -935,4 +935,4 @@ bool ARMBaseRegisterInfo::shouldRewriteCopySrc(const TargetRegisterClass *DefRC,

return TargetRegisterInfo::shouldRewriteCopySrc(DefRC, DefSubReg,
SrcRC, SrcSubReg);
}
}
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/AsmParser/CSKYAsmParser.cpp
Expand Up @@ -1420,4 +1420,4 @@ bool CSKYAsmParser::ParseDirective(AsmToken DirectiveID) { return true; }

extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeCSKYAsmParser() {
RegisterMCAsmParser<CSKYAsmParser> X(getTheCSKYTarget());
}
}
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/CSKYInstrFormats.td
Expand Up @@ -676,4 +676,4 @@ class BAR<bits<5> sop, string op, bits<1> signed>
let hasSideEffects = 1;
let mayLoad = 0;
let mayStore = 0;
}
}
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/CSKYInstrInfo.td
Expand Up @@ -946,4 +946,4 @@ def PseudoTLSLA32 : CSKYPseudo<(outs GPR:$dst1, GPR:$dst2),

let hasSideEffects = 0, isNotDuplicable = 1 in
def CONSTPOOL_ENTRY : CSKYPseudo<(outs),
(ins i32imm:$instid, i32imm:$cpidx, i32imm:$size), "", []>;
(ins i32imm:$instid, i32imm:$cpidx, i32imm:$size), "", []>;
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/CSKYSubtarget.cpp
Expand Up @@ -49,4 +49,4 @@ CSKYSubtarget::CSKYSubtarget(const Triple &TT, StringRef CPU, StringRef TuneCPU,
StringRef FS, const TargetMachine &TM)
: CSKYGenSubtargetInfo(TT, CPU, TuneCPU, FS),
FrameLowering(initializeSubtargetDependencies(TT, CPU, TuneCPU, FS)),
InstrInfo(*this), RegInfo(), TLInfo(TM, *this) {}
InstrInfo(*this), RegInfo(), TLInfo(TM, *this) {}
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/CSKYSubtarget.h
Expand Up @@ -84,4 +84,4 @@ class CSKYSubtarget : public CSKYGenSubtargetInfo {
};
} // namespace llvm

#endif // LLVM_LIB_TARGET_CSKY_CSKYSUBTARGET_H
#endif // LLVM_LIB_TARGET_CSKY_CSKYSUBTARGET_H
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/MCTargetDesc/CSKYFixupKinds.h
Expand Up @@ -58,4 +58,4 @@ enum Fixups {
} // end namespace CSKY
} // end namespace llvm

#endif // LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYFIXUPKINDS_H
#endif // LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYFIXUPKINDS_H
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/MCTargetDesc/CSKYInstPrinter.h
Expand Up @@ -66,4 +66,4 @@ class CSKYInstPrinter : public MCInstPrinter {

} // namespace llvm

#endif // LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYINSTPRINTER_H
#endif // LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYINSTPRINTER_H
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCCodeEmitter.cpp
Expand Up @@ -175,4 +175,4 @@ MCCodeEmitter *llvm::createCSKYMCCodeEmitter(const MCInstrInfo &MCII,
return new CSKYMCCodeEmitter(Ctx, MCII);
}

#include "CSKYGenMCCodeEmitter.inc"
#include "CSKYGenMCCodeEmitter.inc"
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCCodeEmitter.h
Expand Up @@ -173,4 +173,4 @@ class CSKYMCCodeEmitter : public MCCodeEmitter {

} // namespace llvm

#endif // LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYMCCODEEMITTER_H
#endif // LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYMCCODEEMITTER_H
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCExpr.cpp
Expand Up @@ -134,4 +134,4 @@ bool CSKYMCExpr::evaluateAsRelocatableImpl(MCValue &Res,
}

return true;
}
}
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCExpr.h
Expand Up @@ -73,4 +73,4 @@ class CSKYMCExpr : public MCTargetExpr {
};
} // end namespace llvm

#endif
#endif
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCTargetDesc.h
Expand Up @@ -48,4 +48,4 @@ MCCodeEmitter *createCSKYMCCodeEmitter(const MCInstrInfo &MCII,
#define GET_SUBTARGETINFO_ENUM
#include "CSKYGenSubtargetInfo.inc"

#endif // LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYMCTARGETDESC_H
#endif // LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYMCTARGETDESC_H
2 changes: 1 addition & 1 deletion llvm/tools/llvm-exegesis/lib/SnippetFile.h
Expand Up @@ -32,4 +32,4 @@ Expected<std::vector<BenchmarkCode>> readSnippets(const LLVMState &State,
} // namespace exegesis
} // namespace llvm

#endif
#endif
2 changes: 1 addition & 1 deletion mlir/lib/Bindings/Python/Pass.h
Expand Up @@ -19,4 +19,4 @@ void populatePassManagerSubmodule(pybind11::module &m);
} // namespace python
} // namespace mlir

#endif // MLIR_BINDINGS_PYTHON_PASS_H
#endif // MLIR_BINDINGS_PYTHON_PASS_H
Expand Up @@ -360,4 +360,4 @@ mlir::createLinalgStrategyLowerVectorsPass(LinalgVectorLoweringOptions opt,
std::unique_ptr<OperationPass<FuncOp>>
mlir::createLinalgStrategyRemoveMarkersPass() {
return std::make_unique<LinalgStrategyRemoveMarkersPass>();
}
}
2 changes: 1 addition & 1 deletion openmp/libomptarget/plugins/ppc64/CMakeLists.txt
Expand Up @@ -14,4 +14,4 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
build_generic_elf64("ppc64" "PPC64" "ppc64" "powerpc64-ibm-linux-gnu" "21")
else()
libomptarget_say("Not building ppc64 offloading plugin: machine not found in the system.")
endif()
endif()
2 changes: 1 addition & 1 deletion openmp/libomptarget/plugins/ppc64le/CMakeLists.txt
Expand Up @@ -14,4 +14,4 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
build_generic_elf64("ppc64le" "PPC64le" "ppc64" "powerpc64le-ibm-linux-gnu" "21")
else()
libomptarget_say("Not building ppc64le offloading plugin: machine not found in the system.")
endif()
endif()
2 changes: 1 addition & 1 deletion openmp/libomptarget/plugins/x86_64/CMakeLists.txt
Expand Up @@ -14,4 +14,4 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
build_generic_elf64("x86_64" "x86_64" "x86_64" "x86_64-pc-linux-gnu" "62")
else()
libomptarget_say("Not building x86_64 offloading plugin: machine not found in the system.")
endif()
endif()

0 comments on commit d8e4170

Please sign in to comment.