Skip to content

Commit

Permalink
Update clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
ufna committed Jan 27, 2020
1 parent 12fa79e commit a0a55db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Source/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Language: Cpp
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: Always
UseTab: ForContinuationAndIndentation
Standard: Cpp11
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
Expand All @@ -17,5 +17,6 @@ ColumnLimit: 0
PointerAlignment: Left
SpacesInAngles: false
---
Language: ObjC
Language: ObjC
DisableFormat: true
...
4 changes: 2 additions & 2 deletions Source/VaFogOfWar/Private/VaFogDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ DECLARE_STATS_GROUP(TEXT("VA Fog of War"), STATGROUP_VaFog, STATCAT_Advanced);

DECLARE_LOG_CATEGORY_EXTERN(LogVaFog, Log, All);

#define VA_FUNC (FString(__FUNCTION__)) // Current Class Name + Function Name where this is called
#define VA_LINE (FString::FromInt(__LINE__)) // Current Line Number in the code where this is called
#define VA_FUNC (FString(__FUNCTION__)) // Current Class Name + Function Name where this is called
#define VA_LINE (FString::FromInt(__LINE__)) // Current Line Number in the code where this is called
#define VA_FUNC_LINE (VA_FUNC + "(" + VA_LINE + ")") // Current Class and Line Number where this is called!

0 comments on commit a0a55db

Please sign in to comment.