summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/bug_hash_test.cpp
diff options
context:
space:
mode:
authorGabor Horvath <xazax.hun@gmail.com>2015-12-01 09:00:41 +0000
committerGabor Horvath <xazax.hun@gmail.com>2015-12-01 09:00:41 +0000
commitfe2c0ff942e8c9f407b2e669d366eb855ba0e127 (patch)
tree84ee9c786953ecccbed0a18c36864ad444d42650 /clang/test/Analysis/bug_hash_test.cpp
parentb4a09278533a26371d89572f376bb75ff605240b (diff)
downloadbcm5719-llvm-fe2c0ff942e8c9f407b2e669d366eb855ba0e127.tar.gz
bcm5719-llvm-fe2c0ff942e8c9f407b2e669d366eb855ba0e127.zip
[analyzer] Fix IssueHash generation.
Differential Revision: http://reviews.llvm.org/D14919 Original patch by: Gyorgy Orban! llvm-svn: 254394
Diffstat (limited to 'clang/test/Analysis/bug_hash_test.cpp')
-rw-r--r--clang/test/Analysis/bug_hash_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Analysis/bug_hash_test.cpp b/clang/test/Analysis/bug_hash_test.cpp
index 4b46004dcda..b73528e88d2 100644
--- a/clang/test/Analysis/bug_hash_test.cpp
+++ b/clang/test/Analysis/bug_hash_test.cpp
@@ -288,17 +288,17 @@ void testLambda() {
// CHECK-NEXT: </array>
// CHECK-NEXT: <key>depth</key><integer>0</integer>
// CHECK-NEXT: <key>extended_message</key>
-// CHECK-NEXT: <string>debug.DumpBugHash$int f()$28$namespaceAA{$debug</string>
+// CHECK-NEXT: <string>debug.DumpBugHash$int f()$28$constexprintf(){return5;}$debug</string>
// CHECK-NEXT: <key>message</key>
-// CHECK-NEXT: <string>debug.DumpBugHash$int f()$28$namespaceAA{$debug</string>
+// CHECK-NEXT: <string>debug.DumpBugHash$int f()$28$constexprintf(){return5;}$debug</string>
// CHECK-NEXT: </dict>
// CHECK-NEXT: </array>
-// CHECK-NEXT: <key>description</key><string>debug.DumpBugHash$int f()$28$namespaceAA{$debug</string>
+// CHECK-NEXT: <key>description</key><string>debug.DumpBugHash$int f()$28$constexprintf(){return5;}$debug</string>
// CHECK-NEXT: <key>category</key><string>debug</string>
// CHECK-NEXT: <key>type</key><string>Dump hash components</string>
// CHECK-NEXT: <key>check_name</key><string>debug.DumpBugHash</string>
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
-// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>f8ee38da3de42e209c4afa886b5531ab</string>
+// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>f5471f52854dc14167fe96db50c4ba5f</string>
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
// CHECK-NEXT: <key>issue_context</key><string>f</string>
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>0</string>
OpenPOWER on IntegriCloud