[cfe-commits] r152514 - /cfe/trunk/utils/clangVisualizers.txt
Aaron Ballman
aaron at aaronballman.com
Sat Mar 10 14:28:45 PST 2012
Author: aaronballman
Date: Sat Mar 10 16:28:45 2012
New Revision: 152514
URL: http://llvm.org/viewvc/llvm-project?rev=152514&view=rev
Log:
Adding namespace qualifiers to the visualizers and improving their behavior.
Patch thanks to Nikola Smiljanic
Modified:
cfe/trunk/utils/clangVisualizers.txt
Modified: cfe/trunk/utils/clangVisualizers.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/clangVisualizers.txt?rev=152514&r1=152513&r2=152514&view=diff
==============================================================================
--- cfe/trunk/utils/clangVisualizers.txt (original)
+++ cfe/trunk/utils/clangVisualizers.txt Sat Mar 10 16:28:45 2012
@@ -43,25 +43,25 @@
preview((clang::tok::TokenKind)(int)$e.Kind)
}
-PointerIntPair<*,*,*,*>{
+llvm::PointerIntPair<*,*,*,*>{
preview (
#(
- ($T1*)($e.Value & PointerBitMask),
+ ($T1*)($e.Value & $e.PointerBitMask),
" [",
- ($T3)(($e.Value >> IntShift) & IntMask),
+ ($T3)(($e.Value >> $e.IntShift) & $e.IntMask),
"]"
)
)
children (
#(
- #([ptr] : ($T1*)($e.Value & PointerBitMask)),
- #([int] : ($T3)($e.Value >> IntShift) & IntMask)
+ #([ptr] : ($T1*)($e.Value & $e.PointerBitMask)),
+ #([int] : ($T3)($e.Value >> $e.IntShift) & $e.IntMask)
)
)
}
-PointerUnion<*,*>{
+llvm::PointerUnion<*,*>{
preview (
#if ((($e.Val.Value >> $e.Val.IntShift) & $e.Val.IntMask) == 0) (
"PT1"
@@ -81,7 +81,7 @@
)
}
-PointerUnion3<*,*,*>{
+llvm::PointerUnion3<*,*,*>{
preview (
#if (($e.Val.Val.Value & 0x2) == 2) (
"PT2"
@@ -105,7 +105,7 @@
)
}
-PointerUnion4<*,*,*,*>{
+llvm::PointerUnion4<*,*,*,*>{
preview (
#if (($e.Val.Val.Value & 0x3) == 3) (
"PT4"
More information about the cfe-commits
mailing list