reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Tooling/Transformer/SourceCodeBuilders.h
   53 llvm::Optional<std::string> buildParens(const Expr &E,

References

tools/clang/lib/Tooling/Transformer/Stencil.cpp
  174     Source = tooling::buildParens(*E, *Match.Context);
tools/clang/unittests/Tooling/SourceCodeBuildersTest.cpp
  140   testBuilder(buildParens, "-4;", "(-4)");
  144   testBuilder(buildParens, "4 + 4;", "(4 + 4)");
  148   testBuilder(buildParens, "4;", "4");
  152   testBuilder(buildParens, "int a[3]; a[0];", "a[0]");
  156   testBuilder(buildParens, "int f(int); f(4);", "f(4)");