Skip to content

Commit c81751d

Browse files
author
Isaac Brodsky
committed
Set consistent pointer style in .clang-format
1 parent 32b6e07 commit c81751d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.clang-format

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
BasedOnStyle: Google
22
IndentWidth: 4
3+
4+
DerivePointerAlignment: false
5+
PointerAlignment: Right

CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ cmake_minimum_required(VERSION 3.1)
1717
set(H3_PREFIX "" CACHE STRING "Prefix for exported symbols")
1818
set(H3_ALLOC_PREFIX "" CACHE STRING "Prefix for allocation functions")
1919

20+
# Do not try to append extensions to source files
21+
cmake_policy(SET CMP0115 NEW)
2022
# Needed due to CMP0042
2123
set(CMAKE_MACOSX_RPATH 1)
2224
# YCM needs compilation database

0 commit comments

Comments
 (0)