Home
last modified time | relevance | path

Searched refs:DerivePointerAlignment (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h1941 bool DerivePointerAlignment; member
3896 DerivePointerAlignment == R.DerivePointerAlignment &&
/llvm-project-15.0.7/clang/lib/Format/
H A DFormat.cpp628 IO.mapOptional("DerivePointerBinding", Style.DerivePointerAlignment); in mapping()
750 IO.mapOptional("DerivePointerAlignment", Style.DerivePointerAlignment); in mapping()
1248 LLVMStyle.DerivePointerAlignment = false; in getLLVMStyle()
1375 GoogleStyle.DerivePointerAlignment = true; in getGoogleStyle()
1551 ChromiumStyle.DerivePointerAlignment = false; in getChromiumStyle()
2125 if (Style.DerivePointerAlignment) { in deriveLocalStyle()
/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTest.cpp8697 Style.DerivePointerAlignment = false; in TEST_F()
10153 FormatStyle DerivePointerAlignment = getLLVMStyle(); in TEST_F() local
10154 DerivePointerAlignment.DerivePointerAlignment = true; in TEST_F()
10159 verifyFormat(Prefix + "int* x;", DerivePointerAlignment); in TEST_F()
10160 verifyFormat(Prefix + "int *x;", DerivePointerAlignment); in TEST_F()
10164 verifyFormat(Prefix + "int* x;", DerivePointerAlignment); in TEST_F()
10165 verifyFormat(Prefix + "int *x;", DerivePointerAlignment); in TEST_F()
10170 format(Prefix + "int* x;", DerivePointerAlignment)); in TEST_F()
20057 CHECK_PARSE_BOOL(DerivePointerAlignment); in TEST_F()
20058 CHECK_PARSE_BOOL_FIELD(DerivePointerAlignment, "DerivePointerBinding"); in TEST_F()
/llvm-project-15.0.7/clang/docs/
H A DClangFormatStyleOptions.rst73 DerivePointerAlignment: false
2428 **DerivePointerAlignment** (``Boolean``) :versionbadge:`clang-format 3.7`