[Lldb-commits] [PATCH] D39574: Add type to FileSpec::PathSyntax enum.
Don Hinton via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 2 15:15:08 PDT 2017
hintonda created this revision.
Add type to FileSpec::PathSyntax enum to decrease size for
FileSpec on systems with 32 bit pointers.
Thanks to @zturner for pointing this out.
https://reviews.llvm.org/D39574
Files:
include/lldb/Utility/FileSpec.h
Index: include/lldb/Utility/FileSpec.h
===================================================================
--- include/lldb/Utility/FileSpec.h
+++ include/lldb/Utility/FileSpec.h
@@ -61,7 +61,7 @@
//----------------------------------------------------------------------
class FileSpec {
public:
- enum PathSyntax {
+ enum PathSyntax : unsigned char {
ePathSyntaxPosix,
ePathSyntaxWindows,
ePathSyntaxHostNative
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39574.121395.patch
Type: text/x-patch
Size: 431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171102/ebf16204/attachment.bin>
More information about the lldb-commits
mailing list