[Bf-blender-cvs] [a32472bd314] functions: remove unnecessary semicolon

Jacques Lucke noreply at git.blender.org
Tue Aug 27 12:24:39 CEST 2019


Commit: a32472bd314c5dedd8edec6f62065577d8cb3906
Author: Jacques Lucke
Date:   Tue Aug 27 11:55:47 2019 +0200
Branches: functions
https://developer.blender.org/rBa32472bd314c5dedd8edec6f62065577d8cb3906

remove unnecessary semicolon

===================================================================

M	source/blender/blenlib/BLI_chained_strings.hpp
M	source/blender/blenlib/BLI_map.hpp
M	source/blender/blenlib/BLI_multi_vector.hpp
M	source/blender/blenlib/BLI_timeit.hpp
M	source/blender/functions/backends/cpp/cpp-c.h
M	source/blender/functions/backends/llvm/context_pool.cpp
M	source/blender/functions/backends/llvm/llvm_type_info.cpp
M	source/blender/functions/backends/tuple_call/tuple_call-c.h
M	source/blender/functions/core/core-c.h
M	source/blender/functions/core/dot_export.cpp
M	source/blender/functions/functions/color.hpp
M	source/blender/functions/types/types-c.h
M	source/blender/simulations/bparticles/attributes.cpp
M	source/blender/simulations/bparticles/c_wrapper.cpp
M	source/blender/simulations/bparticles/particle_set.cpp
M	source/blender/simulations/bparticles/simulate.hpp
M	source/blender/simulations/bparticles/step_description_interfaces.hpp
M	source/blender/simulations/bparticles/world_state.hpp

===================================================================

diff --git a/source/blender/blenlib/BLI_chained_strings.hpp b/source/blender/blenlib/BLI_chained_strings.hpp
index 1ee50d87905..7081bf7421e 100644
--- a/source/blender/blenlib/BLI_chained_strings.hpp
+++ b/source/blender/blenlib/BLI_chained_strings.hpp
@@ -73,4 +73,4 @@ class ChainedStringsBuilder {
   Vector<char, 64> m_chars;
 };
 
-};  // namespace BLI
+}  // namespace BLI
diff --git a/source/blender/blenlib/BLI_map.hpp b/source/blender/blenlib/BLI_map.hpp
index bb6541f91f9..5c8934b3abb 100644
--- a/source/blender/blenlib/BLI_map.hpp
+++ b/source/blender/blenlib/BLI_map.hpp
@@ -593,4 +593,4 @@ template<typename KeyT, typename ValueT, typename Allocator = GuardedAllocator>
 #undef ITER_SLOTS_BEGIN
 #undef ITER_SLOTS_END
 
-};  // namespace BLI
+}  // namespace BLI
diff --git a/source/blender/blenlib/BLI_multi_vector.hpp b/source/blender/blenlib/BLI_multi_vector.hpp
index 5afd25fff78..b42cf14754d 100644
--- a/source/blender/blenlib/BLI_multi_vector.hpp
+++ b/source/blender/blenlib/BLI_multi_vector.hpp
@@ -60,4 +60,4 @@ template<typename T, uint N = 4> class MultiVector {
   }
 };
 
-};  // namespace BLI
+}  // namespace BLI
diff --git a/source/blender/blenlib/BLI_timeit.hpp b/source/blender/blenlib/BLI_timeit.hpp
index 8c09b679ce0..8b84b988c5d 100644
--- a/source/blender/blenlib/BLI_timeit.hpp
+++ b/source/blender/blenlib/BLI_timeit.hpp
@@ -125,8 +125,7 @@ class ScopedTimerPerElement {
 };
 
 }  // namespace Timers
-
-};  // namespace BLI
+}  // namespace BLI
 
 #define SCOPED_TIMER(name) BLI::Timers::ScopedTimer t(name);
 
diff --git a/source/blender/functions/backends/cpp/cpp-c.h b/source/blender/functions/backends/cpp/cpp-c.h
index 4d9ee1d3ed9..ffd4fd5e696 100644
--- a/source/blender/functions/backends/cpp/cpp-c.h
+++ b/source/blender/functions/backends/cpp/cpp-c.h
@@ -25,8 +25,8 @@ FnList FN_tuple_relocate_out_list(FnTuple tuple, uint index);
 #  include "tuple.hpp"
 #  include "list.hpp"
 
-WRAPPERS(FN::Tuple *, FnTuple);
-WRAPPERS(FN::List *, FnList);
+WRAPPERS(FN::Tuple *, FnTuple)
+WRAPPERS(FN::List *, FnList)
 
 #endif /* __cplusplus */
 
diff --git a/source/blender/functions/backends/llvm/context_pool.cpp b/source/blender/functions/backends/llvm/context_pool.cpp
index 36a05bf437a..f5eebd29273 100644
--- a/source/blender/functions/backends/llvm/context_pool.cpp
+++ b/source/blender/functions/backends/llvm/context_pool.cpp
@@ -15,4 +15,4 @@ void release_llvm_context(llvm::LLVMContext *context)
   contexts.release(context);
 }
 
-};  // namespace FN
+}  // namespace FN
diff --git a/source/blender/functions/backends/llvm/llvm_type_info.cpp b/source/blender/functions/backends/llvm/llvm_type_info.cpp
index ea7dda1d130..89442721d21 100644
--- a/source/blender/functions/backends/llvm/llvm_type_info.cpp
+++ b/source/blender/functions/backends/llvm/llvm_type_info.cpp
@@ -144,4 +144,4 @@ Vector<llvm::Type *> types_of_type_infos(const Vector<LLVMTypeInfo *> &type_info
   return types;
 }
 
-};  // namespace FN
+}  // namespace FN
diff --git a/source/blender/functions/backends/tuple_call/tuple_call-c.h b/source/blender/functions/backends/tuple_call/tuple_call-c.h
index ec0754ce114..a00ea21d85c 100644
--- a/source/blender/functions/backends/tuple_call/tuple_call-c.h
+++ b/source/blender/functions/backends/tuple_call/tuple_call-c.h
@@ -44,7 +44,7 @@ void fn_tuple_prepare_stack(FnTupleCallBody body, void *buffer, FnTuple *fn_in,
 
 #  include "tuple_call.hpp"
 
-WRAPPERS(FN::TupleCallBody *, FnTupleCallBody);
+WRAPPERS(FN::TupleCallBody *, FnTupleCallBody)
 
 #endif /* __cplusplus */
 
diff --git a/source/blender/functions/core/core-c.h b/source/blender/functions/core/core-c.h
index d777b5b4af2..42cbf12e221 100644
--- a/source/blender/functions/core/core-c.h
+++ b/source/blender/functions/core/core-c.h
@@ -38,8 +38,8 @@ const char *FN_type_name(FnType type);
       return (T2)value; \
     }
 
-WRAPPERS(FN::Function *, FnFunction);
-WRAPPERS(FN::Type *, FnType);
+WRAPPERS(FN::Function *, FnFunction)
+WRAPPERS(FN::Type *, FnType)
 
 #endif /* __cplusplus */
 
diff --git a/source/blender/functions/core/dot_export.cpp b/source/blender/functions/core/dot_export.cpp
index 8440e49a0db..e68fe34c5e4 100644
--- a/source/blender/functions/core/dot_export.cpp
+++ b/source/blender/functions/core/dot_export.cpp
@@ -112,4 +112,5 @@ void DataGraphBuilder::to_dot__clipboard()
   std::string dot = this->to_dot();
   WM_clipboard_text_set(dot.c_str(), false);
 }
-};  // namespace FN
+
+}  // namespace FN
diff --git a/source/blender/functions/functions/color.hpp b/source/blender/functions/functions/color.hpp
index 4a55ea17d8b..424b4b9bf63 100644
--- a/source/blender/functions/functions/color.hpp
+++ b/source/blender/functions/functions/color.hpp
@@ -9,4 +9,4 @@ SharedFunction &GET_FN_separate_color();
 SharedFunction &GET_FN_combine_color();
 
 }  // namespace Functions
