aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2017-02-17 10:44:07 +0000
committerDaniel Jasper <djasper@google.com>2017-02-17 10:44:07 +0000
commit23c2b5ae7e26d1feea4df51438c515ee0e8823fa (patch)
tree931db4b4e513e9dc2f4ec774b0079ba440e47f2a /lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
parenta272fa8fff0674a2435603d5e8e7c095d6095483 (diff)
downloadllvm-23c2b5ae7e26d1feea4df51438c515ee0e8823fa.zip
llvm-23c2b5ae7e26d1feea4df51438c515ee0e8823fa.tar.gz
llvm-23c2b5ae7e26d1feea4df51438c515ee0e8823fa.tar.bz2
clang-format: Don't remove existing spaces between identifier and ::.
This can lead to bad behavior with macros that are used to annotate functions (e.g. ALWAYS_INLINE). Before, this: ALWAYS_INLINE ::std::string getName() ... was turned into: ALWAYS_INLINE::std::string getName() ... If it turns out that clang-format is failing to clean up a lot of the existing spaces now, we can add more analyses of the identifier. It should not currently. Cases where clang-format breaks nested name specifiers should be fine as clang-format wraps after the "::". Thus, a line getting longer and then shorter again should lead to the same original code. llvm-svn: 295437
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp')
0 files changed, 0 insertions, 0 deletions