summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2017-11-09 20:17:41 +0000
committerMichal Gorny <mgorny@gentoo.org>2017-11-09 20:17:41 +0000
commitfe5ae8e4712ff62c611516f32324ccfa92a232b7 (patch)
treec0ec9994710942aaf25fecec289b6de1d5b4eeb5
parentb46256b0b4ce0746b7d9c121a2572c17765cffea (diff)
downloadbcm5719-llvm-fe5ae8e4712ff62c611516f32324ccfa92a232b7.tar.gz
bcm5719-llvm-fe5ae8e4712ff62c611516f32324ccfa92a232b7.zip
[python] [tests] Update priority values in code completion test
The priority for destructors and operators was reduced in r314019. Adjust the values used in the test appropriately to fix the test failure. Differential Revision: https://reviews.llvm.org/D39838 llvm-svn: 317828
-rw-r--r--clang/bindings/python/tests/cindex/test_code_completion.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/bindings/python/tests/cindex/test_code_completion.py b/clang/bindings/python/tests/cindex/test_code_completion.py
index 357d50db513..301ad1226c8 100644
--- a/clang/bindings/python/tests/cindex/test_code_completion.py
+++ b/clang/bindings/python/tests/cindex/test_code_completion.py
@@ -68,8 +68,8 @@ void f(P x, Q y) {
cr = tu.codeComplete('fake.cpp', 13, 5, unsaved_files=files)
expected = [
"{'P', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None",
- "{'P &', ResultType} | {'operator=', TypedText} | {'(', LeftParen} | {'const P &', Placeholder} | {')', RightParen} || Priority: 34 || Availability: Available || Brief comment: None",
+ "{'P &', ResultType} | {'operator=', TypedText} | {'(', LeftParen} | {'const P &', Placeholder} | {')', RightParen} || Priority: 79 || Availability: Available || Brief comment: None",
"{'int', ResultType} | {'member', TypedText} || Priority: 35 || Availability: NotAccessible || Brief comment: None",
- "{'void', ResultType} | {'~P', TypedText} | {'(', LeftParen} | {')', RightParen} || Priority: 34 || Availability: Available || Brief comment: None"
+ "{'void', ResultType} | {'~P', TypedText} | {'(', LeftParen} | {')', RightParen} || Priority: 79 || Availability: Available || Brief comment: None"
]
check_completion_results(cr, expected)
OpenPOWER on IntegriCloud