-};  // namespace FN
+}  // namespace FN
diff --git a/source/blender/functions/types/types-c.h b/source/blender/functions/types/types-c.h
index 8c3ae052c57..e84054b3e2e 100644
--- a/source/blender/functions/types/types-c.h
+++ b/source/blender/functions/types/types-c.h
@@ -9,7 +9,7 @@ extern "C" {
 
 #define TYPE_GETTERS(name) \
   FnType FN_type_get_##name(void); \
-  FnType FN_type_get_##name##_list(void);
+  FnType FN_type_get_##name##_list(void)
 
 TYPE_GETTERS(float);
 TYPE_GETTERS(int32);
diff --git a/source/blender/simulations/bparticles/attributes.cpp b/source/blender/simulations/bparticles/attributes.cpp
index 1a29ca14219..0dd48c4939d 100644
--- a/source/blender/simulations/bparticles/attributes.cpp
+++ b/source/blender/simulations/bparticles/attributes.cpp
@@ -27,4 +27,4 @@ AttributesInfo::AttributesInfo(AttributesDeclaration &builder)
 {
 }
 
-};  // namespace BParticles
+}  // namespace BParticles
diff --git a/source/blender/simulations/bparticles/c_wrapper.cpp b/source/blender/simulations/bparticles/c_wrapper.cpp
index 8fad20cd20d..e32671b4502 100644
--- a/source/blender/simulations/bparticles/c_wrapper.cpp
+++ b/source/blender/simulations/bparticles/c_wrapper.cpp
@@ -36,7 +36,7 @@ using BLI::float3;
 using BLI::StringRef;
 using BLI::Vector;
 
-WRAPPERS(SimulationState *, BParticlesSimulationState);
+WRAPPERS(SimulationState *, BParticlesSimulationState)
 
 BParticlesSimulationState BParticles_new_simulation()
 {
diff --git a/source/blender/simulations/bparticles/particle_set.cpp b/source/blender/simulations/bparticles/particle_set.cpp
index 9c40d43c8d2..150c7c69490 100644
--- a/source/blender/simulations/bparticles/particle_set.cpp
+++ b/source/blender/simulations/bparticles/particle_set.cpp
@@ -78,4 +78,4 @@ void ParticleSets::fill_elements(uint index, void *value)
   }
 }
 
-};  // namespace BParticles
+}  // namespace BParticles
diff --git a/source/blender/simulations/bparticles/simulate.hpp b/source/blender/simulations/bparticles/simulate.hpp
index ff3adeb9ae3..9a519d3fe77 100644
--- a/source/blender/simulations/bparticles/simulate.hpp
+++ b/source/blender/simulations/bparticles/simulate.hpp
@@ -18,4 +18,4 @@ void simulate_particles(SimulationState &state,
                         ArrayRef<Emitter *> emitters,
                         StringMap<ParticleTypeInfo> &types_to_simulate);
 
-};  // namespace BParticles
+}  // namespace BParticles
diff --git a/source/blender/simulations/bparticles/step_description_interfaces.hpp b/source/blender/simulations/bparticles/step_description_interfaces.hpp
index 9d121b46003..a866f4fa735 100644
--- a/source/blender/simulations/bparticles/step_description_interfaces.hpp
+++ b/source/blender/simulations/bparticles/step_description_interfaces.hpp
@@ -350,4 +350,4 @@ inline ParticleSet IntegratorInterface::particles()
   return ParticleSet(m_step_data.attributes, m_pindices);
 }
 
-};  // namespace BParticles
+}  // namespace BParticles
diff --git a/source/blender/simulations/bparticles/world_state.hpp b/source/blender/simulations/bparticles/world_state.hpp
index 77047c3ae0f..555dd5dfa76 100644
--- a/source/blender/simulations/bparticles/world_state.hpp
+++ b/source/blender/simulations/bparticles/world_state.hpp
@@ -90,4 +90,4 @@ class WorldTransition {
   }
 };
 
-};  // namespace BParticles
+}  // namespace BParticles



More information about the Bf-blender-cvs mailing list