commit | 31cf0e7c5ff8233eccef28ca22d025d7b490cb7a | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Mon Sep 12 04:00:42 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Mon Sep 12 04:00:42 2011 +0000 |
tree | 3044a4aa3ab8c250696a566a9dd0dd419dbbb846 | |
parent | 86c2e7463b34b5e281d49565bd0bbd7dc03e41ba [diff] |
Changed to using an "operator bool" instead of an "operator void*" and avoid returning a pointer to the current object. In the new "operator bool" implementation, check the filename object first since many times we have FileSpec objects with a filename, yet no directory. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139488 91177308-0d34-0410-b5e6-96231b3b80d8