summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/CMakeLists.txt
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-03-23 15:13:44 +0000
committerDouglas Gregor <dgregor@apple.com>2011-03-23 15:13:44 +0000
commit899b68fdf5536ba6b45941dd385d96dda563a4d1 (patch)
tree215786d3bbc0b2c249f05677d19d206598847ec7 /clang/lib/Sema/CMakeLists.txt
parentd71149a45316daef5f86cf63f8435793aeef83bf (diff)
downloadbcm5719-llvm-899b68fdf5536ba6b45941dd385d96dda563a4d1.tar.gz
bcm5719-llvm-899b68fdf5536ba6b45941dd385d96dda563a4d1.zip
Teach DelayedDiagnostic to copy its string, rather than hope that the
string itself lives longer than the DelayedDiagnostic. Fixes a recent use-after-free regression due to my availability attribute work. llvm-svn: 128148
Diffstat (limited to 'clang/lib/Sema/CMakeLists.txt')
-rw-r--r--clang/lib/Sema/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/CMakeLists.txt b/clang/lib/Sema/CMakeLists.txt
index 0d66e259d48..e1f0cb660ba 100644
--- a/clang/lib/Sema/CMakeLists.txt
+++ b/clang/lib/Sema/CMakeLists.txt
@@ -5,6 +5,7 @@ add_clang_library(clangSema
AttributeList.cpp
CodeCompleteConsumer.cpp
DeclSpec.cpp
+ DelayedDiagnostic.cpp
IdentifierResolver.cpp
JumpDiagnostics.cpp
Sema.cpp
OpenPOWER on IntegriCloud