summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-format/ClangFormat.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-09-30 13:29:01 +0000
committerManuel Klimek <klimek@google.com>2013-09-30 13:29:01 +0000
commit5843add31e1d5e66573f7b912512faaef728267b (patch)
treec18acf43c485189747f56da6bd3079dd80409f2d /clang/tools/clang-format/ClangFormat.cpp
parent38c4ef68d87e0235b71e398a20805f4d4ce1e726 (diff)
downloadbcm5719-llvm-5843add31e1d5e66573f7b912512faaef728267b.tar.gz
bcm5719-llvm-5843add31e1d5e66573f7b912512faaef728267b.zip
Fix use-after-free.
TemplateDeclInstantiator takes the MultiLevelArgumentList by const-ref and stores a const-ref member. Thus, we must not pass a temporary into the constructor. llvm-svn: 191665
Diffstat (limited to 'clang/tools/clang-format/ClangFormat.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud