projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cf1aa5
)
Add type to FileSpec::PathSyntax enum.
author
Don Hinton
<hintonda@gmail.com>
Fri, 3 Nov 2017 14:59:36 +0000
(14:59 +0000)
committer
Don Hinton
<hintonda@gmail.com>
Fri, 3 Nov 2017 14:59:36 +0000
(14:59 +0000)
Summary:
Add type to FileSpec::PathSyntax enum to decrease size for
FileSpec on systems with 32 bit pointers.
Thanks to @zturner for pointing this out.
Differential Revision: https://reviews.llvm.org/D39574
llvm-svn: 317327
lldb/include/lldb/Utility/FileSpec.h
patch
|
blob
|
history
diff --git
a/lldb/include/lldb/Utility/FileSpec.h
b/lldb/include/lldb/Utility/FileSpec.h
index
67926d0
..
55d44d8
100644
(file)
--- a/
lldb/include/lldb/Utility/FileSpec.h
+++ b/
lldb/include/lldb/Utility/FileSpec.h
@@
-61,7
+61,7
@@
namespace lldb_private {
//----------------------------------------------------------------------
class FileSpec {
public:
- enum PathSyntax {
+ enum PathSyntax
: unsigned char
{
ePathSyntaxPosix,
ePathSyntaxWindows,
ePathSyntaxHostNative