[build] Add .inl files to styleguide (NFC) (#2506)

No functional changes.
This commit is contained in:
Peter Johnson
2020-05-05 18:17:50 -07:00
committed by GitHub
parent cf20b068ca
commit 67554ef3b0
9 changed files with 66 additions and 40 deletions

View File

@@ -1,12 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2017-2019. All Rights Reserved. */
/* Copyright (c) 2017-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#ifndef NT_ENTRY_INL_
#define NT_ENTRY_INL_
#ifndef NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_INL_
#define NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_INL_
#include <memory>
#include <string>
#include <vector>
namespace nt {
@@ -295,4 +299,4 @@ inline void NetworkTableEntry::RemoveListener(NT_EntryListener entry_listener) {
} // namespace nt
#endif // NT_ENTRY_INL_
#endif // NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_INL_

View File

@@ -1,12 +1,15 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2017. All Rights Reserved. */
/* Copyright (c) 2017-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#ifndef NT_INSTANCE_INL_
#define NT_INSTANCE_INL_
#ifndef NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_INL_
#define NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_INL_
#include <utility>
#include <vector>
namespace nt {
@@ -188,4 +191,4 @@ inline bool NetworkTableInstance::WaitForLoggerQueue(double timeout) {
} // namespace nt
#endif // NT_INSTANCE_INL_
#endif // NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_INL_

View File

@@ -1,12 +1,15 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2017. All Rights Reserved. */
/* Copyright (c) 2017-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#ifndef NT_RPCCALL_INL_
#define NT_RPCCALL_INL_
#ifndef NTCORE_NETWORKTABLES_RPCCALL_INL_
#define NTCORE_NETWORKTABLES_RPCCALL_INL_
#include <string>
#include <utility>
#include "ntcore_cpp.h"
@@ -45,4 +48,4 @@ inline void RpcCall::CancelResult() {
} // namespace nt
#endif // NT_RPCCALL_INL_
#endif // NTCORE_NETWORKTABLES_RPCCALL_INL_