History log of /external/llvm/lib/Support/YAMLTraits.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9e8eafa0f0ad36c3e4397e97b67b8245b04ba618 07-Aug-2013 Dmitri Gribenko <gribozavr@gmail.com> YAMLTraits.h: replace DenseMap that used a bad implementation of DenseMapInfo
for StringRef with a StringMap

The bug is that the empty key compares equal to the tombstone key.

Also added an assertion to DenseMap to catch similar bugs in future.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187866 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/YAMLTraits.cpp
6227d5c690504c7ada5780c00a635b282c46e275 04-Jul-2013 Craig Topper <craig.topper@gmail.com> Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/YAMLTraits.cpp
02fa38344c1cf1f27d59da5c3358d19bbb752f01 08-Jan-2013 Nick Kledzik <kledzik@apple.com> Fix memory leak in YAML I/O.

Stop using BumpPtrAllocator for HNodes because
they have fields (vector, map) which require HNode
destructors to be run.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171896 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/YAMLTraits.cpp
50c30427405142f1b587edee846606184ae6af8e 04-Jan-2013 Nick Kledzik <kledzik@apple.com> Fix how YAML I/O detects flow sequences.
Update test case to verify flow sequence is
written as a flow sequence.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171514 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/YAMLTraits.cpp
2b45dd58b22da40bb08e82d1564ccecca4a700f5 22-Dec-2012 Richard Smith <richard-llvm@metafoo.co.uk> Don't call back() on an empty SmallVector. Found by -fsanitize=enum!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170968 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/YAMLTraits.cpp
ae3ce26f995f4747516a756f73d152c7188ff43b 12-Dec-2012 Benjamin Kramer <benny.kra@googlemail.com> YAMLIO: Remove all of the template instantiation hacks, I don't see why they're necessary and it breaks linking of the unit tests.

Also comes with a clang-format run on the cpp file, it had major style violations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170036 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/YAMLTraits.cpp
1ebae9ab97c0e1e293c7c1014d10fb8a166fa649 12-Dec-2012 Nick Kledzik <kledzik@apple.com> Fix calls to getAsSignedInteger() to use long long - not int64_t

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170030 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/YAMLTraits.cpp
11b07f66b0633b838d18288141de59feb761f225 12-Dec-2012 Benjamin Kramer <benny.kra@googlemail.com> Fix the build on case sensitive file systems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170021 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/YAMLTraits.cpp
8ceb8b764f266ff00a590c88a7ecc654b13a8f0b 12-Dec-2012 Nick Kledzik <kledzik@apple.com> Initial implementation of a utility for converting native data
structures to and from YAML using traits. The first client will
be the test suite of lld. The documentation will show up at:

http://llvm.org/docs/YamlIO.html




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170019 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/YAMLTraits.cpp