[all-commits] [llvm/llvm-project] a53094: static const char *const foo => const char foo[]
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue Dec 1 10:33:38 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a5309438fe8d4f1212ae645bc0aaf71fdf73d028
https://github.com/llvm/llvm-project/commit/a5309438fe8d4f1212ae645bc0aaf71fdf73d028
Author: Fangrui Song <i at maskray.me>
Date: 2020-12-01 (Tue, 01 Dec 2020)
Changed paths:
M llvm/lib/Analysis/ReleaseModeModelRunner.cpp
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/IRReader/IRReader.cpp
M llvm/lib/Object/Archive.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
M llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
M llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
static const char *const foo => const char foo[]
By default, a non-template variable of non-volatile const-qualified type
having namespace-scope has internal linkage, so no need for `static`.
More information about the All-commits
mailing list